(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00bb":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function n(e,t,n,r){var i,o=this._iv;o?(i=o.slice(0),this._iv=void 0):i=this._prevBlock,r.encryptBlock(i,0);for(var a=0;a=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,o+=24,o>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],a=i*o+h,c+=a/67108864|0,h=67108863&a}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,n=0!==o||a!==this.length-1?l[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,a--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var f=c[e],d=h[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:l[f-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===t,l=new e(o),c=this.clone();if(u){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,_=b>>>13,x=0|a[4],E=8191&x,C=x>>>13,D=0|a[5],S=8191&D,k=D>>>13,T=0|a[6],A=8191&T,M=T>>>13,O=0|a[7],N=8191&O,I=O>>>13,F=0|a[8],P=8191&F,L=F>>>13,R=0|a[9],B=8191&R,j=R>>>13,H=0|s[0],$=8191&H,q=H>>>13,U=0|s[1],z=8191&U,V=U>>>13,W=0|s[2],G=8191&W,K=W>>>13,X=0|s[3],Y=8191&X,J=X>>>13,Z=0|s[4],Q=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],he=8191&ce,fe=ce>>>13,de=0|s[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,$),i=Math.imul(h,q),i=i+Math.imul(f,$)|0,o=Math.imul(f,q);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,$),i=Math.imul(p,q),i=i+Math.imul(m,$)|0,o=Math.imul(m,q),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,$),i=Math.imul(v,q),i=i+Math.imul(y,$)|0,o=Math.imul(y,q),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,$),i=Math.imul(w,q),i=i+Math.imul(_,$)|0,o=Math.imul(_,q),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(E,$),i=Math.imul(E,q),i=i+Math.imul(C,$)|0,o=Math.imul(C,q),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(S,$),i=Math.imul(S,q),i=i+Math.imul(k,$)|0,o=Math.imul(k,q),r=r+Math.imul(E,z)|0,i=i+Math.imul(E,V)|0,i=i+Math.imul(C,z)|0,o=o+Math.imul(C,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(A,$),i=Math.imul(A,q),i=i+Math.imul(M,$)|0,o=Math.imul(M,q),r=r+Math.imul(S,z)|0,i=i+Math.imul(S,V)|0,i=i+Math.imul(k,z)|0,o=o+Math.imul(k,V)|0,r=r+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,ae)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,ae)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(N,$),i=Math.imul(N,q),i=i+Math.imul(I,$)|0,o=Math.imul(I,q),r=r+Math.imul(A,z)|0,i=i+Math.imul(A,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(S,G)|0,i=i+Math.imul(S,K)|0,i=i+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,J)|0,i=i+Math.imul(C,Y)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,ae)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(P,$),i=Math.imul(P,q),i=i+Math.imul(L,$)|0,o=Math.imul(L,q),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,V)|0,r=r+Math.imul(A,G)|0,i=i+Math.imul(A,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(k,Y)|0,o=o+Math.imul(k,J)|0,r=r+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,ae)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,q),i=i+Math.imul(j,$)|0,o=Math.imul(j,q),r=r+Math.imul(P,z)|0,i=i+Math.imul(P,V)|0,i=i+Math.imul(L,z)|0,o=o+Math.imul(L,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(I,G)|0,o=o+Math.imul(I,K)|0,r=r+Math.imul(A,Y)|0,i=i+Math.imul(A,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(S,Q)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,ae)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(P,G)|0,i=i+Math.imul(P,K)|0,i=i+Math.imul(L,G)|0,o=o+Math.imul(L,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,J)|0,r=r+Math.imul(A,Q)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(S,ne)|0,i=i+Math.imul(S,re)|0,i=i+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,ae)|0,i=i+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(P,Y)|0,i=i+Math.imul(P,J)|0,i=i+Math.imul(L,Y)|0,o=o+Math.imul(L,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(S,oe)|0,i=i+Math.imul(S,ae)|0,i=i+Math.imul(k,oe)|0,o=o+Math.imul(k,ae)|0,r=r+Math.imul(E,ue)|0,i=i+Math.imul(E,le)|0,i=i+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(P,Q)|0,i=i+Math.imul(P,ee)|0,i=i+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(A,oe)|0,i=i+Math.imul(A,ae)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(S,ue)|0,i=i+Math.imul(S,le)|0,i=i+Math.imul(k,ue)|0,o=o+Math.imul(k,le)|0,r=r+Math.imul(E,he)|0,i=i+Math.imul(E,fe)|0,i=i+Math.imul(C,he)|0,o=o+Math.imul(C,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(P,ne)|0,i=i+Math.imul(P,re)|0,i=i+Math.imul(L,ne)|0,o=o+Math.imul(L,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,ae)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(A,ue)|0,i=i+Math.imul(A,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(S,he)|0,i=i+Math.imul(S,fe)|0,i=i+Math.imul(k,he)|0,o=o+Math.imul(k,fe)|0,r=r+Math.imul(E,pe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(C,pe)|0,o=o+Math.imul(C,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(P,oe)|0,i=i+Math.imul(P,ae)|0,i=i+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(I,ue)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(A,he)|0,i=i+Math.imul(A,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(S,pe)|0,i=i+Math.imul(S,me)|0,i=i+Math.imul(k,pe)|0,o=o+Math.imul(k,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,ae),i=i+Math.imul(j,oe)|0,o=Math.imul(j,ae),r=r+Math.imul(P,ue)|0,i=i+Math.imul(P,le)|0,i=i+Math.imul(L,ue)|0,o=o+Math.imul(L,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(I,he)|0,o=o+Math.imul(I,fe)|0,r=r+Math.imul(A,pe)|0,i=i+Math.imul(A,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(P,he)|0,i=i+Math.imul(P,fe)|0,i=i+Math.imul(L,he)|0,o=o+Math.imul(L,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(I,pe)|0,o=o+Math.imul(I,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(P,pe)|0,i=i+Math.imul(P,me)|0,i=i+Math.imul(L,pe)|0,o=o+Math.imul(L,me)|0;var Ie=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Fe=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=_e,u[6]=xe,u[7]=Ee,u[8]=Ce,u[9]=De,u[10]=Se,u[11]=ke,u[12]=Te,u[13]=Ae,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Ie,u[18]=Fe,0!==l&&(u[19]=l,n.length++),n};function m(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=a>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new v;return r.mulp(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(p=d),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?p(this,e,t):r<63?d(this,e,t):r<1024?m(this,e,t):g(this,e,t),n},v.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},v.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=f(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);n=26-s,0!==n&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(h)),s.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(u)):(n.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function D(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new _;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return y[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;while(0!==d.cmp(s)){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;a!==r[0]&&(a=this.sqr(a)),0!==f||0!==s?(s<<=1,s|=f,u++,(u===n||0===i&&0===h)&&(a=this.mul(a,r[s]),u=0,s=0)):u=0}l=26}return a},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new D(e)},i(D,C),D.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},D.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},D.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},D.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},D.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"0145":function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},"0184":function(e,t,n){"use strict";var r=n("da3e");function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;while(tu)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},"03e2":function(e,t,n){"use strict";(function(t){var r=n("74b3"),i=n("d779"),o=n("0f22"),a=n("76da");function s(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}var u=function(e){e=e||{};var t,n=e.SecretId,r=e.SecretKey,o=e.KeyTime,a=(e.method||e.Method||"get").toLowerCase(),u=v(e.Query||e.params||{}),l=v(e.Headers||e.headers||{}),c=e.Key||"";if(e.UseRawKey?t=e.Pathname||e.pathname||"/"+c:(t=e.Pathname||e.pathname||c,0!==t.indexOf("/")&&(t="/"+t)),!n)return console.error("missing param SecretId");if(!r)return console.error("missing param SecretKey");var h=function(e,t){var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(t?s(r).toLowerCase():r);return n.sort((function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e>t?1:-1}))},f=function(e){var t,n,r,i=[],o=h(e);for(t=0;tparseInt(t[n])?1:-1;return 0},t=function(t){var n=(t.match(/Chrome\/([.\d]+)/)||[])[1],r=(t.match(/QBCore\/([.\d]+)/)||[])[1],i=(t.match(/QQBrowser\/([.\d]+)/)||[])[1],o=n&&e(n,"53.0.2785.116")<0&&r&&e(r,"3.53.991.400")<0&&i&&e(i,"9.0.2524.400")<=0||!1;return o};return t(navigator&&navigator.userAgent)}(),d=function(e,t,n,r,i){var o;if(e.slice?o=e.slice(t,n):e.mozSlice?o=e.mozSlice(t,n):e.webkitSlice&&(o=e.webkitSlice(t,n)),r&&f){var a=new FileReader;a.onload=function(e){o=null,i(new Blob([a.result]))},a.readAsArrayBuffer(o)}else i(o)},p=function(e,t,n,r){n=n||l,e?"string"===typeof t?n(F.md5(t,!0)):Blob&&t instanceof Blob?F.getFileMd5(t,(function(e,t){n(t)}),r):n():n()},m=1048576,g=function(e,t,n){var i=e.size,o=0,a=r.getCtx(),s=function(r){if(r>=i){var u=a.digest("hex");t(null,u)}else{var l=Math.min(i,r+m);F.fileSlice(e,r,l,!1,(function(e){h(e,(function(t){e=null,a=a.update(t,!0),o+=t.length,t=null,n&&n({loaded:o,total:i,percent:Math.round(o/i*1e4)/1e4}),s(r+m)}))}))}};s(0)};function v(e){return C(e,(function(e){return"object"===typeof e&&null!==e?v(e):e}))}function y(e,t,n){return e&&t in e?e[t]:n}function b(e,t){return E(t,(function(n,r){e[r]=t[r]})),e}function w(e){return e instanceof Array}function _(e,t){for(var n=!1,r=0;r-1||"deleteMultipleObject"===e||"multipartList"===e||"listObjectVersions"===e){if(!n)return"Bucket";if(!r)return"Region"}else if(e.indexOf("Object")>-1||e.indexOf("multipart")>-1||"sliceUploadFile"===e||"abortUploadTask"===e){if(!n)return"Bucket";if(!r)return"Region";if(!i)return"Key"}return!1},A=function(e,t){if(t=b({},t),"getAuth"!==e&&"getV4Auth"!==e&&"getObjectUrl"!==e){var n=t.Headers||{};if(t&&"object"===typeof t){(function(){for(var e in t)t.hasOwnProperty(e)&&e.indexOf("x-cos-")>-1&&(n[e]=t[e])})();var r={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext"};F.each(r,(function(e,r){void 0!==t[e]&&(n[r]=t[e])})),t.Headers=c(n)}}return t},M=function(e,n){return function(r,i){var o=this;"function"===typeof r&&(i=r,r={}),r=A(e,r);var a=function(e){return e&&e.headers&&(e.headers["x-cos-version-id"]&&(e.VersionId=e.headers["x-cos-version-id"]),e.headers["x-cos-delete-marker"]&&(e.DeleteMarker=e.headers["x-cos-delete-marker"])),e},s=function(e,t){i&&i(a(e),a(t))},u=function(){if("getService"!==e&&"abortUploadTask"!==e){var t=T(e,r);if(t)return"missing param "+t;if(r.Region){if(r.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(r.Region))return"Region format error.";o.options.CompatibilityMode||-1!==r.Region.indexOf("-")||"yfb"===r.Region||"default"===r.Region||console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(r.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(r.Bucket))if(r.AppId)r.Bucket=r.Bucket+"-"+r.AppId;else{if(!o.options.AppId)return'Bucket should format as "test-1250000000".';r.Bucket=r.Bucket+"-"+o.options.AppId}r.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete r.AppId)}!o.options.UseRawKey&&r.Key&&"/"===r.Key.substr(0,1)&&(r.Key=r.Key.substr(1))}},l=u(),c="getAuth"===e||"getObjectUrl"===e,h=t.Promise;if(!c&&h&&!i)return new h((function(e,t){if(i=function(n,r){n?t(n):e(r)},l)return s({error:l});n.call(o,r,s)}));if(l)return s({error:l});var f=n.call(o,r,s);return c?f:void 0}},O=function(e,t){var n,r,i=this,o=0,a=0,s=Date.now();function u(){if(r=0,t&&"function"===typeof t){n=Date.now();var i,u=Math.max(0,Math.round((a-o)/((n-s)/1e3)*100)/100)||0;i=0===a&&0===e?1:Math.floor(a/e*100)/100||0,s=n,o=a;try{t({loaded:a,total:e,speed:u,percent:i})}catch(l){}}}return function(t,n){if(t&&(a=t.loaded,e=t.total),n)clearTimeout(r),u();else{if(r)return;r=setTimeout(u,i.options.ProgressInterval)}}},N=function(e,t,n){var r;"string"===typeof t.Body?t.Body=new Blob([t.Body],{type:"text/plain"}):t.Body instanceof ArrayBuffer&&(t.Body=new Blob([t.Body])),t.Body&&(t.Body instanceof Blob||"[object File]"===t.Body.toString()||"[object Blob]"===t.Body.toString())?(r=t.Body.size,t.ContentLength=r,n(null,r)):n({error:"params body format error, Only allow File|Blob|String."})},I=function(e){return Date.now()+(e||0)},F={noop:l,formatParams:A,apiWrapper:M,xml2json:o,json2xml:a,md5:r,clearKey:c,fileSlice:d,getBodyMd5:p,getFileMd5:g,binaryBase64:S,extend:b,isArray:w,isInArray:_,makeArray:x,each:E,map:C,filter:D,clone:v,attr:y,uuid:k,camSafeUrlEncode:s,throttleOnProgress:O,getFileSize:N,getSkewTime:I,getAuth:u,isBrowser:!0};e.exports=F}).call(this,n("c8ba"))},"04ce":function(e,t){var n=Object.prototype,r=n.toString;function i(e){return r.call(e)}e.exports=i},"051a":function(e,t,n){var r=s(n("64b2")),i=u(r);t.XML=d(r,i);var o=s(n("f0f2")),a=u(o);function s(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function u(e){var t=[],n=[];return Object.keys(e).forEach((function(e){1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.HTML=d(o,a);var l=/[^\0-\x7F]/g,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function h(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function f(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=1024*(t-55296)+n-56320+65536;return"&#x"+r.toString(16).toUpperCase()+";"}function d(e,t){function n(t){return e[t]}return function(e){return e.replace(t,n).replace(c,f).replace(l,h)}}var p=u(r);function m(e){return e.replace(p,h).replace(c,f).replace(l,h)}t.escape=m},"051b":function(e,t,n){var r=n("1a14"),i=n("10db");e.exports=n("0bad")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"0577":function(e,t,n){var r=n("78ff");function i(e,t){var n=[];return r(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}e.exports=i},"057f":function(e,t,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},"05d2":function(e,t,n){var r=n("bb96");function i(e){return"function"==typeof e?e:r}e.exports=i},"05f0":function(e,t,n){"use strict";var r=n("d113").codes.ERR_INVALID_OPT_VALUE;function i(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}function o(e,t,n,o){var a=i(t,o,n);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0){var s=o?n:"highWaterMark";throw new r(s,a)}return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:o}},"05f5":function(e,t,n){var r=n("7a41"),i=n("ef08").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"0632":function(e,t,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"0683":function(e,t,n){var r=n("0371"),i=1/0;function o(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}e.exports=o},"06cf":function(e,t,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),u=n("5135"),l=n("0cfb"),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(n){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},"072d":function(e,t,n){"use strict";var r=n("0bad"),i=n("9876"),o=n("fed5"),a=n("1917"),s=n("0983"),u=n("9fbb"),l=Object.assign;e.exports=!l||n("4b8b")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){var n=s(e),l=arguments.length,c=1,h=o.f,f=a.f;while(l>c){var d,p=u(arguments[c++]),m=h?i(p).concat(h(p)):i(p),g=m.length,v=0;while(g>v)d=m[v++],r&&!f.call(p,d)||(n[d]=p[d])}return n}:l},"0750":function(e,t,n){var r=n("5c2a"),i=n("3229"),o=n("81e4"),a="__lodash_placeholder__",s=1,u=2,l=4,c=8,h=128,f=256,d=Math.min;function p(e,t){var n=e[1],p=t[1],m=n|p,g=m<(s|u|h),v=p==h&&n==c||p==h&&n==f&&e[7].length<=t[8]||p==(h|f)&&t[7].length<=t[8]&&n==c;if(!g&&!v)return e;p&s&&(e[2]=t[2],m|=n&s?0:l);var y=t[3];if(y){var b=e[3];e[3]=b?r(b,y,t[4]):y,e[4]=b?o(e[3],a):t[4]}return y=t[5],y&&(b=e[5],e[5]=b?i(b,y,t[6]):y,e[6]=b?o(e[5],a):t[6]),y=t[7],y&&(e[7]=y),p&h&&(e[8]=null==e[8]?t[8]:d(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=m,e}e.exports=p},"07f2":function(e,t,n){"use strict";var r=n("c3c0"),i=n("6eed");function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},"0852":function(e,t){var n=9007199254740991;function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}e.exports=r},"087f":function(e,t,n){var r=n("3fb5"),i=n("b672"),o=n("8707").Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function h(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t=this._w,n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,u=0;u<16;++u)t[u]=e.readInt32BE(4*u);for(;u<80;++u)t[u]=t[u-3]^t[u-8]^t[u-14]^t[u-16];for(var f=0;f<80;++f){var d=~~(f/20),p=l(n)+h(d,r,i,o)+s+t[f]+a[d]|0;s=o,o=i,i=c(r),r=n,n=p}this._a=n+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},"08d2":function(e,t,n){var r=n("da64"),i=n("9055"),o=n("6fa9"),a=1;function s(e,t,n,s){var u=t&a,l=i(e);function c(){var t=-1,i=arguments.length,a=-1,h=s.length,f=Array(h+i),d=this&&this!==o&&this instanceof c?l:e;while(++a=0;i--)t===r[i]&&r.splice(i,1)},e.emit=function(e,t){for(var r=n(e).map((function(e){return e})),i=0;il)u.call(e,a=s[l++])&&t.push(a)}return t}},"0ae3":function(e,t,n){"use strict";e.exports=i;var r=n("09dc");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n("3fb5")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},"0b99":function(e,t,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0be8":function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},"0bfb":function(e,t,n){var r,i,o,a,s=!1,u=!1,l=n("115b")("parse"),c=n("c415");function h(e,t){var n,s;t||(t={}),r=!!t.comments,o=!!t.position,i=0,a=Array.isArray(e)?e.slice():c(e);var h,f=[];u&&(n=Date.now());while(h=d())s=_(h),s&&f.push(s);return u&&l("ran in",Date.now()-n+"ms"),{type:"stylesheet",stylesheet:{rules:f}}}function f(e,t){var n;t||(t={});for(var r=["type","name","value"],i={},a=0;au&&(l=l.slice(0,u)),e?c+l:l+c)}};e.exports={start:s(!1),end:s(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),o=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(e,t,n){var r=n("d039"),i=n("b622"),o=n("c430"),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0da4":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o={};function a(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t=0;n--){var i=r[n][2];(!i||i+s=0;i--){var o=r[i];o[0]===e&&o[1]===t&&r.splice(i,1)}r.unshift([e,t,Math.round(Date.now()/1e3)]),r.length>n&&r.splice(n),h()}},removeUploadId:function(e){c(),delete f.using[e];for(var t=r.length-1;t>=0;t--)r[t][1]===e&&r.splice(t,1);h()}};e.exports=f},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var r=n("597f");e.exports=function(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}},"0e29":function(e,t,n){var r=n("da0a"),i=Object.prototype,o=i.hasOwnProperty;function a(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}e.exports=a},"0e54":function(e,t,n){(function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return r=e[Symbol.iterator](),r.next.bind(r)}function o(e,t){return t={exports:{}},e(t,t.exports),t.exports}var a=o((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function n(t){e.exports.defaults=t}e.exports={defaults:t(),getDefaults:t,changeDefaults:n}})),s=(a.defaults,a.getDefaults,a.changeDefaults,/[&<>"']/),u=/[&<>"']/g,l=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,h={"&":"&","<":"<",">":">",'"':""","'":"'"},f=function(e){return h[e]};function d(e,t){if(t){if(s.test(e))return e.replace(u,f)}else if(l.test(e))return e.replace(c,f);return e}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function m(e){return e.replace(p,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var g=/(^|[^\[])\^/g;function v(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=r.source||r,r=r.replace(g,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n}var y=/[^\w:]/g,b=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function w(e,t,n){if(e){var r;try{r=decodeURIComponent(m(n)).replace(y,"").toLowerCase()}catch(i){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!b.test(n)&&(n=D(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(i){return null}return n}var _={},x=/^[^:]+:\/*[^/]*$/,E=/^([^:]+:)[\s\S]*$/,C=/^([^:]+:\/*[^/]*)[\s\S]*$/;function D(e,t){_[" "+e]||(x.test(e)?_[" "+e]=e+"/":_[" "+e]=A(e,"/",!0)),e=_[" "+e];var n=-1===e.indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(E,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(C,"$1")+t:e+t}var S={exec:function(){}};function k(e){for(var t,n,r=1;r=0&&"\\"===n[i])r=!r;return r?"|":" |"})),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else while(r.length1)1&t&&(n+=e),t>>=1,e+=e;return n+e}var I={escape:d,unescape:m,edit:v,cleanUrl:w,resolveUrl:D,noopTest:S,merge:k,splitCells:T,rtrim:A,findClosingBracket:M,checkSanitizeDeprecation:O,repeatString:N},F=a.defaults,P=I.rtrim,L=I.splitCells,R=I.escape,B=I.findClosingBracket;function j(e,t,n){var r=t.href,i=t.title?R(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:o}:{type:"image",raw:n,href:r,title:i,text:R(o)}}function H(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var n=t[0];return n.length>=r.length?e.slice(r.length):e})).join("\n")}var $=function(){function e(e){this.options=e||F}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var n=this.rules.block.code.exec(e);if(n){var r=t[t.length-1];if(r&&"paragraph"===r.type)return{raw:n[0],text:n[0].trimRight()};var i=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:P(i,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=H(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:L(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,a,s,u,l,c=t[0],h=t[2],f=h.length>1,d={type:"list",raw:c,ordered:f,start:f?+h.slice(0,-1):"",loose:!1,items:[]},p=t[0].match(this.rules.block.item),m=!1,g=p.length;i=this.rules.block.listItemStart.exec(p[0]);for(var v=0;vi[0].length||o[1].length>3){p.splice(v,2,p[v]+"\n"+p[v+1]),v--,g--;continue}(!this.options.pedantic||this.options.smartLists?o[2][o[2].length-1]!==h[h.length-1]:f===(1===o[2].length))&&(a=p.slice(v+1).join("\n"),d.raw=d.raw.substring(0,d.raw.length-a.length),v=g-1),i=o}r=n.length,n=n.replace(/^ *([*+-]|\d+[.)]) ?/,""),~n.indexOf("\n ")&&(r-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+r+"}","gm"),"")),s=m||/\n\n(?!\s*$)/.test(n),v!==g-1&&(m="\n"===n.charAt(n.length-1),s||(s=m)),s&&(d.loose=!0),this.options.gfm&&(u=/^\[[ xX]\] /.test(n),l=void 0,u&&(l=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),d.items.push({type:"list_item",raw:c,task:u,checked:l,loose:s,text:n})}return d}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):R(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));var n=t[1].toLowerCase().replace(/\s+/g," ");return{tag:n,raw:t[0],href:t[2],title:t[3]}}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:L(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,i=n.align.length;for(r=0;r/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):R(r[0]):r[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var n=B(t[2],"()");if(n>-1){var r=0===t[0].indexOf("!")?5:4,i=r+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,i).trim(),t[3]=""}var o=t[2],a="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s?(o=s[1],a=s[3]):a=""}else a=t[3]?t[3].slice(1,-1):"";o=o.trim().replace(/^<([\s\S]*)>$/,"$1");var u=j(t,{href:o?o.replace(this.rules.inline._escapes,"$1"):o,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0]);return u}},t.reflink=function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(r=t[r.toLowerCase()],!r||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}var o=j(n,r,n[0]);return o}},t.strong=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.strong.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,o="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;o.lastIndex=0;while(null!=(r=o.exec(t)))if(i=this.rules.inline.strong.middle.exec(t.slice(0,r.index+3)),i)return{type:"strong",raw:e.slice(0,i[0].length),text:e.slice(2,i[0].length-2)}}},t.em=function(e,t,n){void 0===n&&(n="");var r=this.rules.inline.em.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,o="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;o.lastIndex=0;while(null!=(r=o.exec(t)))if(i=this.rules.inline.em.middle.exec(t.slice(0,r.index+2)),i)return{type:"em",raw:e.slice(0,i[0].length),text:e.slice(1,i[0].length-1)}}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=n.startsWith(" ")&&n.endsWith(" ");return r&&i&&(n=n.substring(1,n.length-1)),n=R(n,!0),{type:"codespan",raw:t[0],text:n}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}},t.autolink=function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return"@"===i[2]?(n=R(this.options.mangle?t(i[1]):i[1]),r="mailto:"+n):(n=R(i[1]),r=n),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}},t.url=function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])r=R(this.options.mangle?t(n[0]):n[0]),i="mailto:"+r;else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=R(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}},t.inlineText=function(e,t,n){var r,i=this.rules.inline.text.exec(e);if(i)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):R(i[0]):i[0]:R(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}},e}(),q=I.noopTest,U=I.edit,z=I.merge,V={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};V.def=U(V.def).replace("label",V._label).replace("title",V._title).getRegex(),V.bullet=/(?:[*+-]|\d{1,9}[.)])/,V.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,V.item=U(V.item,"gm").replace(/bull/g,V.bullet).getRegex(),V.listItemStart=U(/^( *)(bull)/).replace("bull",V.bullet).getRegex(),V.list=U(V.list).replace(/bull/g,V.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+V.def.source+")").getRegex(),V._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",V._comment=/|$)/,V.html=U(V.html,"i").replace("comment",V._comment).replace("tag",V._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),V.paragraph=U(V._paragraph).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",V._tag).getRegex(),V.blockquote=U(V.blockquote).replace("paragraph",V.paragraph).getRegex(),V.normal=z({},V),V.gfm=z({},V.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),V.gfm.nptable=U(V.gfm.nptable).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",V._tag).getRegex(),V.gfm.table=U(V.gfm.table).replace("hr",V.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",V._tag).getRegex(),V.pedantic=z({},V.normal,{html:U("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",V._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:q,paragraph:U(V.normal._paragraph).replace("hr",V.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",V.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:q,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~"};W.punctuation=U(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",W._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",W._comment=U(V._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),W.em.start=U(W.em.start).replace(/punctuation/g,W._punctuation).getRegex(),W.em.middle=U(W.em.middle).replace(/punctuation/g,W._punctuation).replace(/overlapSkip/g,W._overlapSkip).getRegex(),W.em.endAst=U(W.em.endAst,"g").replace(/punctuation/g,W._punctuation).getRegex(),W.em.endUnd=U(W.em.endUnd,"g").replace(/punctuation/g,W._punctuation).getRegex(),W.strong.start=U(W.strong.start).replace(/punctuation/g,W._punctuation).getRegex(),W.strong.middle=U(W.strong.middle).replace(/punctuation/g,W._punctuation).replace(/overlapSkip/g,W._overlapSkip).getRegex(),W.strong.endAst=U(W.strong.endAst,"g").replace(/punctuation/g,W._punctuation).getRegex(),W.strong.endUnd=U(W.strong.endUnd,"g").replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=U(W._blockSkip,"g").getRegex(),W.overlapSkip=U(W._overlapSkip,"g").getRegex(),W._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,W._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,W._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,W.autolink=U(W.autolink).replace("scheme",W._scheme).replace("email",W._email).getRegex(),W._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,W.tag=U(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=U(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=U(W.reflink).replace("label",W._label).getRegex(),W.reflinkSearch=U(W.reflinkSearch,"g").replace("reflink",W.reflink).replace("nolink",W.nolink).getRegex(),W.normal=z({},W),W.pedantic=z({},W.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:U(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:U(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=z({},W.normal,{escape:U(W.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var ee=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||K,this.options.tokenizer=this.options.tokenizer||new $,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:X.normal,inline:Y.normal};this.options.pedantic?(t.block=X.pedantic,t.inline=Y.pedantic):this.options.gfm&&(t.block=X.gfm,this.options.breaks?t.inline=Y.breaks:t.inline=Y.gfm),this.tokenizer.rules=t}e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.lexInline=function(t,n){var r=new e(n);return r.inlineTokens(t)};var n=e.prototype;return n.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},n.blockTokens=function(e,t,n){var r,i,o,a;void 0===t&&(t=[]),void 0===n&&(n=!0),e=e.replace(/^ +$/gm,"");while(e)if(r=this.tokenizer.space(e))e=e.substring(r.raw.length),r.type&&t.push(r);else if(r=this.tokenizer.code(e,t))e=e.substring(r.raw.length),r.type?t.push(r):(a=t[t.length-1],a.raw+="\n"+r.raw,a.text+="\n"+r.text);else if(r=this.tokenizer.fences(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.heading(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.nptable(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.hr(e))e=e.substring(r.raw.length),t.push(r);else if(r=this.tokenizer.blockquote(e))e=e.substring(r.raw.length),r.tokens=this.blockTokens(r.text,[],n),t.push(r);else if(r=this.tokenizer.list(e)){for(e=e.substring(r.raw.length),o=r.items.length,i=0;i0)while(null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(u)))l.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(u=u.slice(0,o.index)+"["+J("a",o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}while(null!=(o=this.tokenizer.rules.inline.blockSkip.exec(u)))u=u.slice(0,o.index)+"["+J("a",o[0].length-2)+"]"+u.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while(e)if(a||(s=""),a=!1,i=this.tokenizer.escape(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.tag(e,n,r))e=e.substring(i.raw.length),n=i.inLink,r=i.inRawBlock,t.push(i);else if(i=this.tokenizer.link(e))e=e.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),t.push(i);else if(i=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,r)),t.push(i);else if(i=this.tokenizer.strong(e,u,s))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.em(e,u,s))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.codespan(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.br(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.del(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],n,r),t.push(i);else if(i=this.tokenizer.autolink(e,Q))e=e.substring(i.raw.length),t.push(i);else if(n||!(i=this.tokenizer.url(e,Q))){if(i=this.tokenizer.inlineText(e,r,Z))e=e.substring(i.raw.length),s=i.raw.slice(-1),a=!0,t.push(i);else if(e){var c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}throw new Error(c)}}else e=e.substring(i.raw.length),t.push(i);return t},t(e,null,[{key:"rules",get:function(){return{block:X,inline:Y}}}]),e}(),te=a.defaults,ne=I.cleanUrl,re=I.escape,ie=function(){function e(e){this.options=e||te}var t=e.prototype;return t.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'
'+(n?e:re(e,!0))+"
\n":"
"+(n?e:re(e,!0))+"
\n"},t.blockquote=function(e){return"
\n"+e+"
\n"},t.html=function(e){return e},t.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},t.hr=function(){return this.options.xhtml?"
\n":"
\n"},t.list=function(e,t,n){var r=t?"ol":"ul",i=t&&1!==n?' start="'+n+'"':"";return"<"+r+i+">\n"+e+"\n"},t.listitem=function(e){return"
  • "+e+"
  • \n"},t.checkbox=function(e){return" "},t.paragraph=function(e){return"

    "+e+"

    \n"},t.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},t.tablerow=function(e){return"\n"+e+"\n"},t.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' align="'+t.align+'">':"<"+n+">";return r+e+"\n"},t.strong=function(e){return""+e+""},t.em=function(e){return""+e+""},t.codespan=function(e){return""+e+""},t.br=function(){return this.options.xhtml?"
    ":"
    "},t.del=function(e){return""+e+""},t.link=function(e,t,n){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r='",r},t.image=function(e,t,n){if(e=ne(this.options.sanitize,this.options.baseUrl,e),null===e)return n;var r=''+n+'":">",r},t.text=function(e){return e},e}(),oe=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,n){return""+n},t.image=function(e,t,n){return""+n},t.br=function(){return""},e}(),ae=function(){function e(){this.seen={}}var t=e.prototype;return t.serialize=function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},t.getNextSafeSlug=function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{r++,n=e+"-"+r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n},t.slug=function(e,t){void 0===t&&(t={});var n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)},e}(),se=a.defaults,ue=I.unescape,le=function(){function e(e){this.options=e||se,this.options.renderer=this.options.renderer||new ie,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new oe,this.slugger=new ae}e.parse=function(t,n){var r=new e(n);return r.parse(t)},e.parseInline=function(t,n){var r=new e(n);return r.parseInline(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var n,r,i,o,a,s,u,l,c,h,f,d,p,m,g,v,y,b,w="",_=e.length;for(n=0;n<_;n++)switch(h=e[n],h.type){case"space":continue;case"hr":w+=this.renderer.hr();continue;case"heading":w+=this.renderer.heading(this.parseInline(h.tokens),h.depth,ue(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue;case"code":w+=this.renderer.code(h.text,h.lang,h.escaped);continue;case"table":for(l="",u="",o=h.header.length,r=0;r0&&"text"===g.tokens[0].type?(g.tokens[0].text=b+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=b+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:b}):m+=b),m+=this.parse(g.tokens,p),c+=this.renderer.listitem(m,y,v);w+=this.renderer.list(c,f,d);continue;case"html":w+=this.renderer.html(h.text);continue;case"paragraph":w+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":c=h.tokens?this.parseInline(h.tokens):h.text;while(n+1<_&&"text"===e[n+1].type)h=e[++n],c+="\n"+(h.tokens?this.parseInline(h.tokens):h.text);w+=t?this.renderer.paragraph(c):c;continue;default:var x='Token with "'+h.type+'" type was not found.';if(this.options.silent)return void console.error(x);throw new Error(x)}return w},t.parseInline=function(e,t){t=t||this.renderer;var n,r,i="",o=e.length;for(n=0;nAn error occurred:

    "+fe(u.message+"",!0)+"
    ";throw u}}ge.options=ge.setOptions=function(e){return ce(ge.defaults,e),pe(ge.defaults),ge},ge.getDefaults=de,ge.defaults=me,ge.use=function(e){var t=ce({},e);if(e.renderer&&function(){var n=ge.defaults.renderer||new ie,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;aAn error occurred:

    "+fe(r.message+"",!0)+"
    ";throw r}},ge.Parser=le,ge.parser=le.parse,ge.Renderer=ie,ge.TextRenderer=oe,ge.Lexer=ee,ge.lexer=ee.lex,ge.Tokenizer=$,ge.Slugger=ae,ge.parse=ge;var ve=ge;return ve}))},"0f22":function(e,t,n){var r=n("29d8").DOMParser,i=function(){this.version="1.3.5";var e={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=new RegExp(/(?!xmlns)^.*:/);new RegExp(/^\s+|\s+$/g);return this.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){var n=this.stringToXML(e);return n.getElementsByTagName("parsererror").length?null:this.parseXML(n,t)}return null},this.parseXML=function(n,r){for(var o in r)e[o]=r[o];var a={},s=0,u="",l=n.childNodes.length;if(l)for(var c,h,f,d=0;d=t.length){o++;break}var a=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}function d(e,t){e=c.from(e),t=c.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;while(++id||new a(t).cmp(u.modulus)>=0)throw new Error("decryption error");o=n?l(new a(t),u):s(t,u);var p=c.alloc(d-o.length);if(o=c.concat([p,o],d),4===i)return h(u,o);if(1===i)return f(u,o,n);if(3===i)return o;throw new Error("unknown padding")}},"0f7c":function(e,t,n){},"0f94":function(e,t,n){var r=e.exports;[n("68b4"),n("26f9"),n("7a39"),n("733c"),n("9f20"),n("f67e")].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},"0fae":function(e,t,n){},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=u(r),o=n("f893"),a=u(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function u(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10b7":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){ /** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ return function(t){var n=e,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=i.create([0,1518500249,1859775393,2400959708,2840853838]),f=i.create([1352829926,1548603684,1836072691,2053994217,0]),d=a.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,a,d,w,_,x,E,C,D,S,k,T=this._hash.words,A=h.words,M=f.words,O=s.words,N=u.words,I=l.words,F=c.words;x=o=T[0],E=a=T[1],C=d=T[2],D=w=T[3],S=_=T[4];for(n=0;n<80;n+=1)k=o+e[t+O[n]]|0,k+=n<16?p(a,d,w)+A[0]:n<32?m(a,d,w)+A[1]:n<48?g(a,d,w)+A[2]:n<64?v(a,d,w)+A[3]:y(a,d,w)+A[4],k|=0,k=b(k,I[n]),k=k+_|0,o=_,_=w,w=b(d,10),d=a,a=k,k=x+e[t+N[n]]|0,k+=n<16?y(E,C,D)+M[0]:n<32?v(E,C,D)+M[1]:n<48?g(E,C,D)+M[2]:n<64?m(E,C,D)+M[3]:p(E,C,D)+M[4],k|=0,k=b(k,F[n]),k=k+S|0,x=S,S=D,D=b(C,10),C=E,E=k;k=T[1]+d+D|0,T[1]=T[2]+w+S|0,T[2]=T[3]+_+x|0,T[3]=T[4]+o+E|0,T[4]=T[0]+a+C|0,T[0]=k},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function p(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function b(e,t){return e<>>32-t}n.RIPEMD160=o._createHelper(d),n.HmacRIPEMD160=o._createHmacHelper(d)}(Math),e.RIPEMD160}))},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"111b":function(e,t,n){(function(e){e(n("56b3"),n("7b00"))})((function(e){"use strict";var t={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};e.registerHelper("hint","css",(function(n){var r=n.getCursor(),i=n.getTokenAt(r),o=e.innerMode(n.getMode(),i.state);if("css"==o.mode.name){if("keyword"==i.type&&0=="!important".indexOf(i.string))return{list:["!important"],from:e.Pos(r.line,i.start),to:e.Pos(r.line,i.end)};var a=i.start,s=r.ch,u=i.string.slice(0,s-a);/[^\w$_-]/.test(u)&&(u="",a=s=r.ch);var l=e.resolveMode("text/css"),c=[],h=o.state.state;return"pseudo"==h||"variable-3"==i.type?f(t):"block"==h||"maybeprop"==h?f(l.propertyKeywords):"prop"==h||"parens"==h||"at"==h||"params"==h?(f(l.valueKeywords),f(l.colorKeywords)):"media"!=h&&"media_parens"!=h||(f(l.mediaTypes),f(l.mediaFeatures)),c.length?{list:c,from:e.Pos(r.line,a),to:e.Pos(r.line,s)}:void 0}function f(e){for(var t in e)u&&0!=t.lastIndexOf(u,0)||c.push(t)}}))}))},1132:function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.enc;i.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o>>2]>>>24-o%4*8&255,s=t[o+1>>>2]>>>24-(o+1)%4*8&255,u=t[o+2>>>2]>>>24-(o+2)%4*8&255,l=a<<16|s<<8|u,c=0;c<4&&o+.75*c>>6*(3-c)&63));var h=r.charAt(64);if(h)while(i.length%4)i.push(h);return i.join("")},parse:function(e){var t=e.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var i=0;i>>6-a%4*2,l=s|u;i[o>>>2]|=l<<24-o%4*8,o++}return r.create(i,o)}}(),e.enc.Base64}))},1148:function(e,t,n){"use strict";var r=n("a691"),i=n("1d80");e.exports="".repeat||function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},"115b":function(e,t,n){(function(t){function n(e){return r.bind(null,e)}function r(e){var n=[].slice.call(arguments,1);n.unshift("["+e+"]"),t.stderr.write(n.join(" ")+"\n")}e.exports=n}).call(this,n("4362"))},"116d":function(e,t,n){e.exports=n("b4e8")},"11dc":function(e,t,n){"use strict";(function(t,r){var i=65536,o=4294967295;function a(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var s=n("8707").Buffer,u=t.crypto||t.msCrypto;function l(e,t){if(e>o)throw new RangeError("requested too many random bytes");var n=s.allocUnsafe(e);if(e>0)if(e>i)for(var a=0;a1||"".split(/.?/).length?function(e,n){var r=String(a(this)),o=void 0===n?m:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,o);var s,u,l,c=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,g=new RegExp(e.source,f+"g");while(s=h.call(g,r)){if(u=g.lastIndex,u>p&&(c.push(r.slice(p,s.index)),s.length>1&&s.index=o))break;g.lastIndex===s.index&&g.lastIndex++}return p===r.length?!l&&g.test("")||c.push(""):c.push(r.slice(p)),c.length>o?c.slice(0,o):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a(this),o=void 0==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var h=o(e),f=String(this),d=s(h,RegExp),v=h.unicode,y=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(g?"y":"g"),b=new d(g?h:"^(?:"+h.source+")",y),w=void 0===i?m:i>>>0;if(0===w)return[];if(0===f.length)return null===c(b,f)?[f]:[];var _=0,x=0,E=[];while(x1?"& ":"")+t[i],t=t.join(r>2?", ":" "),e.replace(n,"{\n/* [wrapped with "+t+"] */\n")}e.exports=r},"12f2":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},1365:function(e,t,n){var r=n("c5b3"),i=n("0c0e");function o(e){return r(e,i(e))}e.exports=o},1382:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,i=t.algo,o=[],a=[],s=[],u=i.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var o=t.words,a=o[0],s=o[1],u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=u>>>16|4294901760&c,f=c<<16|65535&u;i[0]^=u,i[1]^=h,i[2]^=c,i[3]^=f,i[4]^=u,i[5]^=h,i[6]^=c,i[7]^=f;for(n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=u^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.Rabbit=r._createHelper(u)}(),e.Rabbit}))},"13c0":function(e,t,n){var r=n("3ac1");function i(e){return r(this,e).has(e)}e.exports=i},"13e2":function(e,t,n){"use strict";var r=n("c3c0"),i=n("edc9"),o=n("aa56"),a=r.rotl32,s=r.sum32,u=r.sum32_5,l=o.ft_1,c=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(f,c),e.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r0&&n(c)?t>1?o(c,t-1,n,a,s):r(s,c):a||(s[s.length]=c)}return s}e.exports=o},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),o=n("ae40"),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"17e1":function(e,t,n){(function(t,r){e.exports=r(n("21bf"))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,i=r.init,o=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r>>2]|=e[r]<<24-r%4*8;i.call(this,n,t)}else i.apply(this,arguments)};o.prototype=r}}(),e.lib.WordArray}))},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},1836:function(e,t,n){var r=n("6ca1"),i=n("6438").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},1880:function(e,t,n){var r=n("4d1e"),i=n("e282"),o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};function a(e,t){if(e){var n,r="";for(var o in e)n=e[o],r&&(r+=" "),r+=o,(null!==n&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?i.encodeXML(n):n)+'"');return r}}var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},u=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",i=0;i",e.children&&(n+=u(e.children,t)),s[e.name]&&!t.xmlMode||(n+="")):n+="/>",n}function c(e){return"<"+e.data+">"}function h(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in o||(n=i.encodeXML(n)),n}function f(e){return""}function d(e){return"\x3c!--"+e.data+"--\x3e"}},"18a5":function(e,t,n){"use strict";var r=n("23e7"),i=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("anchor")},{anchor:function(e){return i(this,"a","name",e)}})},1917:function(e,t){t.f={}.propertyIsEnumerable},"191b":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("94f8"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,i=t.algo,o=i.SHA256,a=i.SHA224=o.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=o._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=o._createHelper(a),t.HmacSHA224=o._createHmacHelper(a)}(),e.SHA224}))},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"19ea":function(e,t,n){"use strict";(function(t,r){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){V(t,e)}}var o;e.exports=T,T.WritableState=k;var a={deprecate:n("b7d1")},s=n("5bbb"),u=n("b639").Buffer,l=t.Uint8Array||function(){};function c(e){return u.from(e)}function h(e){return u.isBuffer(e)||e instanceof l}var f,d=n("493f"),p=n("b9b5"),m=p.getHighWaterMark,g=n("9d8a").codes,v=g.ERR_INVALID_ARG_TYPE,y=g.ERR_METHOD_NOT_IMPLEMENTED,b=g.ERR_MULTIPLE_CALLBACK,w=g.ERR_STREAM_CANNOT_PIPE,_=g.ERR_STREAM_DESTROYED,x=g.ERR_STREAM_NULL_VALUES,E=g.ERR_STREAM_WRITE_AFTER_END,C=g.ERR_UNKNOWN_ENCODING,D=d.errorOrDestroy;function S(){}function k(e,t,r){o=o||n("e666"),e=e||{},"boolean"!==typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=m(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){L(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function T(e){o=o||n("e666");var t=this instanceof o;if(!t&&!f.call(T,this))return new T(e);this._writableState=new k(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),s.call(this)}function A(e,t){var n=new E;D(e,n),r.nextTick(t,n)}function M(e,t,n,i){var o;return null===n?o=new x:"string"===typeof n||t.objectMode||(o=new v("chunk",["string","Buffer"],n)),!o||(D(e,o),r.nextTick(i,o),!1)}function O(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=u.from(t,n)),t}function N(e,t,n,r,i,o){if(!n){var a=O(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length-1))throw new C(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),T.prototype._write=function(e,t,n){n(new y("_write()"))},T.prototype._writev=null,T.prototype.end=function(e,t,n){var r=this._writableState;return"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||z(this,r,n),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),T.prototype.destroy=d.destroy,T.prototype._undestroy=d.undestroy,T.prototype._destroy=function(e,t){t(e)}}).call(this,n("c8ba"),n("4362"))},"19fa":function(e,t,n){var r=n("fc5e"),i=n("c901");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(o=s.charCodeAt(u),o<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):o:e?s.slice(u,u+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(e,t,n){var r=n("77e9"),i=n("faf5"),o=n("3397"),a=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a21":function(e,t,n){var r=n("a711"),i=n("9e8c");function o(e,t){return e&&r(e,t,i)}e.exports=o},"1a2a":function(e,t,n){"use strict";var r=n("3fb5"),i=n("d424"),o=n("6430"),a=n("8707").Buffer,s=n("5a76"),u=n("b5ca"),l=n("69f2"),c=a.alloc(128);function h(e,t){o.call(this,"digest"),"string"===typeof t&&(t=a.from(t));var n="sha512"===e||"sha384"===e?128:64;if(this._alg=e,this._key=t,t.length>n){var r="rmd160"===e?new u:l(e);t=r.update(t).digest()}else t.lengthv)return t(null,!1);if(n>1){var r=Math.max(e[0].Size,e[1].Size);if(r!==g)return t(null,!1)}var i=function(r){if(r=o.length)x.emit("has_and_check_upload_id",t);else{var i=o[e];if(!a.isInArray(t,i))return r.removeUploadId(i),void l(e+1);r.using[i]?l(e+1):c.call(d,{Bucket:s,Region:u,Key:h,UploadId:i},(function(t,o){d._isRunningTask(n)&&(t?(r.removeUploadId(i),l(e+1)):x.emit("upload_id_available",{UploadId:i,PartList:o.PartList}))}))}};l(0)}else x.emit("has_and_check_upload_id",t)})),x.on("get_remote_upload_id_list",(function(){l.call(d,{Bucket:s,Region:u,Key:h},(function(t,i){if(d._isRunningTask(n)){if(t)return x.emit("error",t);var o=a.filter(i.UploadList,(function(e){return e.Key===h&&(!f||e.StorageClass.toUpperCase()===f.toUpperCase())})).reverse().map((function(e){return e.UploadId||e.UploadID}));if(o.length)x.emit("seek_local_avail_upload_id",o);else{var u,l=r.getFileId(e.Body,e.ChunkSize,s,h);l&&(u=r.getUploadIdList(l))&&a.each(u,(function(e){r.removeUploadId(e)})),x.emit("no_available_upload_id")}}}))})),x.emit("get_remote_upload_id_list")}function l(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Prefix:e.Key},o=function(){n.multipartList(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Upload||[]),"true"===n.IsTruncated?(i.KeyMarker=n.NextKeyMarker,i.UploadIdMarker=n.NextUploadIdMarker,o()):t(null,{UploadList:r})}))};o()}function c(e,t){var n=this,r=[],i={Bucket:e.Bucket,Region:e.Region,Key:e.Key,UploadId:e.UploadId},o=function(){n.multipartListPart(i,(function(e,n){if(e)return t(e);r.push.apply(r,n.Part||[]),"true"===n.IsTruncated?(i.PartNumberMarker=n.NextPartNumberMarker,o()):t(null,{PartList:r})}))};o()}function h(e,t){var n=this,r=e.TaskId,o=e.Bucket,s=e.Region,u=e.Key,l=e.UploadData,c=e.FileSize,h=e.SliceSize,d=Math.min(e.AsyncLimit||n.options.ChunkParallelLimit||1,256),p=e.Body,m=Math.ceil(c/h),g=0,v=e.ServerSideEncryption,y=a.filter(l.PartList,(function(e){return e["Uploaded"]&&(g+=e["PartNumber"]>=m&&c%h||h),!e["Uploaded"]})),b=e.onProgress;i.eachLimit(y,d,(function(e,t){if(n._isRunningTask(r)){var i=e["PartNumber"],a=Math.min(c,e["PartNumber"]*h)-(e["PartNumber"]-1)*h,d=0;f.call(n,{TaskId:r,Bucket:o,Region:s,Key:u,SliceSize:h,FileSize:c,PartNumber:i,ServerSideEncryption:v,Body:p,UploadData:l,onProgress:function(e){g+=e.loaded-d,d=e.loaded,b({loaded:g,total:c})}},(function(i,o){n._isRunningTask(r)&&(i||o.ETag||(i='get ETag error, please add "ETag" to CORS ExposeHeader setting.'),i?g-=d:(g+=a-d,e.ETag=o.ETag),b({loaded:g,total:c}),t(i||null,o))}))}}),(function(e){if(n._isRunningTask(r))return e?t(e):void t(null,{UploadId:l.UploadId,SliceList:l.PartList})}))}function f(e,t){var n=this,r=e.TaskId,o=e.Bucket,s=e.Region,u=e.Key,l=e.FileSize,c=e.Body,h=1*e.PartNumber,f=e.SliceSize,d=e.ServerSideEncryption,p=e.UploadData,m=n.options.ChunkRetryTimes+1,g=f*(h-1),v=f,y=g+f;y>l&&(y=l,v=y-g);var b=p.PartList[h-1];i.retry(m,(function(t){n._isRunningTask(r)&&a.fileSlice(c,g,y,!0,(function(i){n.multipartUpload({TaskId:r,Bucket:o,Region:s,Key:u,ContentLength:v,PartNumber:h,UploadId:p.UploadId,ServerSideEncryption:d,Body:i,onProgress:e.onProgress},(function(e,i){if(n._isRunningTask(r))return e?t(e):(b.Uploaded=!0,t(null,i))}))}))}),(function(e,i){if(n._isRunningTask(r))return t(e,i)}))}function d(e,t){var n=e.Bucket,r=e.Region,o=e.Key,a=e.UploadId,s=e.SliceList,u=this,l=this.options.ChunkRetryTimes+1,c=s.map((function(e){return{PartNumber:e.PartNumber,ETag:e.ETag}}));i.retry(l,(function(e){u.multipartComplete({Bucket:n,Region:r,Key:o,UploadId:a,Parts:c},e)}),(function(e,n){t(e,n)}))}function p(e,t){var n=e.Bucket,r=e.Region,i=e.Key,a=e.UploadId,s=e.Level||"task",u=e.AsyncLimit,c=this,h=new o;if(h.on("error",(function(e){return t(e)})),h.on("get_abort_array",(function(o){m.call(c,{Bucket:n,Region:r,Key:i,Headers:e.Headers,AsyncLimit:u,AbortArray:o},(function(e,n){if(e)return t(e);t(null,n)}))})),"bucket"===s)l.call(c,{Bucket:n,Region:r},(function(e,n){if(e)return t(e);h.emit("get_abort_array",n.UploadList||[])}));else if("file"===s){if(!i)return t({error:"abort_upload_task_no_key"});l.call(c,{Bucket:n,Region:r,Key:i},(function(e,n){if(e)return t(e);h.emit("get_abort_array",n.UploadList||[])}))}else{if("task"!==s)return t({error:"abort_unknown_level"});if(!a)return t({error:"abort_upload_task_no_id"});if(!i)return t({error:"abort_upload_task_no_key"});h.emit("get_abort_array",[{Key:i,UploadId:a}])}}function m(e,t){var n=e.Bucket,r=e.Region,o=e.Key,a=e.AbortArray,s=e.AsyncLimit||1,u=this,l=0,c=new Array(a.length);i.eachLimit(a,s,(function(t,i){var a=l;if(o&&o!==t.Key)return c[a]={error:{KeyNotMatch:!0}},void i(null);var s=t.UploadId||t.UploadID;u.multipartAbort({Bucket:n,Region:r,Key:t.Key,Headers:e.Headers,UploadId:s},(function(e){var o={Bucket:n,Region:r,Key:t.Key,UploadId:s};c[a]={error:e,task:o},i(null)})),l++}),(function(e){if(e)return t(e);for(var n=[],r=[],i=0,o=c.length;i=r?"sliceUploadFile":"putObject";f.push({api:b,params:e,callback:y})})()})),n._addTasks(f)}function v(e,t){var n=new o,r=this,s=e.Bucket,u=e.Region,l=e.Key,c=e.CopySource,h=c.match(/^([^.]+-\d+)\.cos(v6)?\.([^.]+)\.[^/]+\/(.+)$/);if(h){var f=h[1],d=h[3],p=decodeURIComponent(h[4]),m=void 0===e.CopySliceSize?r.options.CopySliceSize:e.CopySliceSize;m=Math.max(0,m);var g,v,b=e.CopyChunkSize||this.options.CopyChunkSize,w=this.options.CopyChunkParallelLimit,_=0;n.on("copy_slice_complete",(function(e){r.multipartComplete({Bucket:s,Region:u,Key:l,UploadId:e.UploadId,Parts:e.PartList},(function(e,n){if(e)return v(null,!0),t(e);v({loaded:g,total:g},!0),t(null,n)}))})),n.on("get_copy_data_finish",(function(e){i.eachLimit(e.PartList,w,(function(t,n){var i=t.PartNumber,o=t.CopySourceRange,a=t.end-t.start,h=0;y.call(r,{Bucket:s,Region:u,Key:l,CopySource:c,UploadId:e.UploadId,PartNumber:i,CopySourceRange:o,onProgress:function(e){_+=e.loaded-h,h=e.loaded,v({loaded:_,total:g})}},(function(e,r){if(e)return n(e);v({loaded:_,total:g}),_+=a-h,t.ETag=r.ETag,n(e||null,r)}))}),(function(r){if(r)return v(null,!0),t(r);n.emit("copy_slice_complete",e)}))})),n.on("get_file_size_finish",(function(i){var o;if(function(){for(var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],n=1048576,i=0;in.length&&(u[t]=e)})),n.emit("get_file_size_finish",u)}else t({error:'get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.'})}))}else t({error:"CopySource format error"})}function y(e,t){var n=e.TaskId,r=e.Bucket,o=e.Region,a=e.Key,s=e.CopySource,u=e.UploadId,l=1*e.PartNumber,c=e.CopySourceRange,h=this.options.ChunkRetryTimes+1,f=this;i.retry(h,(function(t){f.uploadPartCopy({TaskId:n,Bucket:r,Region:o,Key:a,CopySource:s,UploadId:u,PartNumber:l,CopySourceRange:c,onProgress:e.onProgress},(function(e,n){t(e||null,n)}))}),(function(e,n){return t(e,n)}))}var b={sliceUploadFile:s,abortUploadTask:p,uploadFiles:g,sliceCopyFile:v};e.exports.init=function(e,t){t.transferToTaskMethod(b,"sliceUploadFile"),a.each(b,(function(t,n){e.prototype[n]=a.apiWrapper(n,t)}))}},"1b83":function(e,t){function n(e){return function(){return e}}e.exports=n},"1bb7":function(e,t,n){var r=n("dff0");function i(e){return r(this.__data__,e)>-1}e.exports=i},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1be6":function(e,t,n){"use strict";var r=n("362e"),i=n("b1dc"),o=n("7180"),a=n("3e8b"),s=n("791e"),u=n("f30b"),l=n("3022").inherits,c=u.TAG_NAMES,h=e.exports=function(e){r.call(this,e),this.parser=e,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null};l(h,r),h.prototype._setStartLocation=function(e){this.lastStartTagToken?(e.__location=Object.create(this.lastStartTagToken.location),e.__location.startTag=this.lastStartTagToken.location):e.__location=null},h.prototype._setEndLocation=function(e,t){var n=e.__location;if(n)if(t.location){var r=t.location,o=this.parser.treeAdapter.getTagName(e),a=t.type===i.END_TAG_TOKEN&&o===t.tagName;a?(n.endTag=Object.create(r),n.endOffset=r.endOffset):n.endOffset=r.startOffset}else t.type===i.EOF_TOKEN&&(n.endOffset=this.posTracker.offset)},h.prototype._getOverriddenMethods=function(e,t){return{_bootstrap:function(n,r){t._bootstrap.call(this,n,r),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null,e.posTracker=new a(this.tokenizer.preprocessor),new o(this.tokenizer),new s(this.openElements,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop:function(n){t._runParsingLoop.call(this,n);for(var r=this.openElements.stackTop;r>=0;r--)e._setEndLocation(this.openElements.items[r],e.currentToken)},_processTokenInForeignContent:function(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken:function(n){e.currentToken=n,t._processToken.call(this,n);var r=n.type===i.END_TAG_TOKEN&&(n.tagName===c.HTML||n.tagName===c.BODY&&this.openElements.hasInScope(c.BODY));if(r)for(var o=this.openElements.stackTop;o>=0;o--){var a=this.openElements.items[o];if(this.treeAdapter.getTagName(a)===n.tagName){e._setEndLocation(a,n);break}}},_setDocumentType:function(e){t._setDocumentType.call(this,e);for(var n=this.treeAdapter.getChildNodes(this.document),r=n.length,i=0;i=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1e3c":function(e,t,n){var r=n("6430"),i=n("1545"),o=n("3fb5"),a=n("8707").Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function u(e){r.call(this);var t,n=e.mode.toLowerCase(),i=s[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=a.concat([o,o.slice(0,8)]));var u=e.iv;a.isBuffer(u)||(u=a.from(u)),this._des=i.create({key:o,iv:u,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=u,o(u,r),u.prototype._update=function(e){return a.from(this._des.update(e))},u.prototype._final=function(){return a.from(this._des.final())}},"1fb5":function(e,t,n){"use strict";t.byteLength=c,t.toByteArray=f,t.fromByteArray=m;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function h(e,t,n){return 3*(t+n)/4-n}function f(e){var t,n,r=l(e),a=r[0],s=r[1],u=new o(h(e,a,s)),c=0,f=s>0?a-4:a;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function d(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function p(e,t,n){for(var r,i=[],o=t;ou?u:s+a));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"1fec":function(e,t,n){"use strict";var r=n("da3e"),i=n("3fb5"),o=n("0184"),a=n("4e2b");function s(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:n})]}function u(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(u,o),e.exports=u,u.create=function(e){return new u(e)},u.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},u.prototype._pad=a.prototype._pad,u.prototype._unpad=a.prototype._unpad},"1ff4":function(e,t,n){"use strict";var r=n("f30b").DOCUMENT_MODE,i="html",o="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",a=["+//silmaril//dtd html pro v0r11 19970101//en","-//advasoft ltd//dtd html 3.0 aswedit + extensions//en","-//as//dtd html 3.0 aswedit + extensions//en","-//ietf//dtd html 2.0 level 1//en","-//ietf//dtd html 2.0 level 2//en","-//ietf//dtd html 2.0 strict level 1//en","-//ietf//dtd html 2.0 strict level 2//en","-//ietf//dtd html 2.0 strict//en","-//ietf//dtd html 2.0//en","-//ietf//dtd html 2.1e//en","-//ietf//dtd html 3.0//en","-//ietf//dtd html 3.0//en//","-//ietf//dtd html 3.2 final//en","-//ietf//dtd html 3.2//en","-//ietf//dtd html 3//en","-//ietf//dtd html level 0//en","-//ietf//dtd html level 0//en//2.0","-//ietf//dtd html level 1//en","-//ietf//dtd html level 1//en//2.0","-//ietf//dtd html level 2//en","-//ietf//dtd html level 2//en//2.0","-//ietf//dtd html level 3//en","-//ietf//dtd html level 3//en//3.0","-//ietf//dtd html strict level 0//en","-//ietf//dtd html strict level 0//en//2.0","-//ietf//dtd html strict level 1//en","-//ietf//dtd html strict level 1//en//2.0","-//ietf//dtd html strict level 2//en","-//ietf//dtd html strict level 2//en//2.0","-//ietf//dtd html strict level 3//en","-//ietf//dtd html strict level 3//en//3.0","-//ietf//dtd html strict//en","-//ietf//dtd html strict//en//2.0","-//ietf//dtd html strict//en//3.0","-//ietf//dtd html//en","-//ietf//dtd html//en//2.0","-//ietf//dtd html//en//3.0","-//metrius//dtd metrius presentational//en","-//microsoft//dtd internet explorer 2.0 html strict//en","-//microsoft//dtd internet explorer 2.0 html//en","-//microsoft//dtd internet explorer 2.0 tables//en","-//microsoft//dtd internet explorer 3.0 html strict//en","-//microsoft//dtd internet explorer 3.0 html//en","-//microsoft//dtd internet explorer 3.0 tables//en","-//netscape comm. corp.//dtd html//en","-//netscape comm. corp.//dtd strict html//en","-//o'reilly and associates//dtd html 2.0//en","-//o'reilly and associates//dtd html extended 1.0//en","-//spyglass//dtd html 2.0 extended//en","-//sq//dtd html 2.0 hotmetal + extensions//en","-//sun microsystems corp.//dtd hotjava html//en","-//sun microsystems corp.//dtd hotjava strict html//en","-//w3c//dtd html 3 1995-03-24//en","-//w3c//dtd html 3.2 draft//en","-//w3c//dtd html 3.2 final//en","-//w3c//dtd html 3.2//en","-//w3c//dtd html 3.2s draft//en","-//w3c//dtd html 4.0 frameset//en","-//w3c//dtd html 4.0 transitional//en","-//w3c//dtd html experimental 19960712//en","-//w3c//dtd html experimental 970421//en","-//w3c//dtd w3 html//en","-//w3o//dtd w3 html 3.0//en","-//w3o//dtd w3 html 3.0//en//","-//webtechs//dtd mozilla html 2.0//en","-//webtechs//dtd mozilla html//en"],s=a.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),u=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],l=["-//W3C//DTD XHTML 1.0 Frameset//","-//W3C//DTD XHTML 1.0 Transitional//"],c=l.concat(["-//W3C//DTD HTML 4.01 Frameset//","-//W3C//DTD HTML 4.01 Transitional//"]);function h(e){var t=-1!==e.indexOf('"')?"'":'"';return t+e+t}function f(e,t){for(var n=0;n-1)return r.QUIRKS;var h=null===n?s:a;if(f(t,h))return r.QUIRKS;if(h=null===n?l:c,f(t,h))return r.LIMITED_QUIRKS}return r.NO_QUIRKS},t.serializeContent=function(e,t,n){var r="!DOCTYPE ";return e&&(r+=e),null!==t?r+=" PUBLIC "+h(t):null!==n&&(r+=" SYSTEM"),null!==n&&(r+=" "+h(n)),r}},2015:function(e,t,n){e.exports=a;var r=n("99e4"),i=r.trueFunc,o=r.falseFunc;function a(e){var t=e[0],n=e[1]-1;if(n<0&&t<=0)return o;if(-1===t)return function(e){return e<=n};if(0===t)return function(e){return e===n};if(1===t)return n<0?i:function(e){return e>=n};var r=n%t;return r<0&&(r+=t),t>1?function(e){return e>=n&&e%t===r}:(t*=-1,function(e){return e<=n&&e%t===r})}},2019:function(e,t,n){var r=n("52c2"),i=n("db23"),o=n("7dc6"),a=1,s=2,u=4,l=8,c=32,h=64;function f(e,t,n,f,d,p,m,g,v,y){var b=t&l,w=b?m:void 0,_=b?void 0:m,x=b?p:void 0,E=b?void 0:p;t|=b?c:h,t&=~(b?h:c),t&u||(t&=~(a|s));var C=[e,t,d,x,w,E,_,g,v,y],D=n.apply(void 0,C);return r(e)&&i(D,C),D.placeholder=f,o(D,e,t)}e.exports=f},"205b":function(e){e.exports=JSON.parse('{"_args":[["cheerio@1.0.0-rc.3","/home/runner/work/md/md"]],"_from":"cheerio@1.0.0-rc.3","_id":"cheerio@1.0.0-rc.3","_inBundle":false,"_integrity":"sha1-CUY21CWy6cD065GkbAVjDJoai/Y=","_location":"/cheerio","_phantomChildren":{"@types/node":"14.14.9"},"_requested":{"type":"version","registry":true,"raw":"cheerio@1.0.0-rc.3","name":"cheerio","escapedName":"cheerio","rawSpec":"1.0.0-rc.3","saveSpec":null,"fetchSpec":"1.0.0-rc.3"},"_requiredBy":["/juice"],"_resolved":"https://registry.npm.taobao.org/cheerio/download/cheerio-1.0.0-rc.3.tgz","_spec":"1.0.0-rc.3","_where":"/home/runner/work/md/md","author":{"name":"Matt Mueller","email":"mattmuelle@gmail.com","url":"mat.io"},"bugs":{"url":"https://github.com/cheeriojs/cheerio/issues"},"dependencies":{"css-select":"~1.2.0","dom-serializer":"~0.1.1","entities":"~1.1.1","htmlparser2":"^3.9.1","lodash":"^4.15.0","parse5":"^3.0.1"},"description":"Tiny, fast, and elegant implementation of core jQuery designed specifically for the server","devDependencies":{"benchmark":"^2.1.0","coveralls":"^2.11.9","expect.js":"~0.3.1","istanbul":"^0.4.3","jquery":"^3.0.0","jsdom":"^9.2.1","jshint":"^2.9.2","mocha":"^3.1.2","xyz":"~1.1.0"},"engines":{"node":">= 0.6"},"files":["index.js","lib"],"homepage":"https://github.com/cheeriojs/cheerio#readme","keywords":["htmlparser","jquery","selector","scraper","parser","html"],"license":"MIT","main":"./index.js","name":"cheerio","repository":{"type":"git","url":"git://github.com/cheeriojs/cheerio.git"},"scripts":{"test":"make test"},"version":"1.0.0-rc.3"}')},"206d":function(e,t,n){(function(t,r){var i,o=n("8707").Buffer,a=n("7d2a"),s=n("9f9d"),u=n("e07b"),l=n("8be6"),c=t.crypto&&t.crypto.subtle,h={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},f=[];function d(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==f[e])return f[e];i=i||o.alloc(8);var n=p(i,i,10,128,e).then((function(){return!0})).catch((function(){return!1}));return f[e]=n,n}function p(e,t,n,r,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return o.from(e)}))}function m(e,t){e.then((function(e){r.nextTick((function(){t(null,e)}))}),(function(e){r.nextTick((function(){t(e)}))}))}e.exports=function(e,n,i,o,c,f){"function"===typeof c&&(f=c,c=void 0),c=c||"sha1";var g=h[c.toLowerCase()];if(!g||"function"!==typeof t.Promise)return r.nextTick((function(){var t;try{t=u(e,n,i,o,c)}catch(r){return f(r)}f(null,t)}));if(a(i,o),e=l(e,s,"Password"),n=l(n,s,"Salt"),"function"!==typeof f)throw new Error("No callback provided to pbkdf2");m(d(g).then((function(t){return t?p(e,n,i,o,g):u(e,n,i,o,c)})),f)}}).call(this,n("c8ba"),n("4362"))},"20f6":function(e,t,n){"use strict";const r=t;r.der=n("cfbd"),r.pem=n("8df7")},2137:function(e,t,n){"use strict";var r=n("c3c0"),i=n("da3e");function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},d=h.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},p=h.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},m=u.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=4*a,u=o/s;u=t?e.ceil(u):e.max((0|u)-this._minBufferSize,0);var l=u*a,h=e.min(4*l,o);if(l){for(var f=0;f-1&&e%1==0&&ef;f++)if(p=E(e[f]),p&&p instanceof l)return p;return new l(!1)}c=h.call(e)}m=c.next;while(!(g=m.call(c)).done){try{p=E(g.value)}catch(C){throw u(c),C}if("object"==typeof p&&p&&p instanceof l)return p}return new l(!1)}},"22ab":function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);var t=c.allocUnsafe(e>>>0),n=this.head,r=0;while(n)p(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),e-=o,0===e){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),n=this.head,r=1;n.data.copy(t),e-=n.data.length;while(n=n.next){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),e-=o,0===e){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return f(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},"23cb":function(e,t,n){var r=n("a691"),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),u=n("e893"),l=n("94ca");e.exports=function(e,t){var n,c,h,f,d,p,m=e.target,g=e.global,v=e.stat;if(c=g?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,c)for(h in t){if(d=t[h],e.noTargetGet?(p=i(c,h),f=p&&p.value):f=c[h],n=l(g?h:m+(v?".":"#")+h,e.forced),!n&&void 0!==f){if(typeof d===typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(c,h,d,e)}}},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),i=n("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}var u={adapter:s(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u}).call(this,n("4362"))},"244f":function(e,t,n){var r=n("2cd9"),i=Object.prototype,o=i.hasOwnProperty;function a(e){var t=e.name+"",n=r[t],i=o.call(r,t)?n.length:0;while(i--){var a=n[i],s=a.func;if(null==s||s==e)return a.name}return t}e.exports=a},"24fe":function(e,t,n){var r=n("8a51"),i=n("e01c"),o=n("e2eb");function a(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}e.exports=a},2562:function(e,t,n){"use strict";var r=/([-.*+?^${}()|[\]\/\\])/g,i=/\\/g,o=function(e){return(e+"").replace(r,"\\$1")},a=function(e){return(e+"").replace(i,"")},s=RegExp("^(?:\\s*(,)\\s*|\\s*(+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:([\"']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:([\"'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)".replace(//,"["+o(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),u=function(e){this.combinator=e||" ",this.tag="*"};u.prototype.toString=function(){if(!this.raw){var e,t,n="";if(n+=this.tag||"*",this.id&&(n+="#"+this.id),this.classes&&(n+="."+this.classList.join(".")),this.attributes)for(e=0;t=this.attributes[e++];)n+="["+t.name+(t.operator?t.operator+'"'+t.value+'"':"")+"]";if(this.pseudos)for(e=0;t=this.pseudos[e++];)n+=":"+t.name,t.value&&(n+="("+t.value+")");this.raw=n}return this.raw};var l=function(){this.length=0};l.prototype.toString=function(){if(!this.raw){for(var e,t="",n=0;e=this[n++];)1!==n&&(t+=" ")," "!==e.combinator&&(t+=e.combinator+" "),t+=e;this.raw=t}return this.raw};var c=function(e,t,n,r,i,s,c,h,f,d,p,m,g,v,y,b){var w,_;if((t||!this.length)&&(w=this[this.length++]=new l,t))return"";if(w||(w=this[this.length-1]),(n||r||!w.length)&&(_=w[w.length++]=new u(n)),_||(_=w[w.length-1]),i)_.tag=a(i);else if(s)_.id=a(s);else if(c){var x=a(c),E=_.classes||(_.classes={});if(!E[x]){E[x]=o(c);var C=_.classList||(_.classList=[]);C.push(x),C.sort()}}else g?(b=b||y,(_.pseudos||(_.pseudos=[])).push({type:1==m.length?"class":"element",name:a(g),escapedName:o(g),value:b?a(b):null,escapedValue:b?o(b):null})):h&&(p=p?o(p):null,(_.attributes||(_.attributes=[])).push({operator:f,name:a(h),escapedName:o(h),value:p?a(p):null,escapedValue:p?o(p):null}));return""},h=function(e){this.length=0;var t,n=this,r=e;while(e){if(t=e.replace(s,(function(){return c.apply(n,arguments)})),t===e)throw new Error(r+" is an invalid expression");e=t}};h.prototype.toString=function(){if(!this.raw){for(var e,t=[],n=0;e=this[n++];)t.push(e);this.raw=t.join(", ")}return this.raw};var f={},d=function(e){return null==e?null:(e=(""+e).replace(/^\s+|\s+$/g,""),f[e]||(f[e]=new h(e)))};e.exports=d},"25f0":function(e,t,n){"use strict";var r=n("6eeb"),i=n("825a"),o=n("d039"),a=n("ad6d"),s="toString",u=RegExp.prototype,l=u[s],c=o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),h=l.name!=s;(c||h)&&r(RegExp.prototype,s,(function(){var e=i(this),t=String(e.source),n=e.flags,r=String(void 0===n&&e instanceof RegExp&&!("flags"in u)?a.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"26dd":function(e,t,n){"use strict";var r=n("6f4f"),i=n("10db"),o=n("92f0"),a={};n("051b")(a,n("cc15")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},"26e0":function(e,t,n){var r=n("78ff");function i(e,t){var n;return r(e,(function(e,r,i){return n=t(e,r,i),!n})),!!n}e.exports=i},"26f9":function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},"27bf":function(e,t,n){"use strict";e.exports=a;var r=n("b19a"),i=Object.create(n("3a7c"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n=t+n||t?new java.lang.String(e,t,n)+"":e}function l(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new c,a=n.domBuilder||new o,s=n.errorHandler,u=n.locator,l=n.xmlns||{},h={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return u&&a.setDocumentLocator(u),r.errorHandler=i(s,a,u),r.domBuilder=n.domBuilder||a,/\/x?html?$/.test(t)&&(h.nbsp=" ",h.copy="©",l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",e?r.parse(e,l,h):r.errorHandler.error("invalid doc source"),a.doc},o.prototype={startDocument:function(){this.doc=(new h).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),s=r.length;l(this,o),this.currentElement=o,this.locator&&a(this.locator,o);for(var u=0;uu&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e){var t=e["return"];if(void 0!==t)return r(t.call(e)).value}},"2a66":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("38ba"))})(0,(function(e){return e.pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){var t=e.words,n=e.sigBytes-1;for(n=e.sigBytes-1;n>=0;n--)if(t[n>>>2]>>>24-n%4*8&255){e.sigBytes=n+1;break}}},e.pad.ZeroPadding}))},"2aee":function(e,t,n){var r=n("4111"),i=n("d70e"),o=n("4dd0"),a=n("fda6"),s=n("a099"),u=n("8707").Buffer;function l(e){var t;"object"!==typeof e||u.isBuffer(e)||(t=e.passphrase,e=e.key),"string"===typeof e&&(e=u.from(e));var n,i,a=o(e,t),s=a.tag,l=a.data;switch(s){case"CERTIFICATE":i=r.certificate.decode(l,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=r.PublicKey.decode(l,"der")),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=r.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":l=r.EncryptedPrivateKey.decode(l,"der"),l=c(l,t);case"PRIVATE KEY":switch(i=r.PrivateKey.decode(l,"der"),n=i.algorithm.algorithm.join("."),n){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:r.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=r.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(l,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(l,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(l,"der")};case"EC PRIVATE KEY":return l=r.ECPrivateKey.decode(l,"der"),{curve:l.parameters.value,privateKey:l.privateKey};default:throw new Error("unknown key type "+s)}}function c(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,h=parseInt(o.split("-")[1],10)/8,f=s.pbkdf2Sync(t,n,r,h,"sha1"),d=a.createDecipheriv(o,f,l),p=[];return p.push(d.update(c)),p.push(d.final()),u.concat(p)}e.exports=l,l.signature=r.signature},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){ /*! * Vue.js v2.6.12 * (c) 2014-2020 Evan You * Released under the MIT License. */ var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function u(e){return null!==e&&"object"===typeof e}var l=Object.prototype.toString;function c(e){return"[object Object]"===l.call(e)}function h(e){return"[object RegExp]"===l.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function g(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function w(e,t){return b.call(e,t)}function _(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var x=/-(\w)/g,E=_((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),C=_((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),D=/\B([A-Z])/g,S=_((function(e){return e.replace(D,"-$1").toLowerCase()}));function k(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function T(e,t){return e.bind(t)}var A=Function.prototype.bind?T:k;function M(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function N(e){for(var t={},n=0;n0,ne=Q&&Q.indexOf("edge/")>0,re=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Z),ie=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),oe={}.watch,ae=!1;if(Y)try{var se={};Object.defineProperty(se,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,se)}catch(Ea){}var ue=function(){return void 0===K&&(K=!Y&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),K},le=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"===typeof e&&/native code/.test(e.toString())}var he,fe="undefined"!==typeof Symbol&&ce(Symbol)&&"undefined"!==typeof Reflect&&ce(Reflect.ownKeys);he="undefined"!==typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var de=I,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!w(i,"default"))a=!1;else if(""===a||a===S(e)){var u=et(String,i.type);(u<0||s0&&(a=kt(a,(t||"")+"_"+n),St(a[0])&&St(l)&&(c[u]=xe(l.text+a[0].text),a.shift()),c.push.apply(c,a)):s(a)?St(l)?c[u]=xe(l.text+a):""!==a&&c.push(xe(a)):St(a)&&St(l)?c[u]=xe(l.text+a.text):(o(e._isVList)&&i(a.tag)&&r(a.key)&&i(t)&&(a.key="__vlist"+t+"_"+n+"__"),c.push(a)));return c}function Tt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function At(e){var t=Mt(e.$options.inject,e);t&&(Ae(!1),Object.keys(t).forEach((function(n){Fe(e,n,t[n])})),Ae(!0))}function Mt(e,t){if(e){for(var n=Object.create(null),r=fe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=Ft(t,u,e[u]))}else i={};for(var l in t)l in i||(i[l]=Pt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),V(i,"$stable",a),V(i,"$key",s),V(i,"$hasNormal",o),i}function Ft(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Dt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Pt(e,t){return function(){return e[t]}}function Lt(e,t){var n,r,o,a,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,o=e.length;r1?M(n):n;for(var r=M(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Kn=function(){return Xn.now()})}function Yn(){var e,t;for(Gn=Kn(),zn=!0,Hn.sort((function(e,t){return e.id-t.id})),Vn=0;VnVn&&Hn[n].id>e.id)n--;Hn.splice(n+1,0,e)}else Hn.push(e);Un||(Un=!0,pt(Yn))}}var tr=0,nr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++tr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new he,this.newDepIds=new he,this.expression="","function"===typeof t?this.getter=t:(this.getter=G(t),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var e;ve(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Ea){if(!this.user)throw Ea;tt(Ea,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&>(e),ye(),this.cleanupDeps()}return e},nr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},nr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},nr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Ea){tt(Ea,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:I,set:I};function ir(e,t,n){rr.get=function(){return this[t][n]},rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,rr)}function or(e){e._watchers=[];var t=e.$options;t.props&&ar(e,t.props),t.methods&&pr(e,t.methods),t.data?sr(e):Ie(e._data={},!0),t.computed&&cr(e,t.computed),t.watch&&t.watch!==oe&&mr(e,t.watch)}function ar(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||Ae(!1);var a=function(o){i.push(o);var a=Ye(o,t,n,e);Fe(r,o,a),o in e||ir(e,"_props",o)};for(var s in t)a(s);Ae(!0)}function sr(e){var t=e.$options.data;t=e._data="function"===typeof t?ur(t,e):t||{},c(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var o=n[i];0,r&&w(r,o)||z(o)||ir(e,"_data",o)}Ie(t,!0)}function ur(e,t){ve();try{return e.call(t,t)}catch(Ea){return tt(Ea,t,"data()"),{}}finally{ye()}}var lr={lazy:!0};function cr(e,t){var n=e._computedWatchers=Object.create(null),r=ue();for(var i in t){var o=t[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new nr(e,a||I,I,lr)),i in e||hr(e,i,o)}}function hr(e,t,n){var r=!ue();"function"===typeof n?(rr.get=r?fr(t):dr(n),rr.set=I):(rr.get=n.get?r&&!1!==n.cache?fr(t):dr(n.get):I,rr.set=n.set||I),Object.defineProperty(e,t,rr)}function fr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function dr(e){return function(){return e.call(this,this)}}function pr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?I:A(t[n],e)}function mr(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=M(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Dr(e){e.mixin=function(e){return this.options=Ke(this.options,e),this}}function Sr(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Ke(n.options,e),a["super"]=n,a.options.props&&kr(a),a.options.computed&&Tr(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,H.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=O({},a.options),i[r]=a,a}}function kr(e){var t=e.options.props;for(var n in t)ir(e.prototype,"_props",n)}function Tr(e){var t=e.options.computed;for(var n in t)hr(e.prototype,n,t[n])}function Ar(e){H.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Mr(e){return e&&(e.Ctor.options.name||e.tag)}function Or(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!h(e)&&e.test(t)}function Nr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Mr(a.componentOptions);s&&!t(s)&&Ir(n,o,r,i)}}}function Ir(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}br(Er),vr(Er),An(Er),In(Er),yn(Er);var Fr=[String,RegExp,Array],Pr={name:"keep-alive",abstract:!0,props:{include:Fr,exclude:Fr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Ir(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Nr(e,(function(e){return Or(t,e)}))})),this.$watch("exclude",(function(t){Nr(e,(function(e){return!Or(t,e)}))}))},render:function(){var e=this.$slots.default,t=En(e),n=t&&t.componentOptions;if(n){var r=Mr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Or(o,r))||a&&r&&Or(a,r))return t;var s=this,u=s.cache,l=s.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;u[c]?(t.componentInstance=u[c].componentInstance,y(l,c),l.push(c)):(u[c]=t,l.push(c),this.max&&l.length>parseInt(this.max)&&Ir(u,l[0],l,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Lr={KeepAlive:Pr};function Rr(e){var t={get:function(){return q}};Object.defineProperty(e,"config",t),e.util={warn:de,extend:O,mergeOptions:Ke,defineReactive:Fe},e.set=Pe,e.delete=Le,e.nextTick=pt,e.observable=function(e){return Ie(e),e},e.options=Object.create(null),H.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,Lr),Cr(e),Dr(e),Sr(e),Ar(e)}Rr(Er),Object.defineProperty(Er.prototype,"$isServer",{get:ue}),Object.defineProperty(Er.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Er,"FunctionalRenderContext",{value:Jt}),Er.version="2.6.12";var Br=g("style,class"),jr=g("input,textarea,option,select,progress"),Hr=function(e,t,n){return"value"===n&&jr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},$r=g("contenteditable,draggable,spellcheck"),qr=g("events,caret,typing,plaintext-only"),Ur=function(e,t){return Kr(t)||"false"===t?"false":"contenteditable"===e&&qr(t)?t:"true"},zr=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Vr="http://www.w3.org/1999/xlink",Wr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gr=function(e){return Wr(e)?e.slice(6,e.length):""},Kr=function(e){return null==e||!1===e};function Xr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Yr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Yr(t,n.data));return Jr(t.staticClass,t.class)}function Yr(e,t){return{staticClass:Zr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Jr(e,t){return i(e)||i(t)?Zr(e,Qr(t)):""}function Zr(e,t){return e?t?e+" "+t:e:t||""}function Qr(e){return Array.isArray(e)?ei(e):u(e)?ti(e):"string"===typeof e?e:""}function ei(e){for(var t,n="",r=0,o=e.length;r-1?si[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:si[e]=/HTMLUnknownElement/.test(t.toString())}var li=g("text,number,password,search,email,tel,url");function ci(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function hi(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fi(e,t){return document.createElementNS(ni[e],t)}function di(e){return document.createTextNode(e)}function pi(e){return document.createComment(e)}function mi(e,t,n){e.insertBefore(t,n)}function gi(e,t){e.removeChild(t)}function vi(e,t){e.appendChild(t)}function yi(e){return e.parentNode}function bi(e){return e.nextSibling}function wi(e){return e.tagName}function _i(e,t){e.textContent=t}function xi(e,t){e.setAttribute(t,"")}var Ei=Object.freeze({createElement:hi,createElementNS:fi,createTextNode:di,createComment:pi,insertBefore:mi,removeChild:gi,appendChild:vi,parentNode:yi,nextSibling:bi,tagName:wi,setTextContent:_i,setStyleScope:xi}),Ci={create:function(e,t){Di(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Di(e,!0),Di(t))},destroy:function(e){Di(e,!0)}};function Di(e,t){var n=e.data.ref;if(i(n)){var r=e.context,o=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Si=new be("",{},[]),ki=["create","activate","update","remove","destroy"];function Ti(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Ai(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Ai(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,o=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===o||li(r)&&li(o)}function Mi(e,t,n){var r,o,a={};for(r=t;r<=n;++r)o=e[r].key,i(o)&&(a[o]=r);return a}function Oi(e){var t,n,a={},u=e.modules,l=e.nodeOps;for(t=0;tm?(h=r(n[y+1])?null:n[y+1].elm,E(e,h,n,p,y,o)):p>y&&D(t,f,m)}function T(e,t,n,r){for(var o=n;o-1?qi(e,t,n):zr(t)?Kr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):$r(t)?e.setAttribute(t,Ur(t,n)):Wr(t)?Kr(n)?e.removeAttributeNS(Vr,Gr(t)):e.setAttributeNS(Vr,t,n):qi(e,t,n)}function qi(e,t,n){if(Kr(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Ui={create:Hi,update:Hi};function zi(e,t){var n=t.elm,o=t.data,a=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Xr(t),u=n._transitionClasses;i(u)&&(s=Zr(s,Qr(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Vi,Wi={create:zi,update:zi},Gi="__r",Ki="__c";function Xi(e){if(i(e[Gi])){var t=ee?"change":"input";e[t]=[].concat(e[Gi],e[t]||[]),delete e[Gi]}i(e[Ki])&&(e.change=[].concat(e[Ki],e.change||[]),delete e[Ki])}function Yi(e,t,n){var r=Vi;return function i(){var o=t.apply(null,arguments);null!==o&&Qi(e,i,n,r)}}var Ji=at&&!(ie&&Number(ie[1])<=53);function Zi(e,t,n,r){if(Ji){var i=Gn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Vi.addEventListener(e,t,ae?{capture:n,passive:r}:n)}function Qi(e,t,n,r){(r||Vi).removeEventListener(e,t._wrapper||t,n)}function eo(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Vi=t.elm,Xi(n),wt(n,i,Zi,Qi,Yi,t.context),Vi=void 0}}var to,no={create:eo,update:eo};function ro(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,a=t.elm,s=e.data.domProps||{},u=t.data.domProps||{};for(n in i(u.__ob__)&&(u=t.data.domProps=O({},u)),s)n in u||(a[n]="");for(n in u){if(o=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var l=r(o)?"":String(o);io(a,l)&&(a.value=l)}else if("innerHTML"===n&&ii(a.tagName)&&r(a.innerHTML)){to=to||document.createElement("div"),to.innerHTML=""+o+"";var c=to.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(c.firstChild)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Ea){}}}}function io(e,t){return!e.composing&&("OPTION"===e.tagName||oo(e,t)||ao(e,t))}function oo(e,t){var n=!0;try{n=document.activeElement!==e}catch(Ea){}return n&&e.value!==t}function ao(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var so={create:ro,update:ro},uo=_((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function lo(e){var t=co(e.style);return e.staticStyle?O(e.staticStyle,t):t}function co(e){return Array.isArray(e)?N(e):"string"===typeof e?uo(e):e}function ho(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=lo(i.data))&&O(r,n)}(n=lo(e.data))&&O(r,n);var o=e;while(o=o.parent)o.data&&(n=lo(o.data))&&O(r,n);return r}var fo,po=/^--/,mo=/\s*!important$/,go=function(e,t,n){if(po.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(S(t),n.replace(mo,""),"important");else{var r=yo(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(_o).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Eo(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(_o).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Co(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&O(t,Do(e.name||"v")),O(t,e),t}return"string"===typeof e?Do(e):void 0}}var Do=_((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),So=Y&&!te,ko="transition",To="animation",Ao="transition",Mo="transitionend",Oo="animation",No="animationend";So&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ao="WebkitTransition",Mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oo="WebkitAnimation",No="webkitAnimationEnd"));var Io=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Fo(e){Io((function(){Io(e)}))}function Po(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),xo(e,t))}function Lo(e,t){e._transitionClasses&&y(e._transitionClasses,t),Eo(e,t)}function Ro(e,t,n){var r=jo(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ko?Mo:No,u=0,l=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++u>=a&&l()};setTimeout((function(){u0&&(n=ko,c=a,h=o.length):t===To?l>0&&(n=To,c=l,h=u.length):(c=Math.max(a,l),n=c>0?a>l?ko:To:null,h=n?n===ko?o.length:u.length:0);var f=n===ko&&Bo.test(r[Ao+"Property"]);return{type:n,timeout:c,propCount:h,hasTransform:f}}function Ho(e,t){while(e.length1}function Wo(e,t){!0!==t.data.show&&qo(t)}var Go=Y?{create:Wo,activate:Wo,remove:function(e,t){!0!==e.data.show?Uo(e,t):t()}}:{},Ko=[Ui,Wi,no,so,wo,Go],Xo=Ko.concat(ji),Yo=Oi({nodeOps:Ei,modules:Xo});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ia(e,"input")}));var Jo={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?_t(n,"postpatch",(function(){Jo.componentUpdated(e,t,n)})):Zo(e,t,n.context),e._vOptions=[].map.call(e.options,ta)):("textarea"===n.tag||li(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",na),e.addEventListener("compositionend",ra),e.addEventListener("change",ra),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Zo(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,ta);if(i.some((function(e,t){return!L(e,r[t])}))){var o=e.multiple?t.value.some((function(e){return ea(e,i)})):t.value!==t.oldValue&&ea(t.value,i);o&&ia(e,"change")}}}};function Zo(e,t,n){Qo(e,t,n),(ee||ne)&&setTimeout((function(){Qo(e,t,n)}),0)}function Qo(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(L(ta(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function ea(e,t){return t.every((function(t){return!L(t,e)}))}function ta(e){return"_value"in e?e._value:e.value}function na(e){e.target.composing=!0}function ra(e){e.target.composing&&(e.target.composing=!1,ia(e.target,"input"))}function ia(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function oa(e){return!e.componentInstance||e.data&&e.data.transition?e:oa(e.componentInstance._vnode)}var aa={bind:function(e,t,n){var r=t.value;n=oa(n);var i=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,qo(n,(function(){e.style.display=o}))):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=oa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?qo(n,(function(){e.style.display=e.__vOriginalDisplay})):Uo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},sa={model:Jo,show:aa},ua={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function la(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?la(En(t.children)):e}function ca(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[E(o)]=i[o];return t}function ha(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fa(e){while(e=e.parent)if(e.data.transition)return!0}function da(e,t){return t.key===e.key&&t.tag===e.tag}var pa=function(e){return e.tag||xn(e)},ma=function(e){return"show"===e.name},ga={name:"transition",props:ua,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(pa),n.length)){0;var r=this.mode;0;var i=n[0];if(fa(this.$vnode))return i;var o=la(i);if(!o)return i;if(this._leaving)return ha(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var u=(o.data||(o.data={})).transition=ca(this),l=this._vnode,c=la(l);if(o.data.directives&&o.data.directives.some(ma)&&(o.data.show=!0),c&&c.data&&!da(o,c)&&!xn(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var h=c.data.transition=O({},u);if("out-in"===r)return this._leaving=!0,_t(h,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ha(e,i);if("in-out"===r){if(xn(o))return l;var f,d=function(){f()};_t(u,"afterEnter",d),_t(u,"enterCancelled",d),_t(h,"delayLeave",(function(e){f=e}))}}return i}}},va=O({tag:String,moveClass:String},ua);delete va.mode;var ya={props:va,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=On(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ca(this),s=0;s4)return e;for(n=[],r=0;r1&&"0"==i.charAt(0)&&(o=I.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?P:8==o?F:L).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r=D(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r6)return;r=0;while(f()){if(i=null,r>0){if(!("."==f()&&r<4))return;h++}if(!N.test(f()))return;while(N.test(f())){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;h++}u[l]=256*u[l]+i,r++,2!=r&&4!=r||l++}if(4!=r)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;h++,l++,c=l}}if(null!==c){a=l-c,l=7;while(0!=l&&a>0)s=u[l],u[l--]=u[c+a-1],u[c+--a]=s}else if(8!=l)return;return u},z=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t},V=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=C(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=z(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},W={},G=f({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),K=f({},G,{"#":1,"?":1,"{":1,"}":1}),X=f({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Y=function(e,t){var n=p(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Z=function(e){return h(J,e.scheme)},Q=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var n;return 2==e.length&&M.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ne=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},re=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&te(t[0],!0)||t.pop()},ie=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ae={},se={},ue={},le={},ce={},he={},fe={},de={},pe={},me={},ge={},ve={},ye={},be={},we={},_e={},xe={},Ee={},Ce={},De={},Se={},ke=function(e,t,n,i){var o,a,s,u,l=n||ae,c=0,f="",p=!1,m=!1,g=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(j,"")),t=t.replace(H,""),o=d(t);while(c<=o.length){switch(a=o[c],l){case ae:if(!a||!M.test(a)){if(n)return k;l=ue;continue}f+=a.toLowerCase(),l=se;break;case se:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))f+=a.toLowerCase();else{if(":"!=a){if(n)return k;f="",l=ue,c=0;continue}if(n&&(Z(e)!=h(J,f)||"file"==f&&(Q(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=f,n)return void(Z(e)&&J[e.scheme]==e.port&&(e.port=null));f="","file"==e.scheme?l=be:Z(e)&&i&&i.scheme==e.scheme?l=le:Z(e)?l=de:"/"==o[c+1]?(l=ce,c++):(e.cannotBeABaseURL=!0,e.path.push(""),l=Ce)}break;case ue:if(!i||i.cannotBeABaseURL&&"#"!=a)return k;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,l=Se;break}l="file"==i.scheme?be:he;continue;case le:if("/"!=a||"/"!=o[c+1]){l=he;continue}l=pe,c++;break;case ce:if("/"==a){l=me;break}l=Ee;continue;case he:if(e.scheme=i.scheme,a==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Z(e))l=fe;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",l=De;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),l=Ee;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=Se}break;case fe:if(!Z(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,l=Ee;continue}l=me}else l=pe;break;case de:if(l=pe,"/"!=a||"/"!=f.charAt(c+1))continue;c++;break;case pe:if("/"!=a&&"\\"!=a){l=me;continue}break;case me:if("@"==a){p&&(f="%40"+f),p=!0,s=d(f);for(var v=0;v65535)return A;e.port=Z(e)&&w===J[e.scheme]?null:w,f=""}if(n)return;l=xe;continue}return A}f+=a;break;case be:if(e.scheme="file","/"==a||"\\"==a)l=we;else{if(!i||"file"!=i.scheme){l=Ee;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",l=De;else{if("#"!=a){ne(o.slice(c).join(""))||(e.host=i.host,e.path=i.path.slice(),re(e)),l=Ee;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",l=Se}}break;case we:if("/"==a||"\\"==a){l=_e;break}i&&"file"==i.scheme&&!ne(o.slice(c).join(""))&&(te(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),l=Ee;continue;case _e:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&te(f))l=Ee;else if(""==f){if(e.host="",n)return;l=xe}else{if(u=$(e,f),u)return u;if("localhost"==e.host&&(e.host=""),n)return;f="",l=xe}continue}f+=a;break;case xe:if(Z(e)){if(l=Ee,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=Ee,"/"!=a))continue}else e.fragment="",l=Se;else e.query="",l=De;break;case Ee:if(a==r||"/"==a||"\\"==a&&Z(e)||!n&&("?"==a||"#"==a)){if(oe(f)?(re(e),"/"==a||"\\"==a&&Z(e)||e.path.push("")):ie(f)?"/"==a||"\\"==a&&Z(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(f)&&(e.host&&(e.host=""),f=f.charAt(0)+":"),e.path.push(f)),f="","file"==e.scheme&&(a==r||"?"==a||"#"==a))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==a?(e.query="",l=De):"#"==a&&(e.fragment="",l=Se)}else f+=Y(a,K);break;case Ce:"?"==a?(e.query="",l=De):"#"==a?(e.fragment="",l=Se):a!=r&&(e.path[0]+=Y(a,W));break;case De:n||"#"!=a?a!=r&&("'"==a&&Z(e)?e.query+="%27":e.query+="#"==a?"%23":Y(a,W)):(e.fragment="",l=Se);break;case Se:a!=r&&(e.fragment+=Y(a,G));break}c++}},Te=function(e){var t,n,r=c(this,Te,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=x(r,{type:"URL"});if(void 0!==i)if(i instanceof Te)t=E(i);else if(n=ke(t={},String(i)),n)throw TypeError(n);if(n=ke(s,a,null,t),n)throw TypeError(n);var u=s.searchParams=new w,l=_(u);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(u)||null},o||(r.href=Me.call(r),r.origin=Oe.call(r),r.protocol=Ne.call(r),r.username=Ie.call(r),r.password=Fe.call(r),r.host=Pe.call(r),r.hostname=Le.call(r),r.port=Re.call(r),r.pathname=Be.call(r),r.search=je.call(r),r.searchParams=He.call(r),r.hash=$e.call(r))},Ae=Te.prototype,Me=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",Q(e)&&(l+=n+(r?":"+r:"")+"@"),l+=V(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(l+="?"+s),null!==u&&(l+="#"+u),l},Oe=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&Z(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Ne=function(){return E(this).scheme+":"},Ie=function(){return E(this).username},Fe=function(){return E(this).password},Pe=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},Le=function(){var e=E(this).host;return null===e?"":V(e)},Re=function(){var e=E(this).port;return null===e?"":String(e)},Be=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},je=function(){var e=E(this).query;return e?"?"+e:""},He=function(){return E(this).searchParams},$e=function(){var e=E(this).fragment;return e?"#"+e:""},qe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&u(Ae,{href:qe(Me,(function(e){var t=E(this),n=String(e),r=ke(t,n);if(r)throw TypeError(r);_(t.searchParams).updateSearchParams(t.query)})),origin:qe(Oe),protocol:qe(Ne,(function(e){var t=E(this);ke(t,String(e)+":",ae)})),username:qe(Ie,(function(e){var t=E(this),n=d(String(e));if(!ee(t)){t.username="";for(var r=0;rn)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete w[e]},f?r=function(e){g.nextTick(E(e))}:y&&y.now?r=function(e){y.now(E(e))}:v&&!h?(i=new v,o=i.port2,i.port1.onmessage=C,r=u(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(D)?(r=D,a.addEventListener("message",C,!1)):r=_ in c("script")?function(e){l.appendChild(c("script"))[_]=function(){l.removeChild(this),x(e)}}:function(e){setTimeout(E(e),0)}),e.exports={set:p,clear:m}},"2d00":function(e,t,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,u=s&&s.versions,l=u&&u.v8;l?(r=l.split("."),i=r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),e.exports=i&&+i},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},"2dc0":function(e,t){function n(){}e.exports=n},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e90":function(e,t,n){e.exports=f,e.exports.compileUnsafe=p,e.exports.compileToken=_;var r=n("5bfe"),i=n("0f94"),o=i.isTag,a=n("fce4"),s=n("50ea"),u=n("99e4"),l=u.trueFunc,c=u.falseFunc,h=n("e700");function f(e,t,n){var r=p(e,t,n);return d(r)}function d(e){return function(t){return o(t)&&e(t)}}function p(e,t,n){var i=r(e,t);return _(i,t,n)}function m(e){return"pseudo"===e.type&&("scope"===e.name||Array.isArray(e.data)&&e.data.some((function(e){return e.some(m)})))}var g={type:"descendant"},v={type:"pseudo",name:"scope"},y={},b=i.getParent;function w(e,t){var n=!!t&&!!t.length&&t.every((function(e){return e===y||!!b(e)}));e.forEach((function(e){if(e.length>0&&x(e[0])&&"descendant"!==e[0].type);else{if(!n||m(e))return;e.unshift(g)}e.unshift(v)}))}function _(e,t,n){e=e.filter((function(e){return e.length>0})),e.forEach(s);var r=Array.isArray(n);return n=t&&t.context||n,n&&!r&&(n=[n]),w(e,n),e.map((function(e){return E(e,t,n,r)})).reduce(C,c)}function x(e){return h[e.type]<0}function E(e,t,n,r){var i=r&&"scope"===e[0].name&&"descendant"===e[1].type;return e.reduce((function(e,r,o){return e===c?e:a[r.type](e,r,t,n,i&&1===o)}),t&&t.rootFunc||l)}function C(e,t){return t===c||e===l?e:e===c||t===l?t:function(n){return e(n)||t(n)}}var D=n("9ebc"),S=D.filters,k=i.existsOne,T=(o=i.isTag,i.getChildren);function A(e){return e.some(x)}S.not=function(e,t,n,r){var i={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)};if(i.strict&&(t.length>1||t.some(A)))throw new SyntaxError("complex selectors in :not aren't allowed in strict mode");var o=_(t,i,r);return o===c?e:o===l?c:function(t){return!o(t)&&e(t)}},S.has=function(e,t,n){var r={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict)},i=t.some(A)?[y]:null,a=_(t,r,i);return a===c?c:a===l?function(t){return T(t).some(o)&&e(t)}:(a=d(a),i?function(t){return e(t)&&(i[0]=t,k(a,T(t)))}:function(t){return e(t)&&k(a,T(t))})},S.matches=function(e,t,n,r){var i={xmlMode:!(!n||!n.xmlMode),strict:!(!n||!n.strict),rootFunc:e};return _(t,i,r)}},"2f62":function(e,t,n){"use strict";(function(e){ /*! * vuex v3.5.1 * (c) 2020 Evan You * @license MIT */ function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return F})),n.d(t,"c",(function(){return I}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function u(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=u(e[n],t)})),r}function l(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function h(e){return e&&"function"===typeof e.then}function f(e,t){return function(){return e(t)}}var d=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(e,t){this._children[e]=t},d.prototype.removeChild=function(e){delete this._children[e]},d.prototype.getChild=function(e){return this._children[e]},d.prototype.hasChild=function(e){return e in this._children},d.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},d.prototype.forEachChild=function(e){l(this._children,e)},d.prototype.forEachGetter=function(e){this._rawModule.getters&&l(this._rawModule.getters,e)},d.prototype.forEachAction=function(e){this._rawModule.actions&&l(this._rawModule.actions,e)},d.prototype.forEachMutation=function(e){this._rawModule.mutations&&l(this._rawModule.mutations,e)},Object.defineProperties(d.prototype,p);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new d(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&l(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return t.hasChild(n)};var v;var y=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&N(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,u=o.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return u.call(i,e,t,n)},this.strict=r;var l=this._modules.root.state;E(this,l,[],this._modules.root),x(this,l),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:v.config.devtools;c&&a(this)},b={state:{configurable:!0}};function w(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function _(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;E(e,n,[],e._modules.root,!0),x(e,n,t)}function x(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,o={};l(i,(function(t,n){o[n]=f(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=v.config.silent;v.config.silent=!0,e._vm=new v({data:{$$state:t},computed:o}),v.config.silent=a,e.strict&&A(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),v.nextTick((function(){return r.$destroy()})))}function E(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=M(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){v.set(s,u,r.state)}))}var l=r.context=C(e,a,n);r.forEachMutation((function(t,n){var r=a+n;S(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;k(e,r,i,l)})),r.forEachGetter((function(t,n){var r=a+n;T(e,r,t,l)})),r.forEachChild((function(r,o){E(e,t,n.concat(o),r,i)}))}function C(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=t+u),e.dispatch(u,a)},commit:r?e.commit:function(n,r,i){var o=O(n,r,i),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=t+u),e.commit(u,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return D(e,t)}},state:{get:function(){return M(e.state,n)}}}),i}function D(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function S(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function k(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return h(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function T(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function A(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function M(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function N(e){v&&e===v||(v=e,r(v))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var r=this,i=O(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},y.prototype.dispatch=function(e,t){var n=this,r=O(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(l){0}var u=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(l){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return w(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return w(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),E(this,this.state,e,this._modules.get(e),n.preserveState),x(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=M(t.state,e.slice(0,-1));v.delete(n,e[e.length-1])})),_(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),_(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var I=H((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=$(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),F=H((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=$(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),P=H((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||$(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),L=H((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=$(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),R=function(e){return{mapState:I.bind(null,e),mapGetters:P.bind(null,e),mapMutations:F.bind(null,e),mapActions:L.bind(null,e)}};function B(e){return j(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function j(e){return Array.isArray(e)||c(e)}function H(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function $(e,t,n){var r=e._modulesNamespaceMap[n];return r}function q(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var h=u(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,o){var a=u(o);if(n(e,h,a)){var s=V(),l=i(e),f="mutation "+e.type+s;U(c,f,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),z(c)}h=a})),l&&e.subscribeAction((function(e,n){if(o(e,n)){var r=V(),i=a(e),s="action "+e.type+r;U(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),z(c)}})))}}function U(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function z(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function V(){var e=new Date;return" @ "+G(e.getHours(),2)+":"+G(e.getMinutes(),2)+":"+G(e.getSeconds(),2)+"."+G(e.getMilliseconds(),3)}function W(e,t){return new Array(t+1).join(e)}function G(e,t){return W("0",t-e.toString().length)+e}var K={Store:y,install:N,version:"3.5.1",mapState:I,mapMutations:F,mapGetters:P,mapActions:L,createNamespacedHelpers:R,createLogger:q};t["a"]=K}).call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"301c":function(e,t,n){n("e198")("asyncIterator")},3022:function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),u=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),y(n)?r.showHidden=n:n&&t._extend(r,n),C(r.showHidden)&&(r.showHidden=!1),C(r.depth)&&(r.depth=2),C(r.colors)&&(r.colors=!1),C(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),h(r,e,r.depth)}function u(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function l(e,t){return e}function c(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}function h(e,n,r){if(e.customInspect&&n&&A(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return x(i)||(i=h(e,i,r)),i}var o=f(e,n);if(o)return o;var a=Object.keys(n),s=c(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),T(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(n);if(0===a.length){if(A(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(D(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(k(n))return e.stylize(Date.prototype.toString.call(n),"date");if(T(n))return d(n)}var l,y="",b=!1,w=["{","}"];if(v(n)&&(b=!0,w=["[","]"]),A(n)){var _=n.name?": "+n.name:"";y=" [Function"+_+"]"}return D(n)&&(y=" "+RegExp.prototype.toString.call(n)),k(n)&&(y=" "+Date.prototype.toUTCString.call(n)),T(n)&&(y=" "+d(n)),0!==a.length||b&&0!=n.length?r<0?D(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=b?p(e,n,r,s,a):a.map((function(t){return m(e,n,r,s,t,b)})),e.seen.pop(),g(l,y,w)):w[0]+y+w[1]}function f(e,t){if(C(t))return e.stylize("undefined","undefined");if(x(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return _(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):b(t)?e.stylize("null","null"):void 0}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,r,i){for(var o=[],a=0,s=t.length;a-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n"))):s=e.stylize("[Circular]","special")),C(a)){if(o&&i.match(/^\d+$/))return s;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function g(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return r>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function v(e){return Array.isArray(e)}function y(e){return"boolean"===typeof e}function b(e){return null===e}function w(e){return null==e}function _(e){return"number"===typeof e}function x(e){return"string"===typeof e}function E(e){return"symbol"===typeof e}function C(e){return void 0===e}function D(e){return S(e)&&"[object RegExp]"===O(e)}function S(e){return"object"===typeof e&&null!==e}function k(e){return S(e)&&"[object Date]"===O(e)}function T(e){return S(e)&&("[object Error]"===O(e)||e instanceof Error)}function A(e){return"function"===typeof e}function M(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function O(e){return Object.prototype.toString.call(e)}function N(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(C(o)&&(o=Object({NODE_ENV:"production",BASE_URL:"/md/"}).NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;a[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else a[n]=function(){};return a[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=v,t.isBoolean=y,t.isNull=b,t.isNullOrUndefined=w,t.isNumber=_,t.isString=x,t.isSymbol=E,t.isUndefined=C,t.isRegExp=D,t.isObject=S,t.isDate=k,t.isError=T,t.isFunction=A,t.isPrimitive=M,t.isBuffer=n("d60a");var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function F(){var e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",F(),t.format.apply(t,arguments))},t.inherits=n("28a0"),t._extend=function(e,t){if(!t||!S(t))return e;var n=Object.keys(t),r=n.length;while(r--)e[n[r]]=t[n[r]];return e};var L="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function B(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r=0||(i[n]=e[n]);return i}function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var r={name:"prettier",version:"2.2.0",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"10.2.3","@babel/code-frame":"7.10.4","@babel/parser":"7.12.5","@glimmer/syntax":"0.66.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.8.1","angular-estree-parser":"2.2.1","angular-html-parser":"1.7.1",camelcase:"6.2.0",chalk:"4.1.0","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cjk-regex":"2.0.0",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.0",esutils:"2.0.3","fast-glob":"3.2.4","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.138.0","get-stdin":"8.0.0",globby:"11.0.1",graphql:"15.4.0","html-element-attributes":"2.3.0","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.1.3",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.12.1",lodash:"4.17.20",mem:"8.0.0",meriyah:"3.1.6",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.7.1","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"3.0.1","remark-parse":"8.0.3",resolve:"1.19.0",semver:"7.3.2","string-width":"4.2.0",typescript:"4.1.2","unicode-regex":"3.0.0",unified:"9.2.0",vnopts:"1.0.2","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.12.3","@babel/preset-env":"7.12.1","@babel/types":"7.12.6","@glimmer/reference":"0.66.0","@rollup/plugin-alias":"3.1.1","@rollup/plugin-babel":"5.2.1","@rollup/plugin-commonjs":"16.0.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"10.0.0","@rollup/plugin-replace":"2.3.4","@types/estree":"0.0.45","@types/node":"14.14.0","@typescript-eslint/types":"4.8.1","babel-jest":"26.6.3","babel-loader":"8.2.1",benchmark:"2.1.4","builtin-modules":"3.1.0","cross-env":"7.0.2",cspell:"4.2.2",eslint:"7.13.0","eslint-config-prettier":"6.15.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.1.3","eslint-plugin-prettier-internal-rules":"file:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.21.5","eslint-plugin-unicorn":"23.0.0",execa:"4.1.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.6.1","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.1.2",rimraf:"3.0.2",rollup:"2.33.3","rollup-plugin-node-globals":"1.4.0","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","strip-ansi":"6.0.0","synchronous-promise":"2.0.15",tempy:"1.0.0","terser-webpack-plugin":"5.0.3",webpack:"5.5.1"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests_integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2018 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}};function i(){}function o(e,t,n,r,i){for(var o=0,a=t.length,s=0,u=0;oe.length?n:e})),l.value=e.join(h)}else l.value=e.join(n.slice(s,s+l.count));s+=l.count,l.added||(u+=l.count)}}var f=t[a-1];return a>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}function a(e){return{newPos:e.newPos,components:e.components.slice(0)}}i.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function s(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,h=u+l,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=u&&d+1>=l)return s([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*c;n<=c;n+=2){var r=void 0,h=f[n-1],d=f[n+1],p=(d?d.newPos:0)-n;h&&(f[n-1]=void 0);var m=h&&h.newPos+1=u&&p+1>=l)return s(o(i,r.components,t,e,i.useLongestToken));f[n]=r}else f[n]=void 0}c++}if(r)!function e(){setTimeout((function(){if(c>h)return r();p()||e()}),0)}();else for(;c<=h;){var m=p();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,o=n.length,a=e.newPos,s=a-r,u=0;a+1e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],o=0;function a(){var e={};for(i.push(e);o2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=E(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,i,o=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,u=n.compareLine||function(e,t,n,r){return t===r},l=0,c=n.fuzzFactor||0,h=0,f=0;function d(e,t){for(var n=0;n0?r[0]:" ",a=r.length>0?r.substr(1):r;if(" "===i||"-"===i){if(!u(t+1,o[t],i,a)&&++l>c)return!1;t++}}return!0}for(var p=0;p0?k[0]:" ",A=k.length>0?k.substr(1):k,M=x.linedelimiters[S];if(" "===T)D++;else if("-"===T)o.splice(D,1),a.splice(D,1);else if("+"===T)o.splice(D,0,A),a.splice(D,0,M),D++;else if("\\"===T){var O=x.lines[S-1]?x.lines[S-1][0]:null;"+"===O?r=!0:"-"===O&&(i=!0)}}}if(r)for(;!o[o.length-1];)o.pop(),a.pop();else i&&(o.push(""),a.push("\n"));for(var N=0;N0?u(d.lines.slice(-a.context)):[],c-=f.length,h-=f.length)}(o=f).push.apply(o,v(i.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=i.length:p+=i.length}else{if(c)if(i.length<=2*a.context&&e=s.length-2&&i.length<=a.context){var _=/\n$/.test(n),x=/\n$/.test(r),E=0==i.length&&f.length>w.oldLines;!_&&E&&n.length>0&&f.splice(w.oldLines,0,"\\ No newline at end of file"),(_||E)&&x||f.push("\\ No newline at end of file")}l.push(w),c=0,h=0,f=[]}p+=i.length,m+=i.length}},y=0;ye.length)return!1;for(var n=0;n/g,">")).replace(/"/g,""")}x.tokenize=function(e){return e.slice()},x.join=x.removeEmpty=function(e){return e};var W=Object.freeze({__proto__:null,Diff:i,applyPatch:D,applyPatches:function(e,t){"string"==typeof e&&(e=E(e));var n=0;!function r(){var i=e[n++];if(!i)return t.complete();t.loadFile(i,(function(e,n){if(e)return t.complete(e);var o=D(n,i,t);t.patched(i,o,(function(e){if(e)return t.complete(e);r()}))}))}()},canonicalize:_,convertChangesToDMP:function(e){for(var t,n,r=[],i=0;i"):r.removed&&t.push(""),t.push(V(r.value)),r.added?t.push(""):r.removed&&t.push("")}return t.join("")},createPatch:function(e,t,n,r,i,o){return k(e,e,t,n,r,i,o)},createTwoFilesPatch:k,diffArrays:function(e,t,n){return x.diff(e,t,n)},diffChars:function(e,t,n){return s.diff(e,t,n)},diffCss:function(e,t,n){return m.diff(e,t,n)},diffJson:function(e,t,n){return w.diff(e,t,n)},diffLines:d,diffSentences:function(e,t,n){return p.diff(e,t,n)},diffTrimmedLines:function(e,t,n){var r=u(n,{ignoreWhitespace:!0});return f.diff(e,t,r)},diffWords:function(e,t,n){return n=u(n,{ignoreWhitespace:!0}),h.diff(e,t,n)},diffWordsWithSpace:function(e,t,n){return h.diff(e,t,n)},merge:function(e,t,n){e=M(e,n),t=M(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(O(e)?O(t)?(r.oldFileName=N(r,e.oldFileName,t.oldFileName),r.newFileName=N(r,e.newFileName,t.newFileName),r.oldHeader=N(r,e.oldHeader,t.oldHeader),r.newHeader=N(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var i=0,o=0,a=0,s=0;i0){for(let e=0;e"string"==typeof e?e.replace((({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")})(),""):e;const ne=e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141);var re=ne,ie=ne;re.default=ie;const oe=e=>{if("string"!=typeof(e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===e.length)return 0;e=te(e);let t=0;for(let n=0;n=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=re(r)?2:1)}return t};var ae=oe,se=oe;ae.default=se;var ue=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},le=e=>e[e.length-1],ce="undefined"!=typeof t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function he(){throw new Error("setTimeout has not been defined")}function fe(){throw new Error("clearTimeout has not been defined")}var de=he,pe=fe;function me(e){if(de===setTimeout)return setTimeout(e,0);if((de===he||!de)&&setTimeout)return de=setTimeout,setTimeout(e,0);try{return de(e,0)}catch(n){try{return de.call(null,e,0)}catch(n){return de.call(this,e,0)}}}"function"==typeof ce.setTimeout&&(de=setTimeout),"function"==typeof ce.clearTimeout&&(pe=clearTimeout);var ge,ve=[],ye=!1,be=-1;function we(){ye&&ge&&(ye=!1,ge.length?ve=ge.concat(ve):be=-1,ve.length&&_e())}function _e(){if(!ye){var e=me(we);ye=!0;for(var t=ve.length;t;){for(ge=ve,ve=[];++be1)for(var n=1;nconsole.error("SEMVER",...e):()=>{},Le={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Re="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof t?t:"undefined"!=typeof self?self:{};function Be(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function je(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var He=Be((function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Le,r=(t=e.exports={}).re=[],i=t.src=[],o=t.t={};let a=0;const s=(e,t,n)=>{const s=a++;Pe(s,t),o[e]=s,i[s]=t,r[s]=new RegExp(t,n?"g":void 0)};s("NUMERICIDENTIFIER","0|[1-9]\\d*"),s("NUMERICIDENTIFIERLOOSE","[0-9]+"),s("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),s("MAINVERSION","(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")\\.")+"(".concat(i[o.NUMERICIDENTIFIER],")")),s("MAINVERSIONLOOSE","(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[o.NUMERICIDENTIFIERLOOSE],")")),s("PRERELEASEIDENTIFIER","(?:".concat(i[o.NUMERICIDENTIFIER],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[o.NUMERICIDENTIFIERLOOSE],"|").concat(i[o.NONNUMERICIDENTIFIER],")")),s("PRERELEASE","(?:-(".concat(i[o.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIER],")*))")),s("PRERELEASELOOSE","(?:-?(".concat(i[o.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[o.PRERELEASEIDENTIFIERLOOSE],")*))")),s("BUILDIDENTIFIER","[0-9A-Za-z-]+"),s("BUILD","(?:\\+(".concat(i[o.BUILDIDENTIFIER],"(?:\\.").concat(i[o.BUILDIDENTIFIER],")*))")),s("FULLPLAIN","v?".concat(i[o.MAINVERSION]).concat(i[o.PRERELEASE],"?").concat(i[o.BUILD],"?")),s("FULL","^".concat(i[o.FULLPLAIN],"$")),s("LOOSEPLAIN","[v=\\s]*".concat(i[o.MAINVERSIONLOOSE]).concat(i[o.PRERELEASELOOSE],"?").concat(i[o.BUILD],"?")),s("LOOSE","^".concat(i[o.LOOSEPLAIN],"$")),s("GTLT","((?:<|>)?=?)"),s("XRANGEIDENTIFIERLOOSE","".concat(i[o.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),s("XRANGEIDENTIFIER","".concat(i[o.NUMERICIDENTIFIER],"|x|X|\\*")),s("XRANGEPLAIN","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIER],")")+"(?:".concat(i[o.PRERELEASE],")?").concat(i[o.BUILD],"?")+")?)?"),s("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[o.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[o.PRERELEASELOOSE],")?").concat(i[o.BUILD],"?")+")?)?"),s("XRANGE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAIN],"$")),s("XRANGELOOSE","^".concat(i[o.GTLT],"\\s*").concat(i[o.XRANGEPLAINLOOSE],"$")),s("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),s("COERCERTL",i[o.COERCE],!0),s("LONETILDE","(?:~>?)"),s("TILDETRIM","(\\s*)".concat(i[o.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",s("TILDE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAIN],"$")),s("TILDELOOSE","^".concat(i[o.LONETILDE]).concat(i[o.XRANGEPLAINLOOSE],"$")),s("LONECARET","(?:\\^)"),s("CARETTRIM","(\\s*)".concat(i[o.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",s("CARET","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAIN],"$")),s("CARETLOOSE","^".concat(i[o.LONECARET]).concat(i[o.XRANGEPLAINLOOSE],"$")),s("COMPARATORLOOSE","^".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],")$|^$")),s("COMPARATOR","^".concat(i[o.GTLT],"\\s*(").concat(i[o.FULLPLAIN],")$|^$")),s("COMPARATORTRIM","(\\s*)".concat(i[o.GTLT],"\\s*(").concat(i[o.LOOSEPLAIN],"|").concat(i[o.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",s("HYPHENRANGE","^\\s*(".concat(i[o.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAIN],")")+"\\s*$"),s("HYPHENRANGELOOSE","^\\s*(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[o.XRANGEPLAINLOOSE],")")+"\\s*$"),s("STAR","(<|>)?=?\\s*\\*"),s("GTE0","^\\s*>=\\s*0.0.0\\s*$"),s("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}));const $e=/^[0-9]+$/,qe=(e,t)=>{const n=$e.test(e),r=$e.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:eqe(t,e)};const{MAX_LENGTH:ze,MAX_SAFE_INTEGER:Ve}=Le,{re:We,t:Ge}=He,{compareIdentifiers:Ke}=Ue;class Xe{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof Xe){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>ze)throw new TypeError("version is longer than ".concat(ze," characters"));Pe("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?We[Ge.LOOSE]:We[Ge.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Ve||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ve||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ve||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}var Ye=Xe,Je=(e,t,n)=>new Ye(e,n).compare(new Ye(t,n)),Ze=(e,t,n)=>Je(e,t,n)<0,Qe=(e,t,n)=>Je(e,t,n)>=0,et=Be((function(e,t){function n(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:null,description:"Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:ht,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:ut},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:ht,description:st(it()),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:ut},printWidth:{since:"0.0.0",category:ht,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:ft,type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:st(rt()),cliCategory:lt},rangeStart:{since:"1.4.0",category:ft,type:"int",default:0,range:{start:0,end:1/0,step:1},description:st(nt()),cliCategory:lt},requirePragma:{since:"1.7.0",category:ft,type:"boolean",default:!1,description:st(tt()),cliCategory:ct},tabWidth:{type:"int",category:ht,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{since:"1.0.0",category:ht,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:ht,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},pt={compare:Je,lt:Ze,gte:Qe},mt=r.version,gt={CATEGORY_CONFIG:ut,CATEGORY_EDITOR:lt,CATEGORY_FORMAT:"Format",CATEGORY_OTHER:ct,CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:ht,CATEGORY_SPECIAL:ft,options:dt}.options;var vt={getSupportInfo:function({plugins:t=[],showUnreleased:n=!1,showDeprecated:r=!1,showInternal:i=!1}={}){const o=mt.split("-",1)[0],a=t.reduce((e,t)=>e.concat(t.languages||[]),[]).filter(u),s=((e,t)=>Object.entries(e).map(([e,n])=>Object.assign({[t]:e},n)))(Object.assign({},...t.map(({options:e})=>e),gt),"name").filter(e=>u(e)&&l(e)).sort((e,t)=>e.name===t.name?0:e.name{e=Object.assign({},e),Array.isArray(e.default)&&(e.default=1===e.default.length?e.default[0].value:e.default.filter(u).sort((e,t)=>pt.compare(t.since,e.since))[0].value),Array.isArray(e.choices)&&(e.choices=e.choices.filter(e=>u(e)&&l(e)),"parser"===e.name&&function(e,t,n){const r=new Set(e.choices.map(e=>e.value));for(const i of t)if(i.parsers)for(const t of i.parsers)if(!r.has(t)){r.add(t);const o=n.find(e=>e.parsers&&e.parsers[t]);let a=i.name;o&&o.name&&(a+=" (plugin: ".concat(o.name,")")),e.choices.push({value:t,description:a})}}(e,a,t));const n=t.filter(t=>t.defaultOptions&&void 0!==t.defaultOptions[e.name]).reduce((t,n)=>(t[n.name]=n.defaultOptions[e.name],t),{});return Object.assign({},e,{pluginDefaults:n})});return{languages:a,options:s};function u(e){return n||!("since"in e)||e.since&&pt.gte(o,e.since)}function l(e){return r||!("deprecated"in e)||e.deprecated&&pt.lt(o,e.deprecated)}}};const{getSupportInfo:yt}=vt,bt=/[^\x20-\x7F]/;function wt(e){return(t,n,r)=>{const i=r&&r.backwards;if(!1===n)return!1;const{length:o}=t;let a=n;for(;a>=0&&a(n.match(a.regex)||[]).length?a.quote:o.quote),s}function Ft(e,t,n){const r='"'===t?"'":'"',i=e.replace(/\\([\S\s])|(["'])/g,(e,i,o)=>i===r?i:o===t?"\\"+o:o||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+i+t}function Pt(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Lt={inferParserByLanguage:function(e,t){const{languages:n}=yt({plugins:t.plugins}),r=n.find(({name:t})=>t.toLowerCase()===e)||n.find(({aliases:t})=>Array.isArray(t)&&t.includes(e))||n.find(({extensions:t})=>Array.isArray(t)&&t.includes(".".concat(e)));return r&&r.parsers[0]},replaceEndOfLineWith:function(e,t){const n=[];for(const r of e.split("\n"))0!==n.length&&n.push(t),n.push(r);return n},getStringWidth:function(e){return e?bt.test(e)?ae(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(ue(t),")+"),"g"));return null===n?0:n.reduce((e,n)=>Math.max(e,n.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(ue(t),")+"),"g"));if(null===n)return 0;const r=new Map;let i=0;for(const o of n){const e=o.length/t.length;r.set(e,!0),e>i&&(i=e)}for(let o=1;oe[e.length-2],getLast:le,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Mt,getNextNonSpaceNonCommentCharacterIndex:Ot,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(Ot(e,t,n))},skip:wt,skipWhitespace:_t,skipSpaces:xt,skipToLineEnd:Et,skipEverythingButNewLine:Ct,skipInlineComment:Dt,skipTrailingComment:St,skipNewline:kt,isNextLineEmptyAfterIndex:At,isNextLineEmpty:function(e,t,n){return At(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=xt(e,r,{backwards:!0}),r=kt(e,r,{backwards:!0}),r=xt(e,r,{backwards:!0}),r!==kt(e,r,{backwards:!0})},hasNewline:Tt,hasNewlineInRange:function(e,t,n){for(let r=t;r=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},countEndOfLineChars:function(e,t){let n;if("\n"===t)n=/\n/g;else if("\r"===t)n=/\r/g;else{if("\r\n"!==t)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}const r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,"\n")}};const{getStringWidth:Bt}=Lt,{convertEndOfLineToChars:jt}=Rt,{concat:Ht,fill:$t,cursor:qt}=ee;let Ut;function zt(e,t){return Wt(e,{type:"indent"},t)}function Vt(e,t,n){return t===-1/0?e.root||{value:"",length:0,queue:[]}:t<0?Wt(e,{type:"dedent"},n):t?"root"===t.type?Object.assign({},e,{root:e}):Wt(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},n):e}function Wt(e,t,n){const r="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t);let i="",o=0,a=0,s=0;for(const d of r)switch(d.type){case"indent":c(),n.useTabs?u(1):l(n.tabWidth);break;case"stringAlign":c(),i+=d.n,o+=d.n.length;break;case"numberAlign":a+=1,s+=d.n;break;default:throw new Error("Unexpected type '".concat(d.type,"'"))}return h(),Object.assign({},e,{value:i,length:o,queue:r});function u(e){i+="\t".repeat(e),o+=n.tabWidth*e}function l(e){i+=" ".repeat(e),o+=e}function c(){n.useTabs?function(){a>0&&u(a),f()}():h()}function h(){s>0&&l(s),f()}function f(){a=0,s=0}}function Gt(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[\t ]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){const n=e[e.length-1].replace(/[\t ]*$/,"");t+=e[e.length-1].length-n.length,e[e.length-1]=n}return t}function Kt(e,t,n,r,i){let o=t.length;const a=[e],s=[];for(;n>=0;){if(0===a.length){if(0===o)return!0;a.push(t[o-1]),o--;continue}const[e,u,l]=a.pop();if("string"==typeof l)s.push(l),n-=Bt(l);else switch(l.type){case"concat":for(let t=l.parts.length-1;t>=0;t--)a.push([e,u,l.parts[t]]);break;case"indent":a.push([zt(e,r),u,l.contents]);break;case"align":a.push([Vt(e,l.n,r),u,l.contents]);break;case"trim":n+=Gt(s);break;case"group":if(i&&l.break)return!1;a.push([e,l.break?1:u,l.contents]),l.id&&(Ut[l.id]=a[a.length-1][1]);break;case"fill":for(let t=l.parts.length-1;t>=0;t--)a.push([e,u,l.parts[t]]);break;case"if-break":{const t=l.groupId?Ut[l.groupId]:u;1===t&&l.breakContents&&a.push([e,u,l.breakContents]),2===t&&l.flatContents&&a.push([e,u,l.flatContents]);break}case"line":switch(u){case 2:if(!l.hard){l.soft||(s.push(" "),n-=1);break}return!0;case 1:return!0}}}return!1}var Xt={printDocToString:function(e,t){Ut={};const n=t.printWidth,r=jt(t.endOfLine);let i=0;const o=[[{value:"",length:0,queue:[]},1,e]],a=[];let s=!1,u=[];for(;0!==o.length;){const[e,l,c]=o.pop();if("string"==typeof c){const e="\n"!==r&&c.includes("\n")?c.replace(/\n/g,r):c;a.push(e),i+=Bt(e)}else switch(c.type){case"cursor":a.push(qt.placeholder);break;case"concat":for(let t=c.parts.length-1;t>=0;t--)o.push([e,l,c.parts[t]]);break;case"indent":o.push([zt(e,t),l,c.contents]);break;case"align":o.push([Vt(e,c.n,t),l,c.contents]);break;case"trim":i-=Gt(a);break;case"group":switch(l){case 2:if(!s){o.push([e,c.break?1:2,c.contents]);break}case 1:{s=!1;const r=[e,2,c.contents],a=n-i;if(!c.break&&Kt(r,o,a,t))o.push(r);else if(c.expandedStates){const n=c.expandedStates[c.expandedStates.length-1];if(c.break){o.push([e,1,n]);break}for(let r=1;r=c.expandedStates.length){o.push([e,1,n]);break}{const n=[e,2,c.expandedStates[r]];if(Kt(n,o,a,t)){o.push(n);break}}}}else o.push([e,1,c.contents]);break}}c.id&&(Ut[c.id]=o[o.length-1][1]);break;case"fill":{const r=n-i,{parts:a}=c;if(0===a.length)break;const[s,u]=a,h=[e,2,s],f=[e,1,s],d=Kt(h,[],r,t,!0);if(1===a.length){d?o.push(h):o.push(f);break}const p=[e,2,u],m=[e,1,u];if(2===a.length){d?(o.push(p),o.push(h)):(o.push(m),o.push(f));break}a.splice(0,2);const g=[e,l,$t(a)],v=a[0];Kt([e,2,Ht([s,u,v])],[],r,t,!0)?(o.push(g),o.push(p),o.push(h)):d?(o.push(g),o.push(m),o.push(h)):(o.push(g),o.push(m),o.push(f));break}case"if-break":{const t=c.groupId?Ut[c.groupId]:l;1===t&&c.breakContents&&o.push([e,l,c.breakContents]),2===t&&c.flatContents&&o.push([e,l,c.flatContents]);break}case"line-suffix":u.push([e,l,c.contents]);break;case"line-suffix-boundary":u.length>0&&o.push([e,l,{type:"line",hard:!0}]);break;case"line":switch(l){case 2:if(!c.hard){c.soft||(a.push(" "),i+=1);break}s=!0;case 1:if(u.length){o.push([e,l,c]),o.push(...u.reverse()),u=[];break}c.literal?e.root?(a.push(r,e.root.value),i=e.root.length):(a.push(r),i=0):(i-=Gt(a),a.push(r+e.value),i=e.length)}}0===o.length&&u.length&&(o.push(...u.reverse()),u=[])}const l=a.indexOf(qt.placeholder);if(-1!==l){const e=a.indexOf(qt.placeholder,l+1),t=a.slice(0,l).join(""),n=a.slice(l+1,e).join("");return{formatted:t+n+a.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:n}}return{formatted:a.join("")}}};const{literalline:Yt,concat:Jt}=ee,Zt={};function Qt(e,t,n,r){const i=[e];for(;0!==i.length;){const e=i.pop();if(e!==Zt){if(n&&i.push(e,Zt),!t||!1!==t(e))if("concat"===e.type||"fill"===e.type)for(let t=e.parts.length-1;t>=0;--t)i.push(e.parts[t]);else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(r)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else n(i.pop())}}function en(e,t){if("concat"===e.type||"fill"===e.type){const n=e.parts.map(e=>en(e,t));return t(Object.assign({},e,{parts:n}))}if("if-break"===e.type){const n=e.breakContents&&en(e.breakContents,t),r=e.flatContents&&en(e.flatContents,t);return t(Object.assign({},e,{breakContents:n,flatContents:r}))}if(e.contents){const n=en(e.contents,t);return t(Object.assign({},e,{contents:n}))}return t(e)}function tn(e,t,n){let r=n,i=!1;return Qt(e,(function(e){const n=t(e);if(void 0!==n&&(i=!0,r=n),i)return!1})),r}function nn(e){return"string"!=typeof e&&("line"===e.type||void 0)}function rn(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function on(e){if(e.length>0){const t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function an(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function sn(e){const t=[],n=e.filter(Boolean);for(;0!==n.length;){const e=n.shift();e&&("concat"!==e.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof e?t.push(e):t[t.length-1]+=e:n.unshift(...e.parts))}return t}function un(e){if("concat"===e.type){const t=[];for(let n=0;n0&&!t;r--)t=n[r-1];return"group"===t.type&&(n=t.contents.parts),n}(t):t.parts,i=r[r.length-1];if("concat"===i.type)return 2===i.parts.length&&i.parts[0].hard&&"break-parent"===i.parts[1].type?{type:"concat",parts:r.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(i))}}return t},normalizeParts:sn,normalizeDoc:function(e){return en(e,e=>e.parts?Object.assign({},e,{parts:sn(e.parts)}):e)},replaceNewlinesWithLiterallines:function(e){return en(e,e=>"string"==typeof e&&e.includes("\n")?Jt(e.split(/(\n)/g).map((e,t)=>t%2==0?e:Yt)):e)}},debug:{printDocToDebug:e=>ln(un(e))}};const hn=()=>!1,fn=()=>"";var dn={existsSync:hn,readFileSync:fn},pn=Object.freeze({__proto__:null,existsSync:hn,readFileSync:fn,default:dn});function mn(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function gn(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s2){var u=r.lastIndexOf("/");if(u!==r.length-1){-1===u?(r="",i=0):i=(r=r.slice(0,u)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var vn={resolve:function(){for(var e,t="",n=!1,r=arguments.length-1;r>=-1&&!n;r--){var i;r>=0?i=arguments[r]:(void 0===e&&(e=Fe.cwd()),i=e),mn(i),0!==i.length&&(t=i+"/"+t,n=47===i.charCodeAt(0))}return t=gn(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(mn(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=gn(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return mn(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":vn.normalize(e)},relative:function(e,t){if(mn(e),mn(t),e===t)return"";if((e=vn.resolve(e))===(t=vn.resolve(t)))return"";for(var n=1;ns){if(47===t.charCodeAt(o+l))return t.slice(o+l+1);if(0===l)return t.slice(o+l)}else i>s&&(47===e.charCodeAt(n+l)?u=l:0===l&&(u=0));break}var c=e.charCodeAt(n+l);if(c!==t.charCodeAt(o+l))break;47===c&&(u=l)}var h="";for(l=n+u+1;l<=r;++l)l!==r&&47!==e.charCodeAt(l)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(o+u):(o+=u,47===t.charCodeAt(o)&&++o,t.slice(o))},_makeLong:function(e){return e},dirname:function(e){if(mn(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');mn(e);var n,r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,s=-1;for(n=e.length-1;n>=0;--n){var u=e.charCodeAt(n);if(47===u){if(!o){r=n+1;break}}else-1===s&&(o=!1,s=n+1),a>=0&&(u===t.charCodeAt(a)?-1==--a&&(i=n):(a=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname:function(e){mn(e);for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){mn(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),i=47===r;i?(t.root="/",n=1):n=0;for(var o=-1,a=0,s=-1,u=!0,l=e.length-1,c=0;l>=n;--l)if(47!==(r=e.charCodeAt(l)))-1===s&&(u=!1,s=l+1),46===r?-1===o?o=l:1!==c&&(c=1):-1!==o&&(c=-1);else if(!u){a=l+1;break}return-1===o||-1===s||0===c||1===c&&o===s-1&&o===a+1?-1!==s&&(t.base=t.name=0===a&&i?e.slice(1,s):e.slice(a,s)):(0===a&&i?(t.name=e.slice(1,o),t.base=e.slice(1,s)):(t.name=e.slice(a,o),t.base=e.slice(a,s)),t.ext=e.slice(o,s)),a>0?t.dir=e.slice(0,a-1):i&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};vn.posix=vn;var yn=vn,bn=Object.freeze(Object.assign(Object.create(null),yn,{default:yn,__moduleExports:yn})),wn=[],_n=[],xn="undefined"!=typeof Uint8Array?Uint8Array:Array,En=!1;function Cn(){En=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+wn[i>>12&63]+wn[i>>6&63]+wn[63&i]);return o.join("")}function Sn(e){var t;En||Cn();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,u=n-r;su?u:s+a));return 1===r?(t=e[n-1],i+=wn[t>>2],i+=wn[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=wn[t>>10],i+=wn[t>>4&63],i+=wn[t<<2&63],i+="="),o.push(i),o.join("")}function kn(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,h=n?i-1:0,f=n?-1:1,d=e[t+h];for(h+=f,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+h],h+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+h],h+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=l}return(d?-1:1)*a*Math.pow(2,o-r)}function Tn(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(a++,u/=2),a+h>=c?(s=0,a=c):a+h>=1?(s=(t*u-1)*Math.pow(2,i),a+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<0;e[n+d]=255&a,d+=p,a/=256,l-=8);e[n+d-p]|=128*m}var An={}.toString,Mn=Array.isArray||function(e){return"[object Array]"==An.call(e)};function On(){return In.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Nn(e,t){if(On()=On())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+On().toString(16)+" bytes");return 0|e}function jn(e){return!(null==e||!e._isBuffer)}function Hn(e,t){if(jn(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return dr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return pr(e).length;default:if(r)return dr(e).length;t=(""+t).toLowerCase(),r=!0}}function $n(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return nr(this,t,n);case"utf8":case"utf-8":return Zn(this,t,n);case"ascii":return er(this,t,n);case"latin1":case"binary":return tr(this,t,n);case"base64":return Jn(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rr(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function qn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Un(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=In.from(t,r)),jn(t))return 0===t.length?-1:zn(e,t,n,r,i);if("number"==typeof t)return t&=255,In.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):zn(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function zn(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;os&&(n=s-u),o=n;o>=0;o--){for(var h=!0,f=0;fi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function Jn(e,t,n){return 0===t&&n===e.length?Sn(e):Sn(e.slice(t,n))}function Zn(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,h=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=h}return function(e){var t=e.length;if(t<=Qn)return String.fromCharCode.apply(String,e);for(var n="",r=0;r0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},In.prototype.compare=function(e,t,n,r,i){if(!jn(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(r,i),l=e.slice(t,n),c=0;ci)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Vn(this,e,t,n);case"utf8":case"utf-8":return Wn(this,e,t,n);case"ascii":return Gn(this,e,t,n);case"latin1":case"binary":return Kn(this,e,t,n);case"base64":return Xn(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yn(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},In.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Qn=4096;function er(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function or(e,t,n,r,i,o){if(!jn(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function ar(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function sr(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function ur(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function lr(e,t,n,r,i){return i||ur(e,0,n,4),Tn(e,t,n,r,23,4),n+4}function cr(e,t,n,r,i){return i||ur(e,0,n,8),Tn(e,t,n,r,52,8),n+8}In.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},In.prototype.readUInt8=function(e,t){return t||ir(e,1,this.length),this[e]},In.prototype.readUInt16LE=function(e,t){return t||ir(e,2,this.length),this[e]|this[e+1]<<8},In.prototype.readUInt16BE=function(e,t){return t||ir(e,2,this.length),this[e]<<8|this[e+1]},In.prototype.readUInt32LE=function(e,t){return t||ir(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},In.prototype.readUInt32BE=function(e,t){return t||ir(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},In.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||ir(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},In.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||ir(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},In.prototype.readInt8=function(e,t){return t||ir(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},In.prototype.readInt16LE=function(e,t){t||ir(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},In.prototype.readInt16BE=function(e,t){t||ir(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},In.prototype.readInt32LE=function(e,t){return t||ir(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},In.prototype.readInt32BE=function(e,t){return t||ir(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},In.prototype.readFloatLE=function(e,t){return t||ir(e,4,this.length),kn(this,e,!0,23,4)},In.prototype.readFloatBE=function(e,t){return t||ir(e,4,this.length),kn(this,e,!1,23,4)},In.prototype.readDoubleLE=function(e,t){return t||ir(e,8,this.length),kn(this,e,!0,52,8)},In.prototype.readDoubleBE=function(e,t){return t||ir(e,8,this.length),kn(this,e,!1,52,8)},In.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||or(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},In.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,1,255,0),In.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},In.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,65535,0),In.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ar(this,e,t,!0),t+2},In.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,65535,0),In.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ar(this,e,t,!1),t+2},In.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,4294967295,0),In.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):sr(this,e,t,!0),t+4},In.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,4294967295,0),In.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):sr(this,e,t,!1),t+4},In.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);or(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},In.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);or(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},In.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,1,127,-128),In.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},In.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,32767,-32768),In.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):ar(this,e,t,!0),t+2},In.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,2,32767,-32768),In.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):ar(this,e,t,!1),t+2},In.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,2147483647,-2147483648),In.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):sr(this,e,t,!0),t+4},In.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||or(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),In.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):sr(this,e,t,!1),t+4},In.prototype.writeFloatLE=function(e,t,n){return lr(this,e,t,!0,n)},In.prototype.writeFloatBE=function(e,t,n){return lr(this,e,t,!1,n)},In.prototype.writeDoubleLE=function(e,t,n){return cr(this,e,t,!0,n)},In.prototype.writeDoubleBE=function(e,t,n){return cr(this,e,t,!1,n)},In.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!In.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function pr(e){return function(e){var t,n,r,i,o,a;En||Cn();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new xn(3*s/4-o),r=o>0?s-4:s;var u=0;for(t=0,n=0;t>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=_n[e.charCodeAt(t)]<<2|_n[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=_n[e.charCodeAt(t)]<<10|_n[e.charCodeAt(t+1)]<<4|_n[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(hr,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function mr(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function gr(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var vr=je(pn),yr=class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd="number"==typeof e?e:vr.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){vr.closeSync(this.fd),this.fd=null}_extractLines(e){let t;const n=[];let r=0,i=0;for(;;){let o=e[r++];if(o===this.newLineCharacter)t=e.slice(i,r),n.push(t),i=r;else if(void 0===o)break}let o=e.slice(i,r);return o.length&&n.push(o),n}_readChunk(e){let t,n=0;const r=[];do{const e=new In(this.options.readChunk);t=vr.readSync(this.fd,e,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(e)}while(t&&-1===this._searchInBuffer(r[r.length-1],this.options.newLineCharacter));let i=In.concat(r);return t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function kr(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function Tr(e){return this instanceof Tr?(this.v=e,this):new Tr(e)}var Ar=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}Cr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return Dr},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))},__generator:function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!((i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof Tr?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(e){c(o[0][3],e)}var n}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:Tr(e[r](t)),done:"return"===r}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Sr(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,i,(t=e[n](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),Mr=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map(e=>t.apiDescriptor.value(e)).join(", "),"]");const n=Object.keys(e);return 0===n.length?"{}":"{ ".concat(n.map(n=>"".concat(t.apiDescriptor.key(n),": ").concat(t.apiDescriptor.value(e[n]))).join(", ")," }")},pair:({key:e,value:n})=>t.apiDescriptor.value({[e]:n})}})),Or=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ar.__exportStar(Mr,t)})),Nr=/[|\\{}()[\]^$+*?.]/g,Ir=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(Nr,"\\$&")},Fr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Pr=Be((function(e){var t={};for(var n in Fr)Fr.hasOwnProperty(n)&&(t[Fr[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,a=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:a})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return s===a?t=0:r===s?t=(i-o)/u:i===s?t=2+(o-r)/u:o===s&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(a,s,u),c=l-Math.min(a,s,u),h=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=h(a),n=h(s),r=h(u),a===l?i=r-n:s===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,a=1/0;for(var s in Fr)if(Fr.hasOwnProperty(s)){var u=Fr[s],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,a,s,u=e[0]/360,l=e[1]/100,c=e[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,a=i,s=l;break;case 1:o=i,a=n,s=l;break;case 2:o=l,a=n,s=i;break;case 3:o=l,a=i,s=n;break;case 4:o=i,a=l,s=n;break;case 5:o=n,a=l,s=i}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function Lr(e){var t=function(){for(var e={},t=Object.keys(Pr),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var Hr=jr,$r=Be((function(e){const t=(e,t)=>function(){const n=e.apply(Hr,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(Hr,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(Hr,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,a=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(a,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(a,10)};for(let s of Object.keys(Hr)){if("object"!=typeof Hr[s])continue;const e=Hr[s];"ansi16"===s&&(s="ansi"),"ansi16"in e&&(i.color.ansi[s]=t(e.ansi16,0),i.bgColor.ansi[s]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[s]=n(e.ansi256,0),i.bgColor.ansi256[s]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[s]=r(e.rgb,0),i.bgColor.ansi16m[s]=r(e.rgb,10))}return i}})})),qr=(e,t)=>{t=t||Fe.argv;const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r"browser",cpus:()=>[{model:"Prettier"}]}}));const zr=Fe.env;let Vr;function Wr(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===Vr)return 0;if(qr("color=16m")||qr("color=full")||qr("color=truecolor"))return 3;if(qr("color=256"))return 2;if(e&&!e.isTTY&&!0!==Vr)return 0;const t=Vr?1:0;if("win32"===Fe.platform){const e=Ur.release().split(".");return Number(Fe.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in zr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in zr)||"codeship"===zr.CI_NAME?1:t;if("TEAMCITY_VERSION"in zr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(zr.TEAMCITY_VERSION)?1:0;if("truecolor"===zr.COLORTERM)return 3;if("TERM_PROGRAM"in zr){const e=parseInt((zr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(zr.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(zr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(zr.TERM)||"COLORTERM"in zr?1:(zr.TERM,t)}(e))}qr("no-color")||qr("no-colors")||qr("color=false")?Vr=!1:(qr("color")||qr("colors")||qr("color=true")||qr("color=always"))&&(Vr=!0),"FORCE_COLOR"in zr&&(Vr=0===zr.FORCE_COLOR.length||0!==parseInt(zr.FORCE_COLOR,10));var Gr={supportsColor:Wr,stdout:Wr(Fe.stdout),stderr:Wr(Fe.stderr)};const Kr=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Xr=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Yr=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Jr=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Zr=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Qr(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Zr.get(e)||e}function ei(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(Yr)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Jr,(e,t,n)=>t?Qr(t):n))}else n.push(Number(o));return n}function ti(e){Xr.lastIndex=0;const t=[];let n;for(;null!==(n=Xr.exec(e));){const e=n[1];if(n[2]){const r=ei(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ni(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var ri=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Kr,(t,o,a,s,u,l)=>{if(o)i.push(Qr(o));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:ni(e,n)(t)),n.push({inverse:a,styles:ti(s)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ni(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},ii=Be((function(e){const t=Gr.stdout,n="win32"===Fe.platform&&!(Fe.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return a(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}a(this,e)}n&&($r.blue.open="");for(const f of Object.keys($r))$r[f].closeRe=new RegExp(Ir($r[f].close),"g"),o[f]={get(){const e=$r[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},$r.color.closeRe=new RegExp(Ir($r.color.close),"g");for(const f of Object.keys($r.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=$r.color[r[e]][f].apply(null,arguments),n={open:t,close:$r.color.close,closeRe:$r.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});$r.bgColor.closeRe=new RegExp(Ir($r.bgColor.close),"g");for(const f of Object.keys($r.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=$r.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:$r.bgColor.close,closeRe:$r.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n{const r=["".concat(ii.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(ii.default.blue("string"==typeof t?n.key(t):n.pair(t)))),r.join("; ")+"."}})),ai=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ar.__exportStar(oi,t)})),si=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonInvalidHandler=(e,t,n)=>["Invalid ".concat(ii.default.red(n.descriptor.key(e))," value."),"Expected ".concat(ii.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(ii.default.red(n.descriptor.value(t)),".")].join(" ")})),ui=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ar.__exportStar(si,t)})),li=[],ci=[],hi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.levenUnknownHandler=(e,t,{descriptor:n,logger:r,schemas:i})=>{const o=["Ignored unknown option ".concat(ii.default.yellow(n.pair({key:e,value:t})),".")],a=Object.keys(i).sort().find(t=>function(e,t){if(e===t)return 0;var n=e;e.length>t.length&&(e=t,t=n);var r=e.length,i=t.length;if(0===r)return i;if(0===i)return r;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;if(0===r)return i;for(var o,a,s,u,l=0;la?u>a?a+1:u:u>s?s+1:u;return a}(e,t)<3);a&&o.push("Did you mean ".concat(ii.default.blue(n.key(a)),"?")),r.warn(o.join(" "))}})),fi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ar.__exportStar(hi,t)})),di=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ar.__exportStar(ai,t),Ar.__exportStar(ui,t),Ar.__exportStar(fi,t)})),pi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,t){const r=new e(t),a=Object.create(r);for(const s of n)s in t&&(a[s]=o(t[s],r,i.prototype[s].length));return a}t.createSchema=r;class i{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return e}}function o(e,t,n){return"function"==typeof e?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}t.Schema=i})),mi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}}t.AliasSchema=n})),gi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"anything"}validate(){return!0}}t.AnySchema=n})),vi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{constructor(e){var{valueSchema:t,name:n=t.name}=e,r=Ar.__rest(e,["valueSchema","name"]);super(Object.assign({},r,{name:n})),this._valueSchema=t}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;const n=[];for(const r of e){const e=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);!0!==e&&n.push(e.value)}return 0===n.length||{value:n}}deprecated(e,t){const n=[];for(const r of e){const e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);!1!==e&&n.push(...e.map(({value:e})=>({value:[e]})))}return n}forward(e,t){const n=[];for(const i of e){const e=t.normalizeForwardResult(this._valueSchema.forward(i,t),i);n.push(...e.map(r))}return n}redirect(e,t){const n=[],i=[];for(const o of e){const e=t.normalizeRedirectResult(this._valueSchema.redirect(o,t),o);"remain"in e&&n.push(e.remain),i.push(...e.redirect.map(r))}return 0===n.length?{redirect:i}:{redirect:i,remain:n}}overlap(e,t){return e.concat(t)}}function r({from:e,to:t}){return{from:[e],to:t}}t.ArraySchema=n})),yi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}}t.BooleanSchema=n})),bi=Be((function(e,t){function n(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function r(e,t){return void 0===e?[]:Array.isArray(e)?e.map(e=>n(e,t)):[n(e,t)]}Object.defineProperty(t,"__esModule",{value:!0}),t.recordFromArray=function(e,t){const n=Object.create(null);for(const r of e){const e=r[t];if(n[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n[e]=r}return n},t.mapFromArray=function(e,t){const n=new Map;for(const r of e){const e=r[t];if(n.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));n.set(e,r)}return n},t.createAutoChecklist=function(){const e=Object.create(null);return t=>{const n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},t.partition=function(e,t){const n=[],r=[];for(const i of e)t(i)?n.push(i):r.push(i);return[n,r]},t.isInt=function(e){return e===Math.floor(e)},t.comparePrimitive=function(e,t){if(e===t)return 0;const n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):"string"!==n?Number(e)-Number(t):e.localeCompare(t)},t.normalizeDefaultResult=function(e){return void 0===e?{}:e},t.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},t.normalizeDeprecatedResult=function(e,t,n=!1){return!1!==e&&(!0===e?!!n||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=n,t.normalizeForwardResult=r,t.normalizeRedirectResult=function(e,t){const n=r("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===n.length?{remain:t,redirect:n}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}})),wi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{constructor(e){super(e),this._choices=bi.mapFromArray(e.choices.map(e=>e&&"object"==typeof e?e:{value:e}),"value")}expected({descriptor:e}){const t=Array.from(this._choices.keys()).map(e=>this._choices.get(e)).filter(e=>!e.deprecated).map(e=>e.value).sort(bi.comparePrimitive).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return n.concat(r.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){const t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){const t=this._choices.get(e);return t?t.forward:void 0}redirect(e){const t=this._choices.get(e);return t?t.redirect:void 0}}t.ChoiceSchema=n})),_i=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}}t.NumberSchema=n})),xi=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends _i.NumberSchema{expected(){return"an integer"}validate(e,t){return!0===t.normalizeValidateResult(super.validate(e,t),e)&&bi.isInt(e)}}t.IntegerSchema=n})),Ei=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});class n extends pi.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}}t.StringSchema=n})),Ci=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ar.__exportStar(mi,t),Ar.__exportStar(gi,t),Ar.__exportStar(vi,t),Ar.__exportStar(yi,t),Ar.__exportStar(wi,t),Ar.__exportStar(xi,t),Ar.__exportStar(_i,t),Ar.__exportStar(Ei,t)})),Di=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=Mr.apiDescriptor,t.defaultUnknownHandler=hi.levenUnknownHandler,t.defaultInvalidHandler=ui.commonInvalidHandler,t.defaultDeprecatedHandler=oi.commonDeprecatedHandler})),Si=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=(e,t,r)=>new n(t,r).normalize(e);class n{constructor(e,t){const{logger:n=console,descriptor:r=Di.defaultDescriptor,unknown:i=Di.defaultUnknownHandler,invalid:o=Di.defaultInvalidHandler,deprecated:a=Di.defaultDeprecatedHandler}=t||{};this._utils={descriptor:r,logger:n||{warn:()=>{}},schemas:bi.recordFromArray(e,"name"),normalizeDefaultResult:bi.normalizeDefaultResult,normalizeDeprecatedResult:bi.normalizeDeprecatedResult,normalizeForwardResult:bi.normalizeForwardResult,normalizeRedirectResult:bi.normalizeRedirectResult,normalizeValidateResult:bi.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=o,this._deprecatedHandler=a,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=bi.createAutoChecklist()}normalize(e){const t={},n=[e],r=()=>{for(;0!==n.length;){const e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];if(!(i in t)){const t=bi.normalizeDefaultResult(e.default(this._utils));"value"in t&&n.push({[i]:t.value})}}r();for(const i of Object.keys(this._utils.schemas)){const e=this._utils.schemas[i];i in t&&(t[i]=e.postprocess(t[i],this._utils))}return t}_applyNormalization(e,t){const n=[],[r,i]=bi.partition(Object.keys(e),e=>e in this._utils.schemas);for(const o of r){const r=this._utils.schemas[o],i=r.preprocess(e[o],this._utils),a=bi.normalizeValidateResult(r.validate(i,this._utils),i);if(!0!==a){const{value:e}=a,t=this._invalidHandler(o,e,this._utils);throw"string"==typeof t?new Error(t):t}const s=({from:e,to:t})=>{n.push("string"==typeof t?{[t]:e}:{[t.key]:t.value})},u=({value:e,redirectTo:t})=>{const n=bi.normalizeDeprecatedResult(r.deprecated(e,this._utils),i,!0);if(!1!==n)if(!0===n)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,t,this._utils));else for(const{value:r}of n){const e={key:o,value:r};if(!this._hasDeprecationWarned(e)){const n="string"==typeof t?{key:t,value:r}:t;this._utils.logger.warn(this._deprecatedHandler(e,n,this._utils))}}};bi.normalizeForwardResult(r.forward(i,this._utils),i).forEach(s);const l=bi.normalizeRedirectResult(r.redirect(i,this._utils),i);if(l.redirect.forEach(s),"remain"in l){const e=l.remain;t[o]=o in t?r.overlap(t[o],e,this._utils):e,u({value:e})}for(const{from:e,to:t}of l.redirect)u({value:e,redirectTo:t})}for(const o of i){const r=e[o],i=this._unknownHandler(o,r,this._utils);if(i)for(const e of Object.keys(i)){const r={[e]:i[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}}t.Normalizer=n})),ki=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Ar.__exportStar(Or,t),Ar.__exportStar(di,t),Ar.__exportStar(Ci,t),Ar.__exportStar(Si,t),Ar.__exportStar(pi,t)}));const Ti=[],Ai=[],Mi=(e,t)=>{if(e===t)return 0;const n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let o,a,s,u,l=0;for(;la?u>a?a+1:u:u>s?s+1:u;return a};var Oi=Mi,Ni=Mi;Oi.default=Ni;var Ii={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const Fi={};for(const t of Object.keys(Ii))Fi[Ii[t]]=t;const Pi={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var Li=Pi;for(const t of Object.keys(Pi)){if(!("channels"in Pi[t]))throw new Error("missing channels property: "+t);if(!("labels"in Pi[t]))throw new Error("missing channel labels property: "+t);if(Pi[t].labels.length!==Pi[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:n}=Pi[t];delete Pi[t].channels,delete Pi[t].labels,Object.defineProperty(Pi[t],"channels",{value:e}),Object.defineProperty(Pi[t],"labels",{value:n})}function Ri(e){const t=function(){const e={},t=Object.keys(Li);for(let n=t.length,r=0;r1&&(i-=1)),[360*i,100*o,100*l]},Pi.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const i=Pi.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[i,100*o,100*r]},Pi.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]},Pi.rgb.keyword=function(e){const t=Fi[e];if(t)return t;let n,r=1/0;for(const a of Object.keys(Ii)){const t=(o=Ii[a],((i=e)[0]-o[0])**2+(i[1]-o[1])**2+(i[2]-o[2])**2);t.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},Pi.rgb.lab=function(e){const t=Pi.rgb.xyz(e);let n=t[0],r=t[1],i=t[2];return n/=95.047,r/=100,i/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,[116*r-16,500*(n-r),200*(r-i)]},Pi.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let i,o,a;if(0===n)return a=255*r,[a,a,a];i=r<.5?r*(1+n):r+n-r*n;const s=2*r-i,u=[0,0,0];for(let l=0;l<3;l++)o=t+1/3*-(l-1),o<0&&o++,o>1&&o--,a=6*o<1?s+6*(i-s)*o:2*o<1?i:3*o<2?s+(i-s)*(2/3-o)*6:s,u[l]=255*a;return u},Pi.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,i=n;const o=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},Pi.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},Pi.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,i=Math.max(r,.01);let o,a;a=(2-n)*r;const s=(2-n)*i;return o=n*i,o/=s<=1?s:2-s,o=o||0,a/=2,[t,100*o,100*a]},Pi.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const i=n+r;let o;i>1&&(n/=i,r/=i);const a=Math.floor(6*t),s=1-r;o=6*t-a,0!=(1&a)&&(o=1-o);const u=n+o*(s-n);let l,c,h;switch(a){default:case 6:case 0:l=s,c=u,h=n;break;case 1:l=u,c=s,h=n;break;case 2:l=n,c=s,h=u;break;case 3:l=n,c=u,h=s;break;case 4:l=u,c=n,h=s;break;case 5:l=s,c=n,h=u}return[255*l,255*c,255*h]},Pi.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},Pi.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let i,o,a;return i=3.2406*t+-1.5372*n+-.4986*r,o=-.9689*t+1.8758*n+.0415*r,a=.0557*t+-.204*n+1.057*r,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,a=a>.0031308?1.055*a**(1/2.4)-.055:12.92*a,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),[255*i,255*o,255*a]},Pi.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},Pi.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const i=n**3,o=t**3,a=r**3;return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},Pi.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let i;return i=360*Math.atan2(r,n)/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(n*n+r*r),i]},Pi.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},Pi.rgb.ansi16=function(e,t=null){const[n,r,i]=e;let o=null===t?Pi.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let a=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===o&&(a+=60),a},Pi.hsv.ansi16=function(e){return Pi.rgb.ansi16(Pi.hsv.rgb(e),e[2])},Pi.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},Pi.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},Pi.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},Pi.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},Pi.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));const r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},Pi.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.max(Math.max(t,n),r),o=Math.min(Math.min(t,n),r),a=i-o;let s,u;return s=a<1?o/(1-a):0,u=a<=0?0:i===t?(n-r)/a%6:i===n?2+(r-t)/a:4+(t-n)/a,u/=6,u%=1,[360*u,100*a,100*s]},Pi.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},Pi.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Pi.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const i=[0,0,0],o=t%1*6,a=o%1,s=1-a;let u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return u=(1-n)*r,[255*(n*i[0]+u),255*(n*i[1]+u),255*(n*i[2]+u)]},Pi.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},Pi.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},Pi.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},Pi.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},Pi.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},Pi.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},Pi.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},Pi.gray.hsl=function(e){return[0,0,e[0]]},Pi.gray.hsv=Pi.gray.hsl,Pi.gray.hwb=function(e){return[0,100,e[0]]},Pi.gray.cmyk=function(e){return[0,0,0,e[0]]},Pi.gray.lab=function(e){return[e[0],0,0]},Pi.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},Pi.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const Hi={};Object.keys(Li).forEach(e=>{Hi[e]={},Object.defineProperty(Hi[e],"channels",{value:Li[e].channels}),Object.defineProperty(Hi[e],"labels",{value:Li[e].labels});const t=function(e){const t=Ri(e),n={},r=Object.keys(t);for(let i=r.length,o=0;o{const r=t[n];Hi[e][n]=function(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let e=r.length,i=0;i1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)})});var $i=Hi,qi=Be((function(e){const t=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(r+t,"m")},n=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";5;").concat(r,"m")},r=(e,t)=>(...n)=>{const r=e(...n);return"[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")},i=e=>e,o=(e,t,n)=>[e,t,n],a=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{const r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})};let s;const u=(e,t,n,r)=>{void 0===s&&(s=$i);const i=r?10:0,o={};for(const[a,u]of Object.entries(s)){const r="ansi16"===a?"ansi":a;a===t?o[r]=e(n,i):"object"==typeof u&&(o[r]=e(u[t],i))}return o};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(const[t,n]of Object.entries(s)){for(const[t,r]of Object.entries(n))s[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=s[t],e.set(r[0],r[1]);Object.defineProperty(s,t,{value:n,enumerable:!1})}return Object.defineProperty(s,"codes",{value:e,enumerable:!1}),s.color.close="",s.bgColor.close="",a(s.color,"ansi",()=>u(t,"ansi16",i,!1)),a(s.color,"ansi256",()=>u(n,"ansi256",i,!1)),a(s.color,"ansi16m",()=>u(r,"rgb",o,!1)),a(s.bgColor,"ansi",()=>u(t,"ansi16",i,!0)),a(s.bgColor,"ansi256",()=>u(n,"ansi256",i,!0)),a(s.bgColor,"ansi16m",()=>u(r,"rgb",o,!0)),s}})})),Ui={isatty:()=>!1},zi=(e,t=Fe.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),i=t.indexOf("--");return-1!==r&&(-1===i||r=2,has16m:e>=3}}function Xi(e,t){if(0===Gi)return 0;if(zi("color=16m")||zi("color=full")||zi("color=truecolor"))return 3;if(zi("color=256"))return 2;if(e&&!t&&void 0===Gi)return 0;const n=Gi||0;if("dumb"===Wi.TERM)return n;if("win32"===Fe.platform){const e=Ur.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in Wi)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in Wi)||"codeship"===Wi.CI_NAME?1:n;if("TEAMCITY_VERSION"in Wi)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Wi.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in Wi)return 1;if("truecolor"===Wi.COLORTERM)return 3;if("TERM_PROGRAM"in Wi){const e=parseInt((Wi.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Wi.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Wi.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Wi.TERM)||"COLORTERM"in Wi?1:n}zi("no-color")||zi("no-colors")||zi("color=false")||zi("color=never")?Gi=0:(zi("color")||zi("colors")||zi("color=true")||zi("color=always"))&&(Gi=1),"FORCE_COLOR"in Wi&&(Gi="true"===Wi.FORCE_COLOR?1:"false"===Wi.FORCE_COLOR?0:0===Wi.FORCE_COLOR.length?1:Math.min(parseInt(Wi.FORCE_COLOR,10),3));var Yi={supportsColor:function(e){return Ki(Xi(e,e&&e.isTTY))},stdout:Ki(Xi(!0,Vi.isatty(1))),stderr:Ki(Xi(!0,Vi.isatty(2)))},Ji={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;const i=t.length;let o=0,a="";do{a+=e.substr(o,r-o)+t+n,o=r+i,r=e.indexOf(t,o)}while(-1!==r);return a+=e.substr(o),a},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let i=0,o="";do{const a="\r"===e[r-1];o+=e.substr(i,(a?r-1:r)-i)+t+(a?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+=e.substr(i),o}};const Zi=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Qi=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,eo=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,to=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,no=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function ro(e){const t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):no.get(e)||e}function io(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r){const t=Number(o);if(Number.isNaN(t)){if(!(i=o.match(eo)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(to,(e,t,n)=>t?ro(t):n))}else n.push(t)}return n}function oo(e){Qi.lastIndex=0;const t=[];let n;for(;null!==(n=Qi.exec(e));){const e=n[1];if(n[2]){const r=io(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function ao(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const[i,o]of Object.entries(n))if(Array.isArray(o)){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=o.length>0?r[i](...o):r[i]}return r}var so=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Zi,(t,o,a,s,u,l)=>{if(o)i.push(ro(o));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:ao(e,n)(t)),n.push({inverse:a,styles:oo(s)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(ao(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")};const{stdout:uo,stderr:lo}=Yi,{stringReplaceAll:co,stringEncaseCRLFWithFirstIndex:ho}=Ji,{isArray:fo}=Array,po=["ansi","ansi","ansi256","ansi16m"],mo=Object.create(null);class go{constructor(e){return vo(e)}}const vo=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const n=uo?uo.level:0;e.level=void 0===t.level?n:t.level})(t,e),t.template=(...e)=>Do(t.template,...e),Object.setPrototypeOf(t,yo.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=go,t.template};function yo(e){return vo(e)}for(const[t,rM]of Object.entries(qi))mo[t]={get(){const e=xo(this,_o(rM.open,rM.close,this._styler),this._isEmpty);return Object.defineProperty(this,t,{value:e}),e}};mo.visible={get(){const e=xo(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const bo=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const t of bo)mo[t]={get(){const{level:e}=this;return function(...n){const r=_o(qi.color[po[e]][t](...n),qi.color.close,this._styler);return xo(this,r,this._isEmpty)}}};for(const t of bo)mo["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const{level:e}=this;return function(...n){const r=_o(qi.bgColor[po[e]][t](...n),qi.bgColor.close,this._styler);return xo(this,r,this._isEmpty)}}};const wo=Object.defineProperties(()=>{},Object.assign({},mo,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),_o=(e,t,n)=>{let r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},xo=(e,t,n)=>{const r=(...e)=>fo(e[0])&&fo(e[0].raw)?Eo(r,Do(r,...e)):Eo(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,wo),r._generator=e,r._styler=t,r._isEmpty=n,r},Eo=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;const{openAll:r,closeAll:i}=n;if(-1!==t.indexOf(""))for(;void 0!==n;)t=co(t,n.close,n.open),n=n.parent;const o=t.indexOf("\n");return-1!==o&&(t=ho(t,i,r,o)),r+t+i};let Co;const Do=(e,...t)=>{const[n]=t;if(!fo(n)||!fo(n.raw))return t.join(" ");const r=t.slice(1),i=[n.raw[0]];for(let o=1;o0&&r(u)?n>1?e(u,n-1,r,i,o):To(o,u):i||(o[o.length]=u)}return o},Jo=function(e){return null!=e&&e.length?Yo(e,1):[]};const Zo={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>ki.apiDescriptor.value(e),pair:({key:e,value:t})=>!1===t?"--no-".concat(e):!0===t?Zo.key(e):""===t?"".concat(Zo.key(e)," without an argument"):"".concat(Zo.key(e),"=").concat(t)};class Qo extends ki.ChoiceSchema{constructor({name:e,flags:t}){super({name:e,choices:t}),this._flags=t.slice().sort()}preprocess(e,t){if("string"==typeof e&&0!==e.length&&!this._flags.includes(e)){const n=this._flags.find(t=>Oi(t,e)<3);if(n)return t.logger.warn(["Unknown flag ".concat(ko.yellow(t.descriptor.value(e)),","),"did you mean ".concat(ko.blue(t.descriptor.value(n)),"?")].join(" ")),n}return e}expected(){return"a flag"}}let ea;function ta(t,n,{logger:r,isCLI:i=!1,passThrough:o=!1}={}){const a=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(t,n,r)=>{const i=e(r.schemas,["_"]);return ki.levenUnknownHandler(t,n,Object.assign({},r,{schemas:i}))},s=i?Zo:ki.apiDescriptor,u=function(e,{isCLI:t}){const n=[];t&&n.push(ki.AnySchema.create({name:"_"}));for(const r of e)n.push(na(r,{isCLI:t,optionInfos:e})),r.alias&&t&&n.push(ki.AliasSchema.create({name:r.alias,sourceName:r.name}));return n}(n,{isCLI:i}),l=new ki.Normalizer(u,{logger:r,unknown:a,descriptor:s}),c=!1!==r;c&&ea&&(l._hasDeprecationWarned=ea);const h=l.normalize(t);return c&&(ea=l._hasDeprecationWarned),h}function na(e,{isCLI:t,optionInfos:n}){let r;const i={name:e.name},o={};switch(e.type){case"int":r=ki.IntegerSchema,t&&(i.preprocess=e=>Number(e));break;case"string":r=ki.StringSchema;break;case"choice":r=ki.ChoiceSchema,i.choices=e.choices.map(t=>"object"==typeof t&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t);break;case"boolean":r=ki.BooleanSchema;break;case"flag":r=Qo,i.flags=Jo(n.map(e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;case"path":r=ki.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?i.validate=(t,n,r)=>e.exception(t)||n.validate(t,r):i.validate=(e,t,n)=>void 0===e||t.validate(e,n),e.redirect&&(o.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){const e=i.preprocess||(e=>e);i.preprocess=(t,n,r)=>n.preprocess(e(Array.isArray(t)?t[t.length-1]:t),r)}return e.array?ki.ArraySchema.create(Object.assign({},t?{preprocess:e=>[].concat(e)}:{},o,{valueSchema:r.create(i)})):r.create(Object.assign({},i,o))}var ra={normalizeApiOptions:function(e,t,n){return ta(e,t,n)},normalizeCliOptions:function(e,t,n){return ta(e,t,Object.assign({isCLI:!0},n))}};function ia(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(t&&t.length>0)return ia(t[0])}return e.range?e.range[0]:e.start}function oa(e){const t=e.range?e.range[1]:e.end;return e.typeAnnotation?Math.max(t,oa(e.typeAnnotation)):t}function aa(e,t){return ia(e)===ia(t)}var sa={locStart:ia,locEnd:oa,composeLoc:function(e,t=e){const n=ia(e);return[n,"number"==typeof t?n+t:oa(t)]},hasSameLocStart:aa,hasSameLoc:function(e,t){return aa(e,t)&&function(e,t){return oa(e)===oa(t)}(e,t)}},ua=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}})),la=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierStart=l,t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let n=0,r=Array.from(e);ne)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function l(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):u(e,a)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&o.test(String.fromCharCode(e)):u(e,a)||u(e,s))))}})),ca=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isReservedWord=s,t.isStrictReservedWord=u,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=function(e,t){return u(e,t)||l(e)},t.isKeyword=function(e){return i.has(e)};const n=["implements","interface","let","package","private","protected","public","static","yield"],r=["eval","arguments"],i=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),o=new Set(n),a=new Set(r);function s(e,t){return t&&"await"===e||"enum"===e}function u(e,t){return s(e,t)||o.has(e)}function l(e){return a.has(e)}})),ha=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return la.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return la.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return la.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return ca.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return ca.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return ca.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return ca.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return ca.isKeyword}})})),fa=/[|\\{}()[\]^$+*?.]/g,da=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(fa,"\\$&")},pa={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ma=Be((function(e){var t={};for(var n in pa)pa.hasOwnProperty(n)&&(t[pa[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in r)if(r.hasOwnProperty(i)){if(!("channels"in r[i]))throw new Error("missing channels property: "+i);if(!("labels"in r[i]))throw new Error("missing channel labels property: "+i);if(r[i].labels.length!==r[i].channels)throw new Error("channel and label counts mismatch: "+i);var o=r[i].channels,a=r[i].labels;delete r[i].channels,delete r[i].labels,Object.defineProperty(r[i],"channels",{value:o}),Object.defineProperty(r[i],"labels",{value:a})}r.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return s===a?t=0:r===s?t=(i-o)/u:i===s?t=2+(o-r)/u:o===s&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(a,s,u),c=l-Math.min(a,s,u),h=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=h(a),n=h(s),r=h(u),a===l?i=r-n:s===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var n=t[e];if(n)return n;var r,i,o,a=1/0;for(var s in pa)if(pa.hasOwnProperty(s)){var u=pa[s],l=(i=e,o=u,Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));l.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0===s)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},r.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(e){var t,n,r,i,o,a,s,u=e[0]/360,l=e[1]/100,c=e[2]/100,h=l+c;switch(h>1&&(l/=h,c/=h),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,a=i,s=l;break;case 1:o=i,a=n,s=l;break;case 2:o=l,a=n,s=i;break;case 3:o=l,a=i,s=n;break;case 4:o=i,a=l,s=n;break;case 5:o=n,a=l,s=i}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},r.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},r.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},r.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=t%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function ga(e){var t=function(){for(var e={},t=Object.keys(ma),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var wa=ba,_a=Be((function(e){const t=(e,t)=>function(){const n=e.apply(wa,arguments);return"[".concat(n+t,"m")},n=(e,t)=>function(){const n=e.apply(wa,arguments);return"[".concat(38+t,";5;").concat(n,"m")},r=(e,t)=>function(){const n=e.apply(wa,arguments);return"[".concat(38+t,";2;").concat(n[0],";").concat(n[1],";").concat(n[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(const t of Object.keys(i)){const n=i[t];for(const t of Object.keys(n)){const r=n[t];i[t]={open:"[".concat(r[0],"m"),close:"[".concat(r[1],"m")},n[t]=i[t],e.set(r[0],r[1])}Object.defineProperty(i,t,{value:n,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}const o=e=>e,a=(e,t,n)=>[e,t,n];i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(a,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(a,10)};for(let s of Object.keys(wa)){if("object"!=typeof wa[s])continue;const e=wa[s];"ansi16"===s&&(s="ansi"),"ansi16"in e&&(i.color.ansi[s]=t(e.ansi16,0),i.bgColor.ansi[s]=t(e.ansi16,10)),"ansi256"in e&&(i.color.ansi256[s]=n(e.ansi256,0),i.bgColor.ansi256[s]=n(e.ansi256,10)),"rgb"in e&&(i.color.ansi16m[s]=r(e.rgb,0),i.bgColor.ansi16m[s]=r(e.rgb,10))}return i}})}));const xa=Fe.env;let Ea;function Ca(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===Ea)return 0;if(qr("color=16m")||qr("color=full")||qr("color=truecolor"))return 3;if(qr("color=256"))return 2;if(e&&!e.isTTY&&!0!==Ea)return 0;const t=Ea?1:0;if("win32"===Fe.platform){const e=Ur.release().split(".");return Number(Fe.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in xa)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(e=>e in xa)||"codeship"===xa.CI_NAME?1:t;if("TEAMCITY_VERSION"in xa)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(xa.TEAMCITY_VERSION)?1:0;if("truecolor"===xa.COLORTERM)return 3;if("TERM_PROGRAM"in xa){const e=parseInt((xa.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(xa.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(xa.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(xa.TERM)||"COLORTERM"in xa?1:(xa.TERM,t)}(e))}qr("no-color")||qr("no-colors")||qr("color=false")?Ea=!1:(qr("color")||qr("colors")||qr("color=true")||qr("color=always"))&&(Ea=!0),"FORCE_COLOR"in xa&&(Ea=0===xa.FORCE_COLOR.length||0!==parseInt(xa.FORCE_COLOR,10));var Da={supportsColor:Ca,stdout:Ca(Fe.stdout),stderr:Ca(Fe.stderr)};const Sa=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,ka=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Ta=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Aa=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Ma=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function Oa(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):Ma.get(e)||e}function Na(e,t){const n=[],r=t.trim().split(/\s*,\s*/g);let i;for(const o of r)if(isNaN(o)){if(!(i=o.match(Ta)))throw new Error("Invalid Chalk template style argument: ".concat(o," (in style '").concat(e,"')"));n.push(i[2].replace(Aa,(e,t,n)=>t?Oa(t):n))}else n.push(Number(o));return n}function Ia(e){ka.lastIndex=0;const t=[];let n;for(;null!==(n=ka.exec(e));){const e=n[1];if(n[2]){const r=Na(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function Fa(e,t){const n={};for(const i of t)for(const e of i.styles)n[e[0]]=i.inverse?null:e.slice(1);let r=e;for(const i of Object.keys(n))if(Array.isArray(n[i])){if(!(i in r))throw new Error("Unknown Chalk style: ".concat(i));r=n[i].length>0?r[i].apply(r,n[i]):r[i]}return r}var Pa=(e,t)=>{const n=[],r=[];let i=[];if(t.replace(Sa,(t,o,a,s,u,l)=>{if(o)i.push(Oa(o));else if(s){const t=i.join("");i=[],r.push(0===n.length?t:Fa(e,n)(t)),n.push({inverse:a,styles:Ia(s)})}else if(u){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");r.push(Fa(e,n)(i.join(""))),i=[],n.pop()}else i.push(l)}),r.push(i.join("")),n.length>0){const e="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(e)}return r.join("")},La=Be((function(e){const t=Da.stdout,n="win32"===Fe.platform&&!(Fe.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),o=Object.create(null);function a(e,n){n=n||{};const r=t?t.level:0;e.level=void 0===n.level?r:n.level,e.enabled="enabled"in n?n.enabled:e.level>0}function s(e){if(!this||!(this instanceof s)||this.template){const t={};return a(t,e),t.template=function(){const e=[].slice.call(arguments);return h.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,s.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=s,t.template}a(this,e)}n&&(_a.blue.open="");for(const f of Object.keys(_a))_a[f].closeRe=new RegExp(da(_a[f].close),"g"),o[f]={get(){const e=_a[f];return l.call(this,this._styles?this._styles.concat(e):[e],this._empty,f)}};o.visible={get(){return l.call(this,this._styles||[],!0,"visible")}},_a.color.closeRe=new RegExp(da(_a.color.close),"g");for(const f of Object.keys(_a.color.ansi))i.has(f)||(o[f]={get(){const e=this.level;return function(){const t=_a.color[r[e]][f].apply(null,arguments),n={open:t,close:_a.color.close,closeRe:_a.color.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});_a.bgColor.closeRe=new RegExp(da(_a.bgColor.close),"g");for(const f of Object.keys(_a.bgColor.ansi))i.has(f)||(o["bg"+f[0].toUpperCase()+f.slice(1)]={get(){const e=this.level;return function(){const t=_a.bgColor[r[e]][f].apply(null,arguments),n={open:t,close:_a.bgColor.close,closeRe:_a.bgColor.closeRe};return l.call(this,this._styles?this._styles.concat(n):[n],this._empty,f)}}});const u=Object.defineProperties(()=>{},o);function l(e,t,n){const r=function(){return c.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=u,r}function c(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;ni(e)).join("\n"):t[0]}))}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(n),e)}return e};var n,r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=r?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(ua),i=(n=La)&&n.__esModule?n:{default:n};function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}const a=/\r\n|[\n\r\u2028\u2029]/,s=/^[a-z][\w-]*$/i,u=/^[()[\]{}]$/;function l(e){return i.default.supportsColor||e.forceColor}function c(e){let t=i.default;return e.forceColor&&(t=new i.default.constructor({enabled:!0,level:1})),t}})),Ba=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=a,t.default=function(e,t,n,r={}){if(!i){i=!0;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";Fe.emitWarning?Fe.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return n=Math.max(n,0),a(e,{start:{column:n,line:t}},r)};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(Ra);function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}let i=!1;const o=/\r\n|[\n\r\u2028\u2029]/;function a(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r),a=(0,n.getChalk)(r),s=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(a),u=(e,t)=>i?e(t):t,l=e.split(o),{start:c,end:h,markerLines:f}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:a=3}=n||{},s=r.line,u=r.column,l=i.line,c=i.column;let h=Math.max(s-(o+1),0),f=Math.min(t.length,l+a);-1===s&&(h=0),-1===l&&(f=t.length);const d=l-s,p={};if(d)for(let m=0;m<=d;m++){const e=m+s;if(u)if(0===m){const n=t[e-1].length;p[e]=[u,n-u+1]}else if(m===d)p[e]=[0,c];else{const n=t[e-m].length;p[e]=[0,n]}else p[e]=!0}else p[s]=u===c?!u||[u,0]:[u,c-u];return{start:h,end:f,markerLines:p}}(t,l,r),d=t.start&&"number"==typeof t.start.column,p=String(h).length;let m=(i?(0,n.default)(e,r):e).split(o).slice(c,h).map((e,t)=>{const n=c+1+t,i=" ".concat(n).slice(-p),o=" ".concat(i," | "),a=f[n],l=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),i=a[1]||1;t=["\n ",u(s.gutter,o.replace(/\d/g," ")),n,u(s.marker,"^").repeat(i)].join(""),l&&r.message&&(t+=" "+u(s.message,r.message))}return[u(s.marker,">"),u(s.gutter,o),e,t].join("")}return" ".concat(u(s.gutter,o)).concat(e)}).join("\n");return r.message&&!d&&(m="".concat(" ".repeat(p+1)).concat(r.message,"\n").concat(m)),i?a.reset(m):m}})),ja=je(bn);const{ConfigError:Ha}=Er,{locStart:$a,locEnd:qa}=sa,Ua=Object.getOwnPropertyNames,za=Object.getOwnPropertyDescriptor;function Va(e){const t={};for(const n of e.plugins)if(n.parsers)for(const e of Ua(n.parsers))Object.defineProperty(t,e,za(n.parsers,e));return t}function Wa(e,t){if(t=t||Va(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:$a,locEnd:qa};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new Ha("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var Ga={parse:function(e,t){const n=Va(t),r=Object.keys(n).reduce((e,t)=>Object.defineProperty(e,t,{enumerable:!0,get:()=>n[t].parse}),{}),i=Wa(t,n);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,r,t)}}catch(t){const{loc:n}=t;if(n){const{codeFrameColumns:r}=Ba;throw t.codeFrame=r(e,n,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Wa};const{UndefinedParserError:Ka}=Er,{getSupportInfo:Xa}=vt,{resolveParser:Ya}=Ga,Ja={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Za(e,t){const n=ja.basename(e).toLowerCase(),r=Xa({plugins:t}).languages.filter(e=>null!==e.since);let i=r.find(e=>e.extensions&&e.extensions.some(e=>n.endsWith(e))||e.filenames&&e.filenames.some(e=>e.toLowerCase()===n));if(!i&&!n.includes(".")){const t=function(e){if("string"!=typeof e)return"";let t;try{t=vr.openSync(e,"r")}catch(e){return""}try{const n=new yr(t).next().toString("utf8"),r=n.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(r)return r[1];const i=n.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return i?i[1]:""}catch(e){return""}finally{try{vr.closeSync(t)}catch(e){}}}(e);i=r.find(e=>e.interpreters&&e.interpreters.includes(t))}return i&&i.parsers[0]}var Qa={normalize:function(e,t){t=t||{};const n=Object.assign({},e),r=Xa({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=Object.assign({},Ja,br(r.filter(e=>void 0!==e.default).map(e=>[e.name,e.default])));if(!n.parser)if(n.filepath){if(n.parser=Za(n.filepath,n.plugins),!n.parser)throw new Ka("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";const o=Ya(ra.normalizeApiOptions(n,[r.find(e=>"parser"===e.name)],{passThrough:!0,logger:!1}));n.astFormat=o.astFormat,n.locEnd=o.locEnd,n.locStart=o.locStart;const a=function(e){const{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");const n=e.plugins.find(e=>e.printers&&e.printers[t]);if(!n)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return n}(n);n.printer=a.printers[n.astFormat];const s=r.filter(e=>e.pluginDefaults&&void 0!==e.pluginDefaults[a.name]).reduce((e,t)=>Object.assign(e,{[t.name]:t.pluginDefaults[a.name]}),{}),u=Object.assign({},i,s);return Object.keys(u).forEach(e=>{null==n[e]&&(n[e]=u[e])}),"json"===n.parser&&(n.trailingComma="none"),ra.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(Ja)},t))},hiddenDefaults:Ja,inferParser:Za},es=function e(t,n,r){if(Array.isArray(t))return t.map(t=>e(t,n,r)).filter(Boolean);if(!t||"object"!=typeof t)return t;const i=n.printer.massageAstNode;let o;o=i&&i.ignoredProperties?i.ignoredProperties:new Set;const a={};for(const s of Object.keys(t))o.has(s)||"function"==typeof t[s]||(a[s]=e(t[s],n,t));if(i){const e=i(t,a,r);if(null===e)return;if(e)return e}return a};function ts(){}ts.ok=function(){},ts.strictEqual=function(){};var ns=je(Object.freeze({__proto__:null,default:ts}));const{builders:{concat:rs,line:is,hardline:os,breakParent:as,indent:ss,lineSuffix:us,join:ls,cursor:cs}}=cn,{hasNewline:hs,skipNewline:fs,skipSpaces:ds,isPreviousLineEmpty:ps,addLeadingComment:ms,addDanglingComment:gs,addTrailingComment:vs}=Lt,ys=Symbol("child-nodes");function bs(e,t,n){if(!e)return;const{printer:r,locStart:i,locEnd:o}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let t;for(t=n.length-1;t>=0&&!(i(n[t])<=i(e)&&o(n[t])<=o(e));--t);return void n.splice(t+1,0,e)}}else if(e[ys])return e[ys];const a=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||"object"==typeof e&&Object.keys(e).filter(e=>"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e&&"tokens"!==e&&"comments"!==e).map(t=>e[t]);return a?(n||Object.defineProperty(e,ys,{value:n=[],enumerable:!1}),a.forEach(e=>{bs(e,t,n)}),n):void 0}function ws(e,t,n){const{locStart:r,locEnd:i}=n,o=r(t),a=i(t),s=bs(e,n);let u,l,c=0,h=s.length;for(;c>1,f=s[e],d=r(f),p=i(f);if(d<=o&&a<=p)return t.enclosingNode=f,void ws(f,t,n);if(d<=o)u=f,c=e+1;else{if(!(a<=d))throw new Error("Comment location overlaps with node location");l=f,h=e}}if(t.enclosingNode&&"TemplateLiteral"===t.enclosingNode.type){const{quasis:e}=t.enclosingNode,r=Es(e,t,n);u&&Es(e,u,n)!==r&&(u=null),l&&Es(e,l,n)!==r&&(l=null)}u&&(t.precedingNode=u),l&&(t.followingNode=l)}function _s(e,t,n){const r=e.length;if(0===r)return;const{precedingNode:i,followingNode:o,enclosingNode:a}=e[0],s=n.printer.getGapRegex&&n.printer.getGapRegex(a)||/^[\s(]*$/;let u,l=n.locStart(o);for(u=r;u>0;--u){const r=e[u-1];ns.strictEqual(r.precedingNode,i),ns.strictEqual(r.followingNode,o);const a=t.slice(n.locEnd(r),l);if(!s.test(a))break;l=n.locStart(r)}e.forEach((e,t)=>{t1&&c.comments.sort((e,t)=>n.locStart(e)-n.locStart(t));e.length=0}function xs(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function Es(e,t,n){const r=n.locStart(t)-1;for(let i=1;i{if("json"===r.parser||"json5"===r.parser||"__js_expression"===r.parser||"__vue_expression"===r.parser){if(o(s)-o(t)<=0)return void ms(t,s);if(a(s)-a(t)>=0)return void vs(t,s)}ws(t,s,r);const{precedingNode:l,enclosingNode:c,followingNode:h}=s,f=r.printer.handleComments&&r.printer.handleComments.ownLine?r.printer.handleComments.ownLine:()=>!1,d=r.printer.handleComments&&r.printer.handleComments.endOfLine?r.printer.handleComments.endOfLine:()=>!1,p=r.printer.handleComments&&r.printer.handleComments.remaining?r.printer.handleComments.remaining:()=>!1,m=e.length-1===u;if(hs(n,o(s),{backwards:!0}))f(s,n,r,t,m)||(h?ms(h,s):l?vs(l,s):gs(c||t,s));else if(hs(n,a(s)))d(s,n,r,t,m)||(l?vs(l,s):h?ms(h,s):gs(c||t,s));else if(p(s,n,r,t,m));else if(l&&h){const e=i.length;e>0&&i[e-1].followingNode!==s.followingNode&&_s(i,n,r),i.push(s)}else l?vs(l,s):h?ms(h,s):gs(c||t,s)}),_s(i,n,r),e.forEach(e=>{delete e.precedingNode,delete e.enclosingNode,delete e.followingNode})},printComments:function(e,t,n,r){const i=e.getValue(),o=t(e),a=i&&i.comments;if(!a||0===a.length)return Cs(e,n,o);const s=[],u=[r?";":"",o];return e.each(e=>{const t=e.getValue(),{leading:r,trailing:i}=t;if(r){const r=function(e,t){const n=e.getValue(),r=xs(e,t);if(!r)return"";if(t.printer.isBlockComment&&t.printer.isBlockComment(n)){const e=hs(t.originalText,t.locEnd(n))?hs(t.originalText,t.locStart(n),{backwards:!0})?os:is:" ";return rs([r,e])}return rs([r,os])}(e,n);if(!r)return;s.push(r);const i=n.originalText,o=fs(i,ds(i,n.locEnd(t)));!1!==o&&hs(i,o)&&s.push(os)}else i&&u.push(function(e,t){const n=e.getValue(),r=xs(e,t);if(!r)return"";const{printer:i,originalText:o,locStart:a}=t,s=i.isBlockComment&&i.isBlockComment(n);if(hs(o,a(n),{backwards:!0})){const e=ps(o,n,a);return us(rs([os,e?os:"",r]))}let u=rs([" ",r]);return s||(u=rs([us(u),as])),u}(e,n))},"comments"),Cs(e,n,rs(s.concat(u)))},printDanglingComments:function(e,t,n,r){const i=[],o=e.getValue();return o&&o.comments?(e.each(e=>{const n=e.getValue();!n||n.leading||n.trailing||r&&!r(n)||i.push(xs(e,t))},"comments"),0===i.length?"":n?ls(os,i):ss(rs([os,ls(os,i)]))):""},getSortedChildNodes:bs,ensureAllCommentsPrinted:function(e){e&&e.forEach(e=>{if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed})}};function Ss(e,t){const n=ks(e.stack,t);return-1===n?null:e.stack[n]}function ks(e,t){for(let n=e.length-1;n>=0;n-=2){const r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}var Ts=class{constructor(e){this.stack=[e]}getName(){const{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return le(this.stack)}getNode(e=0){return Ss(this,e)}getParentNode(e=0){return Ss(this,e+1)}call(e,...t){const{stack:n}=this,{length:r}=n;let i=le(n);for(const a of t)i=i[a],n.push(a,i);const o=e(this);return n.length=r,o}callParent(e,t=0){const n=ks(this.stack,t+1),r=this.stack.splice(n+1),i=e(this);return this.stack.push(...r),i}each(e,...t){const{stack:n}=this,{length:r}=n;let i=le(n);for(const o of t)i=i[o],n.push(o,i);for(let o=0;o{n[r]=e(t,r)},...t),n}match(...e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(const i of e){if(void 0===r)return!1;let e=null;if("number"==typeof n&&(e=n,n=this.stack[t--],r=this.stack[t--]),i&&!i(r,n,e))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}};const{utils:{stripTrailingHardline:As}}=cn,{normalize:Ms}=Qa;var Os={printSubtree:function(e,t,n,r){if(n.printer.embed&&"auto"===n.embeddedLanguageFormatting)return n.printer.embed(e,t,(e,t,i)=>function(e,t,n,r,{stripTrailingHardline:i=!1}={}){const o=Ms(Object.assign({},n,t,{parentParser:n.parser,embeddedInHtml:!(!n.embeddedInHtml&&"html"!==n.parser&&"vue"!==n.parser&&"angular"!==n.parser&&"lwc"!==n.parser),originalText:e}),{passThrough:!0}),a=Ga.parse(e,o),{ast:s}=a;e=a.text;const u=s.comments;delete s.comments,Ds.attach(u,s,e,o),o[Symbol.for("comments")]=u||[],o[Symbol.for("tokens")]=s.tokens||[];const l=r(s,o);return Ds.ensureAllCommentsPrinted(u),i?"string"==typeof l?l.replace(/(?:\r?\n)*$/,""):As(l,!0):l}(e,t,n,r,i),n)}};const Ns=cn,Is=Ns.builders,{concat:Fs,hardline:Ps,addAlignmentToDoc:Ls}=Is,Rs=Ns.utils;function Bs(e,t,n=0){const{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));const i=new Map;let o=function e(n,o){const a=n.getValue(),s=a&&"object"==typeof a&&void 0===o;if(s&&i.has(a))return i.get(a);let u;return u=r.willPrintOwnComments&&r.willPrintOwnComments(n,t)?js(n,t,e,o):Ds.printComments(n,n=>js(n,t,e,o),t,o&&o.needsSemi),s&&i.set(a,u),u}(new Ts(e));return n>0&&(o=Ls(Fs([Ps,o]),n,t.tabWidth)),Rs.propagateBreaks(o),o}function js(e,t,n,r){ns.ok(e instanceof Ts);const i=e.getValue(),{printer:o}=t;if(o.hasPrettierIgnore&&o.hasPrettierIgnore(e))return function(e,t){const{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:o}=t,a=i(e),s=o(e);for(const u of r)i(u)>=a&&o(u)<=s&&(u.printed=!0);return n.slice(a,s)}(i,t);if(i)try{const r=Os.printSubtree(e,n,t,Bs);if(r)return r}catch(e){if(Re.PRETTIER_DEBUG)throw e}return o.print(e,t,n,r)}var Hs=Bs;function $s(e,t,n,r,i=[]){if(!(tn.locEnd(e))){for(const o of Ds.getSortedChildNodes(e,n)){const a=$s(o,t,n,r,[e,...i]);if(a)return a}return!r||r(e)?{node:e,parentNodes:i}:void 0}}const qs=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"]),Us=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function zs(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":return function(e){return"Directive"===e||"TypeAlias"===e||"TSExportAssignment"===e||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration")}(t.type);case"json":return qs.has(t.type);case"graphql":return Us.has(t.kind);case"vue":return"root"!==t.tag}return!1}var Vs={calculateRange:function(e,t,n){const r=e.slice(t.rangeStart,t.rangeEnd),i=Math.max(t.rangeStart+r.search(/\S/),t.rangeStart);let o;for(o=t.rangeEnd;o>t.rangeStart&&!/\S/.test(e[o-1]);--o);const a=$s(n,i,t,e=>zs(t,e)),s=$s(n,o,t,e=>zs(t,e));if(!a||!s)return{rangeStart:0,rangeEnd:0};const{startNode:u,endNode:l}=function(e,t,n){let r=e.node,i=t.node;if(r===i)return{startNode:r,endNode:i};for(const o of t.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locStart(o)>=n.locStart(e.node)))break;i=o}for(const o of e.parentNodes){if(!("Program"!==o.type&&"File"!==o.type&&n.locEnd(o)<=n.locEnd(t.node)))break;r=o}return{startNode:r,endNode:i}}(a,s,t);return{rangeStart:Math.min(t.locStart(u),t.locStart(l)),rangeEnd:Math.max(t.locEnd(u),t.locEnd(l))}},findNodeAtOffset:$s};const{printer:{printDocToString:Ws},debug:{printDocToDebug:Gs}}=cn,{getAlignmentSize:Ks}=Lt,{guessEndOfLine:Xs,convertEndOfLineToChars:Ys,countEndOfLineChars:Js,normalizeEndOfLine:Zs}=Rt,Qs=Qa.normalize,eu=Symbol("cursor");function tu(e,t,n){const r=t.comments;return r&&(delete t.comments,Ds.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}function nu(e,t,n){if(!e||!e.trim().length)return{formatted:"",cursorOffset:-1};n=n||0;const{ast:r,text:i}=Ga.parse(e,t);if(t.cursorOffset>=0){const e=Vs.findNodeAtOffset(r,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}const o=tu(i,r,t),a=Hs(r,t,n),s=Ws(a,t);if(Ds.ensureAllCommentsPrinted(o),n>0){const e=s.formatted.trim();void 0!==s.cursorNodeStart&&(s.cursorNodeStart-=s.formatted.indexOf(e)),s.formatted=e+Ys(t.endOfLine)}if(t.cursorOffset>=0){let e,n,r,o,a;if(t.cursorNode&&s.cursorNodeText?(e=t.locStart(t.cursorNode),n=i.slice(e,t.locEnd(t.cursorNode)),r=t.cursorOffset-e,o=s.cursorNodeStart,a=s.cursorNodeText):(e=0,n=i,r=t.cursorOffset,o=0,a=s.formatted),n===a)return{formatted:s.formatted,cursorOffset:o+r};const u=n.split("");u.splice(r,0,eu);const l=a.split(""),c=W.diffArrays(u,l);let h=o;for(const t of c)if(t.removed){if(t.value.includes(eu))break}else h+=t.count;return{formatted:s.formatted,cursorOffset:h}}return{formatted:s.formatted,cursorOffset:-1}}function ru(e,t,n){return"number"!=typeof t||isNaN(t)||t<0||t>e.length?n:t}function iu(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=ru(e,n,-1),r=ru(e,r,0),i=ru(e,i,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:i})}function ou(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}=iu(e,t);const a="\ufeff"===e.charAt(0);if(a&&(e=e.slice(1),n--,r--,i--),"auto"===o&&(o=Xs(e)),e.includes("\r")){const t=t=>Js(e.slice(0,Math.max(t,0)),"\r\n");n-=t(n),r-=t(r),i-=t(i),e=Zs(e)}return{hasBOM:a,text:e,options:iu(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:o}))}}function au(e,t){let{hasBOM:n,text:r,options:i}=ou(e,Qs(t));const o=Ga.resolveParser(i),a=!o.hasPragma||o.hasPragma(r);if(i.requirePragma&&!a)return{formatted:e,cursorOffset:t.cursorOffset};let s;return i.rangeStart>0||i.rangeEndi&&t.cursorOffset=o?f=t.cursorOffset+(h.length-a.length):c.cursorOffset>=0&&(f=c.cursorOffset+i);let d=r.slice(0,i)+h+r.slice(o);if("lf"!==t.endOfLine){const e=Ys(t.endOfLine);f>=0&&"\r\n"===e&&(f+=Js(d.slice(0,f),"\n")),d=d.replace(/\n/g,e)}return{formatted:d,cursorOffset:f}}(r,i):(!a&&i.insertPragma&&i.printer.insertPragma&&(r=i.printer.insertPragma(r)),s=nu(r,i)),n&&(s.formatted="\ufeff"+s.formatted,s.cursorOffset>=0&&s.cursorOffset++),s}var su={formatWithCursor:au,parse(e,t,n){const{text:r,options:i}=ou(e,Qs(t)),o=Ga.parse(r,i);return n&&(o.ast=es(o.ast,i)),o},formatAST(e,t){t=Qs(t);const n=Hs(e,t);return Ws(n,t)},formatDoc:(e,t)=>au(Gs(e),Object.assign({},t,{parser:"babel"})).formatted,printToDoc(e,t){t=Qs(t);const{ast:n,text:r}=Ga.parse(e,t);return tu(r,n,t),Hs(n,t)},printDocToString:(e,t)=>Ws(e,Qs(t))};const{getMaxContinuousCount:uu,getStringWidth:lu,getAlignmentSize:cu,getIndentSize:hu,skip:fu,skipWhitespace:du,skipSpaces:pu,skipNewline:mu,skipToLineEnd:gu,skipEverythingButNewLine:vu,skipInlineComment:yu,skipTrailingComment:bu,hasNewline:wu,hasNewlineInRange:_u,hasSpaces:xu,isNextLineEmpty:Eu,isNextLineEmptyAfterIndex:Cu,isPreviousLineEmpty:Du,getNextNonSpaceNonCommentCharacterIndex:Su,makeString:ku,addLeadingComment:Tu,addDanglingComment:Au,addTrailingComment:Mu}=Lt;var Ou={getMaxContinuousCount:uu,getStringWidth:lu,getAlignmentSize:cu,getIndentSize:hu,skip:fu,skipWhitespace:du,skipSpaces:pu,skipNewline:mu,skipToLineEnd:gu,skipEverythingButNewLine:vu,skipInlineComment:yu,skipTrailingComment:bu,hasNewline:wu,hasNewlineInRange:_u,hasSpaces:xu,isNextLineEmpty:Eu,isNextLineEmptyAfterIndex:Cu,isPreviousLineEmpty:Du,getNextNonSpaceNonCommentCharacterIndex:Su,makeString:ku,addLeadingComment:Tu,addDanglingComment:Au,addTrailingComment:Mu},Nu=function(t,n){const{languageId:r}=t,i=e(t,["languageId"]);return Object.assign({linguistLanguageId:r},i,n(t))},Iu=Be((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=n(t)}while(t);return!1},trailingStatement:n}}()})),Fu=Be((function(e){!function(){var t,n,r,i,o,a;function s(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(o=new Array(128),a=0;a<128;++a)o[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&r.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:n.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES5:function(e){return e<128?o[e]:n.NonAsciiIdentifierPart.test(s(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(s(e))},isIdentifierPartES6:function(e){return e<128?o[e]:t.NonAsciiIdentifierPart.test(s(e))}}}()})),Pu=Be((function(e){!function(){var t=Fu;function n(e,t){return!(!t&&"yield"===e)&&r(e,t)}function r(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function o(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e){var n,r,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(n=1,r=e.length;n=r)return!1;if(!(56320<=(o=e.charCodeAt(n))&&o<=57343))return!1;i=1024*(i-55296)+(o-56320)+65536}if(!a(i))return!1;a=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:i,isReservedWordES6:o,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:a,isIdentifierNameES6:s,isIdentifierES5:function(e,t){return a(e)&&!i(e,t)},isIdentifierES6:function(e,t){return s(e)&&!o(e,t)}}}()}));const Lu=Be((function(e,t){t.ast=Iu,t.code=Fu,t.keyword=Pu})).keyword.isIdentifierNameES5,{getLast:Ru,hasNewline:Bu,hasNewlineInRange:ju,skipWhitespace:Hu}=Lt,{locStart:$u,locEnd:qu,hasSameLocStart:Uu}=sa,zu="(?:(?=.)\\s)",Vu=new RegExp("^".concat(zu,"*:")),Wu=new RegExp("^".concat(zu,"*::"));function Gu(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some(e=>Gu(e,t));const n=t(e);return"boolean"==typeof n?n:Object.keys(e).some(n=>Gu(e[n],t))}function Ku(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function Xu(e){return"Block"===e.type||"CommentBlock"===e.type||"MultiLine"===e.type}const Yu=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Ju(e){return e&&Yu.has(e.type)}function Zu(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Qu(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function el(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function tl(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function nl(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function rl(e){return"JSXElement"===e.type||"JSXFragment"===e.type}function il(e){return"get"===e.kind||"set"===e.kind}function ol(e){return il(e)||Uu(e,e.value)}const al=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),sl=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),ul=/^(skip|[fx]?(it|describe|test))$/;function ll(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}const cl=new RegExp("([ \n\r\t]+)"),hl=new RegExp("[^ \n\r\t]");function fl(e){return Zu(e)&&(hl.test(gl(e))||!/\n/.test(gl(e)))}function dl(e,t){return rl(t)?Sl(t):t.comments&&t.comments.some(t=>t.leading&&Bu(e,qu(t)))}function pl(e){return/^(\d+|\d+\.\d+)$/.test(e)}function ml(e){return e.quasis.some(e=>e.value.raw.includes("\n"))}function gl(e){return e.extra?e.extra.raw:e.raw}const vl={"==":!0,"!=":!0,"===":!0,"!==":!0},yl={"*":!0,"/":!0,"%":!0},bl={">>":!0,">>>":!0,"<<":!0},wl={};function _l(e){return wl[e]}[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((e,t)=>{e.forEach(e=>{wl[e]=t})});const xl=new WeakMap;function El(e){if(xl.has(e))return xl.get(e);const t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),xl.set(e,t),t}const Cl=new WeakMap;function Dl(e){return"prettier-ignore"===e.value.trim()}function Sl(e){return e&&(e.comments&&e.comments.length>0&&e.comments.some(e=>Dl(e)&&!e.unignore)||e.prettierIgnore)}function kl(e){return Sl(e.getValue())}var Tl={classChildNeedsASIProtection:function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){const t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"FieldDefinition":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{const t=e.value?e.value.async:e.async,n=e.value?e.value.generator:e.generator;return!t&&"get"!==e.kind&&"set"!==e.kind&&!(!e.computed&&!n)}case"TSIndexSignature":return!0;default:return!1}}},classPropMayCauseASIProblems:function(e){const t=e.getNode();if("ClassProperty"!==t.type&&"FieldDefinition"!==t.type)return!1;const n=t.key&&t.key.name;return!("static"!==n&&"get"!==n&&"set"!==n||t.value||t.typeAnnotation)||void 0},getFunctionParameters:El,iterateFunctionParametersPath:function(e,t){const n=e.getValue();let r=0;const i=e=>t(e,r++);n.this&&e.call(i,"this"),Array.isArray(n.parameters)?e.each(i,"parameters"):Array.isArray(n.params)&&e.each(i,"params"),n.rest&&e.call(i,"rest")},getCallArguments:function(e){if(Cl.has(e))return Cl.get(e);const t="ImportExpression"===e.type?[e.source]:e.arguments;return Cl.set(e,t),t},iterateCallArgumentsPath:function(e,t){"ImportExpression"===e.getValue().type?e.call(e=>t(e,0),"source"):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;const t=El(e);return t.length>0&&"RestElement"===Ru(t).type},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){const t=e.getParentNode();return"declaration"===e.getName()&&Ju(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t},hasDanglingComments:function(e){return e.comments&&e.comments.some(e=>!e.leading&&!e.trailing)},hasFlowAnnotationComment:function(e){return e&&Xu(e[0])&&Wu.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&Xu(e.trailingComments[0])&&Vu.test(e.trailingComments[0].value)},hasLeadingComment:function(e){return e.comments&&e.comments.some(e=>e.leading)},hasLeadingOwnLineComment:dl,hasNakedLeftSide:Ku,hasNewlineBetweenOrAfterDecorators:function(e,t){return ju(t.originalText,$u(e.decorators[0]),qu(Ru(e.decorators)))||Bu(t.originalText,qu(Ru(e.decorators)))},hasNgSideEffect:function(e){return Gu(e.getValue(),e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})},hasNode:Gu,hasPrettierIgnore:function(e){return kl(e)||function(e){const t=e.getValue(),n=e.getParentNode();if(!(n&&t&&rl(t)&&rl(n)))return!1;let r=null;for(let i=n.children.indexOf(t);i>0;i--){const e=n.children[i-1];if("JSXText"!==e.type||fl(e)){r=e;break}}return r&&"JSXExpressionContainer"===r.type&&"JSXEmptyExpression"===r.expression.type&&r.expression.comments&&r.expression.comments.some(e=>Dl(e))}(e)},hasTrailingComment:function(e){return e.comments&&e.comments.some(e=>e.trailing)},hasTrailingLineComment:function(e){return e.comments&&e.comments.some(e=>e.trailing&&!Xu(e))},hasIgnoreComment:kl,hasNodeIgnoreComment:Sl,identity:function(e){return e},isBinaryish:function(e){return al.has(e.type)},isBlockComment:Xu,isLineComment:function(e){return"Line"===e.type||"CommentLine"===e.type||"SingleLine"===e.type||"HashbangComment"===e.type||"HTMLOpen"===e.type||"HTMLClose"===e.type},isPrettierIgnoreComment:Dl,isCallOrOptionalCallExpression:ll,isEmptyJSXElement:function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;const t=e.children[0];return Zu(t)&&!fl(t)},isExportDeclaration:Ju,isFlowAnnotationComment:function(e,t){const n=$u(t),r=Hu(e,qu(t));return!1!==r&&"/*"===e.slice(n,n+2)&&"*/"===e.slice(r,r+2)},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(const n of e)if(tl(n)){if(t+=1,t>1)return!0}else if(ll(n))for(const e of n.arguments)if(tl(e))return!0;return!1},isFunctionNotation:ol,isFunctionOrArrowExpression:tl,isGetterOrSetter:il,isJestEachTemplateLiteral:function(e,t){const n=/^[fx]?(describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&n.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&n.test(t.tag.object.object.name))},isJSXNode:rl,isJSXWhitespaceExpression:function(e){return"JSXExpressionContainer"===e.type&&Zu(e.expression)&&" "===e.expression.value&&!e.expression.comments},isLastStatement:function(e){const t=e.getParentNode();if(!t)return!0;const n=e.getValue(),r=(t.body||t.consequent).filter(e=>"EmptyStatement"!==e.type);return r[r.length-1]===n},isLiteral:Zu,isLongCurriedCallExpression:function(e){const t=e.getValue(),n=e.getParentNode();return ll(t)&&ll(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:function e(t,n){if(n>=2)return!1;const r=t=>e(t,n+1),i="Literal"===t.type&&"regex"in t&&t.regex.pattern||"RegExpLiteral"===t.type&&t.pattern;return!(i&&i.length>5)&&("Literal"===t.type||"BigIntLiteral"===t.type||"DecimalLiteral"===t.type||"BooleanLiteral"===t.type||"NullLiteral"===t.type||"NumericLiteral"===t.type||"RegExpLiteral"===t.type||"StringLiteral"===t.type||"Identifier"===t.type||"ThisExpression"===t.type||"Super"===t.type||"PrivateName"===t.type||"ArgumentPlaceholder"===t.type||"Import"===t.type||("TemplateLiteral"===t.type?t.expressions.every(r):"ObjectExpression"===t.type?t.properties.every(e=>!e.computed&&(e.shorthand||e.value&&r(e.value))):"ArrayExpression"===t.type?t.elements.every(e=>null===e||r(e)):"ImportExpression"===t.type?r(t.source):"CallExpression"===t.type||"OptionalCallExpression"===t.type||"NewExpression"===t.type?e(t.callee,n)&&t.arguments.every(r):"MemberExpression"===t.type||"OptionalMemberExpression"===t.type?e(t.object,n)&&e(t.property,n):"UnaryExpression"!==t.type||"!"!==t.operator&&"-"!==t.operator?"TSNonNullExpression"===t.type&&e(t.expression,n):e(t.argument,n)))},isMeaningfulJSXText:fl,isMemberExpressionChain:function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))},isMemberish:function(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&Boolean(e.object)},isNgForOf:function(e,t,n){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===n.body[0].type&&null===n.body[0].value},isNumericLiteral:Qu,isObjectType:function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type},isObjectTypePropertyAFunction:function(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||ol(e))},isSimpleType:function(e){return!!e&&(!("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)||!!sl.has(e.type))},isSimpleNumber:pl,isSimpleTemplateLiteral:function(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");const n=e[t];return 0!==n.length&&n.every(e=>{if(e.comments)return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if("MemberExpression"===e.type||"OptionalMemberExpression"===e.type){let t=e;for(;"MemberExpression"===t.type||"OptionalMemberExpression"===t.type;){if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type)return!1;if(t=t.object,t.comments)return!1}return"Identifier"===t.type||"ThisExpression"===t.type}return!1})},isStringLiteral:el,isStringPropSafeToUnquote:function(e,t){return"json"!==t.parser&&el(e.key)&&gl(e.key).slice(1,-1)===e.key.value&&(Lu(e.key.value)&&!(("typescript"===t.parser||"babel-ts"===t.parser)&&"ClassProperty"===e.type)||pl(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"espree"===t.parser||"meriyah"===t.parser))},isTemplateOnItsOwnLine:function(e,t){return("TemplateLiteral"===e.type&&ml(e)||"TaggedTemplateExpression"===e.type&&ml(e.quasi))&&!Bu(t,$u(e),{backwards:!0})},isTestCall:function e(t,n){if("CallExpression"!==t.type)return!1;if(1===t.arguments.length){if(nl(t)&&n&&e(n))return tl(t.arguments[0]);if("Identifier"===(r=t).callee.type&&/^(before|after)(Each|All)$/.test(r.callee.name)&&1===r.arguments.length)return nl(t.arguments[0])}else if((2===t.arguments.length||3===t.arguments.length)&&("Identifier"===t.callee.type&&ul.test(t.callee.name)||function(e){return("MemberExpression"===e.callee.type||"OptionalMemberExpression"===e.callee.type)&&"Identifier"===e.callee.object.type&&"Identifier"===e.callee.property.type&&ul.test(e.callee.object.name)&&("only"===e.callee.property.name||"skip"===e.callee.property.name)}(t))&&(function(e){return"TemplateLiteral"===e.type}(t.arguments[0])||el(t.arguments[0])))return!(t.arguments[2]&&!Qu(t.arguments[2]))&&((2===t.arguments.length?tl(t.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(t.arguments[1])&&El(t.arguments[1]).length<=1)||nl(t.arguments[1]));var r;return!1},isTheOnlyJSXElementInMarkdown:function(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;const n=t.getNode();if(!n.expression||!rl(n.expression))return!1;const r=t.getParentNode();return"Program"===r.type&&1===r.body.length},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||Uu(e,e.typeAnnotation))},matchJsxWhitespaceRegex:cl,needsHardlineAfterDanglingComment:function(e){if(!e.comments)return!1;const t=Ru(e.comments.filter(e=>!e.leading&&!e.trailing));return t&&!Xu(t)},rawText:gl,returnArgumentHasLeadingComment:function(e,t){if(dl(e.originalText,t))return!0;if(Ku(t)){let r,i=t;for(;r=(n=i).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(i=r,dl(e.originalText,i))return!0}var n;return!1},shouldPrintComma:function(e,t="es5"){return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)},isBitwiseOperator:function(e){return!!bl[e]||"|"===e||"^"===e||"&"===e},shouldFlatten:function(e,t){return _l(t)===_l(e)&&"**"!==e&&(!vl[e]||!vl[t])&&!("%"===t&&yl[e]||"%"===e&&yl[t])&&(t===e||!yl[t]||!yl[e])&&(!bl[e]||!bl[t])},startsWithNoLookaheadToken:function e(t,n){switch((t=function(e){for(;e.left;)e=e.left;return e}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":return e(t.expression,n);default:return!1}},getPrecedence:_l};const{getLast:Al,hasNewline:Ml,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ol,getNextNonSpaceNonCommentCharacter:Nl,hasNewlineInRange:Il,addLeadingComment:Fl,addTrailingComment:Pl,addDanglingComment:Ll,getNextNonSpaceNonCommentCharacterIndex:Rl}=Lt,{isBlockComment:Bl,getFunctionParameters:jl,isPrettierIgnoreComment:Hl,isJSXNode:$l,hasFlowShorthandAnnotationComment:ql,hasFlowAnnotationComment:Ul,hasIgnoreComment:zl}=Tl,{locStart:Vl,locEnd:Wl}=sa;function Gl(e,t){const n=(e.body||e.properties).find(({type:e})=>"EmptyStatement"!==e);n?Fl(n,t):Ll(e,t)}function Kl(e,t){"BlockStatement"===e.type?Gl(e,t):Fl(e,t)}function Xl(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e;return!(!r||"IfStatement"!==r.type||!i)&&(")"===Nl(t,e,Wl)?(Pl(n,e),!0):n===r.consequent&&i===r.alternate?("BlockStatement"===n.type?Pl(n,e):Ll(r,e),!0):"BlockStatement"===i.type?(Gl(i,e),!0):"IfStatement"===i.type?(Kl(i.consequent,e),!0):r.consequent===i&&(Fl(i,e),!0))}function Yl(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e;return!(!r||"WhileStatement"!==r.type||!i)&&(")"===Nl(t,e,Wl)?(Pl(n,e),!0):"BlockStatement"===i.type?(Gl(i,e),!0):r.body===i&&(Fl(i,e),!0))}function Jl(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!(!n||"TryStatement"!==n.type&&"CatchClause"!==n.type||!r)&&("CatchClause"===n.type&&t?(Pl(t,e),!0):"BlockStatement"===r.type?(Gl(r,e),!0):"TryStatement"===r.type?(Kl(r.finalizer,e),!0):"CatchClause"===r.type&&(Kl(r.body,e),!0))}function Zl(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;if(n&&("ClassDeclaration"===n.type||"ClassExpression"===n.type||"DeclareClass"===n.type||"DeclareInterface"===n.type||"InterfaceDeclaration"===n.type||"TSInterfaceDeclaration"===n.type)){if(n.decorators&&n.decorators.length>0&&(!r||"Decorator"!==r.type))return Pl(n.decorators[n.decorators.length-1],e),!0;if(n.body&&r===n.body)return Gl(n.body,e),!0;if(r)for(const i of["implements","extends","mixins"])if(n[i]&&r===n[i][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?Ll(n,e,i):Pl(t,e),!0}return!1}function Ql(e,t){const{precedingNode:n,enclosingNode:r}=e;return(r&&n&&("Property"===r.type||"TSDeclareMethod"===r.type||"TSAbstractMethodDefinition"===r.type)&&"Identifier"===n.type&&r.key===n&&":"!==Nl(t,n,Wl)||!(!n||!r||"Decorator"!==n.type||"ClassMethod"!==r.type&&"ClassProperty"!==r.type&&"FieldDefinition"!==r.type&&"TSAbstractClassProperty"!==r.type&&"TSAbstractMethodDefinition"!==r.type&&"TSDeclareMethod"!==r.type&&"MethodDefinition"!==r.type))&&(Pl(n,e),!0)}function ec(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e;if(n&&"FunctionTypeParam"===n.type&&r&&"FunctionTypeAnnotation"===r.type&&i&&"FunctionTypeParam"!==i.type)return Pl(n,e),!0;if(n&&("Identifier"===n.type||"AssignmentPattern"===n.type)&&r&&oc(r)&&")"===Nl(t,e,Wl))return Pl(n,e),!0;if(r&&"FunctionDeclaration"===r.type&&i&&"BlockStatement"===i.type){const n=(()=>{const e=jl(r);if(0!==e.length)return Ol(t,Wl(Al(e)));const n=Ol(t,Wl(r.id));return!1!==n&&Ol(t,n+1)})();if(Vl(e)>n)return Gl(i,e),!0}return!1}function tc(e){const{enclosingNode:t}=e;return!(!t||"ImportSpecifier"!==t.type)&&(Fl(t,e),!0)}function nc(e){const{enclosingNode:t}=e;return!(!t||"LabeledStatement"!==t.type)&&(Fl(t,e),!0)}function rc(e,t,n){const{enclosingNode:r}=e;return t&&t.body&&0===t.body.length?(n?Ll(t,e):Fl(t,e),!0):!(!r||"Program"!==r.type||0!==r.body.length||!r.directives||0!==r.directives.length)&&(n?Ll(r,e):Fl(r,e),!0)}function ic(e){const{enclosingNode:t,followingNode:n}=e;if(Hl(e)&&t&&"TSMappedType"===t.type&&n&&"TSTypeParameter"===n.type&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function oc(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function ac(e){return Bl(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}var sc={handleOwnLineComment:function(e,t,n,r,i){return ic(e)||ec(e,t)||function(e){const{enclosingNode:t,followingNode:n}=e;return!(!t||"MemberExpression"!==t.type&&"OptionalMemberExpression"!==t.type||!n||"Identifier"!==n.type)&&(Fl(t,e),!0)}(e)||Xl(e,t)||Yl(e,t)||Jl(e)||Zl(e)||tc(e)||function(e){const{enclosingNode:t}=e;return!(!t||"ForInStatement"!==t.type&&"ForOfStatement"!==t.type)&&(Fl(t,e),!0)}(e)||function(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!n||"UnionTypeAnnotation"!==n.type&&"TSUnionType"!==n.type?(r&&("UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)&&Hl(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(Hl(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(Pl(t,e),!0))}(e)||rc(e,r,i)||function(e,t){const{precedingNode:n,enclosingNode:r}=e;return!!(n&&"ImportSpecifier"===n.type&&r&&"ImportDeclaration"===r.type&&Ml(t,Wl(e)))&&(Pl(n,e),!0)}(e,t)||function(e){const{enclosingNode:t}=e;return!(!t||"AssignmentPattern"!==t.type)&&(Fl(t,e),!0)}(e)||Ql(e,t)||nc(e)},handleEndOfLineComment:function(e,t,n,r,i){return function(e){const{followingNode:t}=e;return!(!t||!ac(e))&&(Fl(t,e),!0)}(e)||ec(e,t)||function(e,t){const{precedingNode:n,enclosingNode:r,followingNode:i}=e,o=n&&!Il(t,Wl(n),Vl(e));return!(n&&o||!r||"ConditionalExpression"!==r.type&&"TSConditionalType"!==r.type||!i)&&(Fl(i,e),!0)}(e,t)||tc(e)||Xl(e,t)||Yl(e,t)||Jl(e)||Zl(e)||nc(e)||function(e){const{precedingNode:t,enclosingNode:n}=e;return!!(n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&t&&n.callee===t&&n.arguments.length>0)&&(Fl(n.arguments[0],e),!0)}(e)||function(e){const{enclosingNode:t}=e;return!(!t||"Property"!==t.type&&"ObjectProperty"!==t.type)&&(Fl(t,e),!0)}(e)||rc(e,r,i)||function(e){const{enclosingNode:t}=e;return!(!t||"TypeAlias"!==t.type)&&(Fl(t,e),!0)}(e)||function(e){const{enclosingNode:t,followingNode:n}=e;return!(!t||"VariableDeclarator"!==t.type&&"AssignmentExpression"!==t.type||!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&"TemplateLiteral"!==n.type&&"TaggedTemplateExpression"!==n.type&&!Bl(e))&&(Fl(n,e),!0)}(e)},handleRemainingComment:function(e,t,n,r,i){return!!(ic(e)||Xl(e,t)||Yl(e,t)||function(e){const{precedingNode:t,enclosingNode:n}=e;return!(!n||"ObjectProperty"!==n.type&&"Property"!==n.type||!n.shorthand||n.key!==t||"AssignmentPattern"!==n.value.type)&&(Pl(n.value.left,e),!0)}(e)||function(e,t){if(")"!==Nl(t,e,Wl))return!1;const{enclosingNode:n}=e;return n&&(oc(n)&&0===jl(n).length||("CallExpression"===n.type||"OptionalCallExpression"===n.type||"NewExpression"===n.type)&&0===n.arguments.length)?(Ll(n,e),!0):!(!n||"MethodDefinition"!==n.type||0!==jl(n.value).length)&&(Ll(n.value,e),!0)}(e,t)||Ql(e,t)||rc(e,r,i)||function(e,t){const{enclosingNode:n}=e;if(!n||"ArrowFunctionExpression"!==n.type)return!1;const r=Rl(t,e,Wl);return!1!==r&&"=>"===t.slice(r,r+2)&&(Ll(n,e),!0)}(e,t)||function(e,t){if("("!==Nl(t,e,Wl))return!1;const{precedingNode:n,enclosingNode:r}=e;return!(!n||!r||"FunctionDeclaration"!==r.type&&"FunctionExpression"!==r.type&&"ClassMethod"!==r.type&&"MethodDefinition"!==r.type&&"ObjectMethod"!==r.type)&&(Pl(n,e),!0)}(e,t)||function(e){const{precedingNode:t,enclosingNode:n,followingNode:r}=e;return!(!n||"TSMappedType"!==n.type)&&(r&&"TSTypeParameter"===r.type&&r.name?(Fl(r.name,e),!0):!(!t||"TSTypeParameter"!==t.type||!t.constraint)&&(Pl(t.constraint,e),!0))}(e)||function(e){const{enclosingNode:t}=e;return!(!t||"ContinueStatement"!==t.type&&"BreakStatement"!==t.type||t.label)&&(Pl(t,e),!0)}(e)||function(e,t){const{enclosingNode:n,followingNode:r}=e;return!(r||!n||"TSMethodSignature"!==n.type&&"TSDeclareFunction"!==n.type&&"TSAbstractMethodDefinition"!==n.type||";"!==Nl(t,e,Wl))&&(Pl(n,e),!0)}(e,t))},hasLeadingComment:function(e,t=(()=>!0)){return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some(e=>e.leading&&t(e))},isTypeCastComment:ac,getGapRegex:function(e){if(e&&"BinaryExpression"!==e.type&&"LogicalExpression"!==e.type)return/^[\s&(|]*$/},getCommentChildNodes:function(e,t){if(("typescript"===t.parser||"flow"===t.parser||"espree"===t.parser||"meriyah"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===jl(e.value).length&&!e.value.returnType&&(!e.value.typeParameters||0===e.value.typeParameters.length)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){const t=e.getValue(),n=e.getParentNode();return(t&&($l(t)||ql(t)||n&&("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&(Ul(t.leadingComments)||Ul(t.trailingComments)))||n&&("JSXSpreadAttribute"===n.type||"JSXSpreadChild"===n.type||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type||("ClassDeclaration"===n.type||"ClassExpression"===n.type)&&n.superClass===t))&&(!zl(e)||"UnionTypeAnnotation"===n.type||"TSUnionType"===n.type)}};const{getStringWidth:uc,getIndentSize:lc}=Lt,{builders:{concat:cc,join:hc,hardline:fc,softline:dc,group:pc,indent:mc,align:gc,lineSuffixBoundary:vc,addAlignmentToDoc:yc},printer:{printDocToString:bc},utils:{mapDoc:wc}}=cn,{isBinaryish:_c,isJestEachTemplateLiteral:xc,isSimpleTemplateLiteral:Ec}=Tl;function Cc(e){return e.replace(/([\\`]|\${)/g,"\\$1")}var Dc={printTemplateLiteral:function(e,t,n){const r=e.getValue();if("TemplateLiteral"===r.type&&xc(r,e.getParentNode())){const r=function(e,t,n){const r=e.getNode(),i=r.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(i.length>1||i.some(e=>0!==e.length)){t.__inJestEach=!0;const o=e.map(n,"expressions");t.__inJestEach=!1;const a=[],s=o.map(e=>"${"+bc(e,Object.assign({},t,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"),u=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length)),c=Array.from({length:l}).fill(0),h=[{cells:i},...u.filter(e=>0!==e.cells.length)];for(const{cells:e}of h.filter(e=>!e.hasLineBreak))e.forEach((e,t)=>{c[t]=Math.max(c[t],uc(e))});return a.push(vc,"`",mc(cc([fc,hc(fc,h.map(e=>hc(" | ",e.cells.map((t,n)=>e.hasLineBreak?t:t+" ".repeat(c[n]-uc(t))))))])),fc,"`"),cc(a)}}(e,n,t);if(r)return r}let i="expressions";"TSTemplateLiteralType"===r.type&&(i="types");const o=[];let a=e.map(t,i);const s=Ec(r);return s&&(a=a.map(e=>bc(e,Object.assign({},n,{printWidth:1/0})).formatted)),o.push(vc,"`"),e.each(e=>{const u=e.getName();if(o.push(t(e)),ufunction(e,t){const n=e.getValue();let r=t(e);return n.comments&&n.comments.length&&(r=pc(cc([mc(cc([dc,r])),dc]))),cc(["${",r,vc,"}"])}(e,t),"expressions")},escapeTemplateCharacters:function(e,t){return wc(e,e=>{if(!e.parts)return e;const n=e.parts.map(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):Cc(e):e);return Object.assign({},e,{parts:n})})},uncookTemplateElementValue:Cc};const{builders:{indent:Sc,softline:kc,literalline:Tc,concat:Ac,dedentToRoot:Mc}}=cn,{escapeTemplateCharacters:Oc}=Dc;var Nc=function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(e,t)=>"\\".repeat(t.length/2)+"`");const i=function(e){const t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}(r),o=""!==i;o&&(r=r.replace(new RegExp("^".concat(i),"gm"),""));const a=Oc(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return Ac(["`",o?Sc(Ac([kc,a])):Ac([Tc,Mc(a)]),kc,"`"])};const{builders:{indent:Ic,hardline:Fc,softline:Pc,concat:Lc},utils:{mapDoc:Rc,replaceNewlinesWithLiterallines:Bc}}=cn,{printTemplateExpressions:jc}=Dc;var Hc=function(e,t,n){const r=e.getValue(),i=r.quasis.map(e=>e.value.raw);let o=0;return function(e,t,n){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";const r=function(e,t){if(!t||!t.length)return e;let n=0;const r=Rc(e,e=>{if(!e||!e.parts||!e.parts.length)return e;let{parts:r}=e;const i=r.indexOf("@"),o=i+1;if(i>-1&&"string"==typeof r[o]&&r[o].startsWith("prettier-placeholder")){const e=r[i],t=r[o],n=r.slice(o+1);r=r.slice(0,i).concat([e+t]).concat(n)}const a=[];return r.forEach(e=>{"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).forEach((e,r)=>{r%2!=0?(a.push(t[e]),n++):a.push(Bc(e))}):a.push(e)}),Object.assign({},e,{parts:a})});return t.length===n?r:null}(e,n);if(!r)throw new Error("Couldn't insert all the expressions");return Lc(["`",Ic(Lc([Fc,r])),Pc,"`"])}(n(i.reduce((e,t,n)=>0===n?t:e+"@prettier-placeholder-"+o+++"-id"+t,""),{parser:"scss"},{stripTrailingHardline:!0}),r,jc(e,t))};const{builders:{indent:$c,join:qc,hardline:Uc,concat:zc}}=cn,{escapeTemplateCharacters:Vc,printTemplateExpressions:Wc}=Dc;function Gc(e){const t=[];let n=!1;return e.map(e=>e.trim()).forEach((e,r,i)=>{""!==e&&(""===i[r-1]&&n?t.push(zc([Uc,e])):t.push(e),n=!0)}),0===t.length?null:qc(Uc,t)}var Kc=function(e,t,n){const r=e.getValue(),i=r.quasis.length;if(1===i&&""===r.quasis[0].value.raw.trim())return"``";const o=Wc(e,t),a=[];for(let s=0;s2&&""===l[0].trim()&&""===l[1].trim(),d=c>2&&""===l[c-1].trim()&&""===l[c-2].trim(),p=l.every(e=>/^\s*(?:#[^\n\r]*)?$/.test(e));if(!t&&/#[^\n\r]*$/.test(l[c-1]))return null;let m=null;m=p?Gc(l):n(u,{parser:"graphql"},{stripTrailingHardline:!0}),m?(m=Vc(m,!1),!e&&f&&a.push(""),a.push(m),!t&&d&&a.push("")):e||t||!f||a.push(""),h&&a.push(h)}return zc(["`",$c(zc([Uc,qc(Uc,a)])),Uc,"`"])};const{builders:{indent:Xc,line:Yc,hardline:Jc,concat:Zc,group:Qc},utils:{mapDoc:eh}}=cn,{printTemplateExpressions:th,uncookTemplateElementValue:nh}=Dc;let rh=0;var ih=function(e,t,n,r,{parser:i}){const o=e.getValue(),a=rh;rh=rh+1>>>0;const s=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(a,"_IN_JS"),u=o.quasis.map((e,t,n)=>t===n.length-1?e.value.cooked:e.value.cooked+s(t)).join(""),l=th(e,t);if(0===l.length&&0===u.trim().length)return"``";const c=new RegExp(s("(\\d+)"),"g");let h=0;const f=n(u,{parser:i,__onHtmlRoot(e){h=e.children.length}},{stripTrailingHardline:!0}),d=eh(f,e=>{if("string"!=typeof e)return e;const t=[],n=e.split(c);for(let i=0;i1?Xc(Qc(d)):Qc(d),m,"`"]))};const{isBlockComment:oh}=Tl,{hasLeadingComment:ah}=sc;function sh(e){return function(e){const t=e.getValue(),n=e.getParentNode(),r=e.getParentNode(1);return r&&t.quasis&&"JSXExpressionContainer"===n.type&&"JSXElement"===r.type&&"style"===r.openingElement.name.name&&r.openingElement.attributes.some(e=>"jsx"===e.name.name)||n&&"TaggedTemplateExpression"===n.type&&"Identifier"===n.tag.type&&"css"===n.tag.name||n&&"TaggedTemplateExpression"===n.type&&"MemberExpression"===n.tag.type&&"css"===n.tag.object.name&&("global"===n.tag.property.name||"resolve"===n.tag.property.name)}(e)||function(e){const t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;const{tag:n}=t;switch(n.type){case"MemberExpression":return lh(n.object)||ch(n);case"CallExpression":return lh(n.callee)||"MemberExpression"===n.callee.type&&("MemberExpression"===n.callee.object.type&&(lh(n.callee.object.object)||ch(n.callee.object))||"CallExpression"===n.callee.object.type&&lh(n.callee.object.callee));case"Identifier":return"css"===n.name;default:return!1}}(e)||function(e){const t=e.getParentNode(),n=e.getParentNode(1);return n&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===n.type&&"JSXIdentifier"===n.name.type&&"css"===n.name.name}(e)||function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"ArrayExpression"===e.type&&"elements"===t,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t,...uh)}(e)?"css":function(e){const t=e.getValue(),n=e.getParentNode();return hh(t,"GraphQL")||n&&("TaggedTemplateExpression"===n.type&&("MemberExpression"===n.tag.type&&"graphql"===n.tag.object.name&&"experimental"===n.tag.property.name||"Identifier"===n.tag.type&&("gql"===n.tag.name||"graphql"===n.tag.name))||"CallExpression"===n.type&&"Identifier"===n.callee.type&&"graphql"===n.callee.name)}(e)?"graphql":function(e){return hh(e.getValue(),"HTML")||e.match(e=>"TemplateLiteral"===e.type,(e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t)}(e)?"html":function(e){return e.match(e=>"TemplateLiteral"===e.type,(e,t)=>("Property"===e.type||"ObjectProperty"===e.type)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t,...uh)}(e)?"angular":function(e){const t=e.getValue(),n=e.getParentNode();return n&&"TaggedTemplateExpression"===n.type&&1===t.quasis.length&&"Identifier"===n.tag.type&&("md"===n.tag.name||"markdown"===n.tag.name)}(e)?"markdown":void 0}const uh=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function lh(e){return"Identifier"===e.type&&"styled"===e.name}function ch(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function hh(e,t){return ah(e,e=>oh(e)&&e.value===" ".concat(t," "))}var fh=function(e,t,n,r){const i=e.getValue();if("TemplateLiteral"!==i.type||function({quasis:e}){return e.some(({value:{cooked:e}})=>null===e)}(i))return;const o=sh(e);return o?"markdown"===o?Nc(e,t,n):"css"===o?Hc(e,t,n):"graphql"===o?Kc(e,t,n):"html"===o||"angular"===o?ih(e,t,n,r,{parser:o}):void 0:void 0};const{isBlockComment:dh}=Tl,ph=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]);function mh(e,t,n){if("Program"===e.type&&delete t.sourceType,"BigIntLiteral"!==e.type&&"BigIntLiteralTypeAnnotation"!==e.type||t.value&&(t.value=t.value.toLowerCase()),"BigIntLiteral"!==e.type&&"Literal"!==e.type||t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;"Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"ClassMethod"!==e.type&&"FieldDefinition"!==e.type&&"TSDeclareMethod"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!=typeof e.key||!e.key||"Literal"!==e.key.type&&"NumericLiteral"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"OptionalMemberExpression"===e.type&&!1===e.optional&&(t.type="MemberExpression",delete t.optional),"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some(e=>"jsx"===e.name.name)&&t.children.filter(e=>"JSXExpressionContainer"===e.type&&"TemplateLiteral"===e.expression.type).map(e=>e.expression).reduce((e,t)=>e.concat(t.quasis),[]).forEach(e=>delete e.value),"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&t.value.expression.quasis.forEach(e=>delete e.value),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));const r=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===r.type&&"Component"===r.callee.name&&1===r.arguments.length){const n=e.expression.arguments[0].properties;t.expression.arguments[0].properties.forEach((e,t)=>{let r=null;switch(n[t].key.name){case"styles":"ArrayExpression"===e.value.type&&(r=e.value.elements[0]);break;case"template":"TemplateLiteral"===e.value.type&&(r=e.value)}r&&r.quasis.forEach(e=>delete e.value)})}"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||t.quasi.quasis.forEach(e=>delete e.value),"TemplateLiteral"===e.type&&((e.leadingComments&&e.leadingComments.some(e=>dh(e)&&["GraphQL","HTML"].some(t=>e.value===" ".concat(t," ")))||"CallExpression"===n.type&&"graphql"===n.callee.name)&&t.quasis.forEach(e=>delete e.value),e.leadingComments||t.quasis.forEach(e=>{e.value&&delete e.value.cooked})),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd())}mh.ignoredProperties=ph;var gh=mh;const vh=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;const n=t.filter(e=>"\r\n"===e).length;return n>t.length-n?"\r\n":"\n"};var yh=vh;yh.graceful=e=>"string"==typeof e&&vh(e)||"\n";var bh=Be((function(e,t){function n(){const e=Ur;return n=function(){return e},e}function r(){const e=(t=yh)&&t.__esModule?t:{default:t};var t;return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){const t=e.match(a);return t?t[0].trimLeft():""},t.strip=function(e){const t=e.match(a);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return d(e).pragmas},t.parseWithComments=d,t.print=function({comments:e="",pragmas:t={}}){const i=(0,r().default)(e)||n().EOL,o=" *",a=Object.keys(t),s=a.map(e=>p(e,t[e])).reduce((e,t)=>e.concat(t),[]).map(e=>" * "+e+i).join("");if(!e){if(0===a.length)return"";if(1===a.length&&!Array.isArray(t[a[0]])){const e=t[a[0]];return"".concat("/**"," ").concat(p(a[0],e)[0]).concat(" */")}}const u=e.split(i).map(e=>"".concat(o," ").concat(e)).join(i)+i;return"/**"+i+(e?u:"")+(e&&a.length?o+i:"")+s+" */"};const i=/\*\/$/,o=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,s=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,h=/(\r?\n|^) *\* ?/g,f=[];function d(e){const t=(0,r().default)(e)||n().EOL;e=e.replace(o,"").replace(i,"").replace(h,"$1");let a="";for(;a!==e;)a=e,e=e.replace(l,"".concat(t,"$1 $2").concat(t));e=e.replace(u,"").trimRight();const d=Object.create(null),p=e.replace(c,"").replace(u,"").trimRight();let m;for(;m=c.exec(e);){const e=m[2].replace(s,"");"string"==typeof d[m[1]]||Array.isArray(d[m[1]])?d[m[1]]=f.concat(d[m[1]],e):d[m[1]]=e}return{comments:p,pragmas:d}}function p(e,t){return f.concat(t).map(t=>"@".concat(e," ").concat(t).trim())}}));const{parseWithComments:wh,strip:_h,extract:xh,print:Eh}=bh,{getShebang:Ch}=Lt,{normalizeEndOfLine:Dh}=Rt;function Sh(e){const t=Ch(e);t&&(e=e.slice(t.length+1));const n=xh(e),{pragmas:r,comments:i}=wh(n);return{shebang:t,text:e,pragmas:r,comments:i}}var kh={hasPragma:function(e){const t=Object.keys(Sh(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){const{shebang:t,text:n,pragmas:r,comments:i}=Sh(e),o=_h(n),a=Eh({pragmas:Object.assign({format:""},r),comments:i.trimStart()});return(t?"".concat(t,"\n"):"")+Dh(a)+(o.startsWith("\n")?"\n":"\n\n")+o}};const{getFunctionParameters:Th,getLeftSidePathName:Ah,hasFlowShorthandAnnotationComment:Mh,hasNakedLeftSide:Oh,hasNode:Nh,isBitwiseOperator:Ih,startsWithNoLookaheadToken:Fh,shouldFlatten:Ph,getPrecedence:Lh}=Tl;function Rh(e,t){const n=e.getParentNode();if(!n)return!1;const r=e.getName(),i=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(i)&&Bh(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"FieldDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(i))return!1;if("flow"!==t.parser&&Mh(e.getValue()))return!0;if("Identifier"===i.type)return!!(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name));switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===r&&("ArrowFunctionExpression"===i.type||"AssignmentExpression"===i.type||"AwaitExpression"===i.type||"BinaryExpression"===i.type||"ConditionalExpression"===i.type||"LogicalExpression"===i.type||"NewExpression"===i.type||"ObjectExpression"===i.type||"ParenthesizedExpression"===i.type||"SequenceExpression"===i.type||"TaggedTemplateExpression"===i.type||"UnaryExpression"===i.type||"UpdateExpression"===i.type||"YieldExpression"===i.type))return!0;break;case"ExportDefaultDeclaration":return jh(e,t)||"SequenceExpression"===i.type;case"Decorator":if("expression"===r){let e=!1,t=!1,n=i;for(;n;)switch(n.type){case"MemberExpression":t=!0,n=n.object;break;case"CallExpression":if(t||e)return!0;e=!0,n=n.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(Fh(i,!0))return!0;break;case"ArrowFunctionExpression":if("body"===r&&"SequenceExpression"!==i.type&&Fh(i,!1))return!0}switch(i.type){case"SpreadElement":case"SpreadProperty":return"object"===r&&"MemberExpression"===n.type;case"UpdateExpression":if("UnaryExpression"===n.type)return i.prefix&&("++"===i.operator&&"+"===n.operator||"--"===i.operator&&"-"===n.operator);case"UnaryExpression":switch(n.type){case"UnaryExpression":return i.operator===n.operator&&("+"===i.operator||"-"===i.operator);case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"BinaryExpression":return"left"===r&&"**"===n.operator;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===n.type||"PipelineTopicExpression"===n.type&&"|>"===i.operator)return!0;if("in"===i.operator&&function(e){let t=0,n=e.getValue();for(;n;){const r=e.getParentNode(t++);if(r&&"ForStatement"===r.type&&r.init===n)return!0;n=r}return!1}(e))return!0;if("|>"===i.operator&&i.extra&&i.extra.parenthesized){const t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"ConditionalExpression":return"TSAsExpression"===i.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===r;case"ClassExpression":case"ClassDeclaration":return"superClass"===r;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"AssignmentExpression":return"left"===r&&("TSTypeAssertion"===i.type||"TSAsExpression"===i.type);case"LogicalExpression":if("LogicalExpression"===i.type)return n.operator!==i.operator;case"BinaryExpression":{const{operator:e,type:t}=i;if(!e&&"TSTypeAssertion"!==t)return!0;const o=Lh(e),a=n.operator,s=Lh(a);return s>o||"right"===r&&s===o||s===o&&!Ph(a,e)||(s"===n.operator);default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if("extendsType"===r&&"TSConditionalType"===n.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===r&&"TSConditionalType"===n.type)return!0;case"TSUnionType":case"TSIntersectionType":if("TSUnionType"===n.type||"TSIntersectionType"===n.type)return!0;case"TSInferType":if("TSInferType"===i.type&&"TSRestType"===n.type)return!1;case"TSTypeOperator":return"TSArrayType"===n.type||"TSOptionalType"===n.type||"TSRestType"===n.type||"objectType"===r&&"TSIndexedAccessType"===n.type||"TSTypeOperator"===n.type||"TSTypeAnnotation"===n.type&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===n.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===n.type||"NullableTypeAnnotation"===n.type||"IntersectionTypeAnnotation"===n.type||"UnionTypeAnnotation"===n.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===n.type;case"FunctionTypeAnnotation":{const t="NullableTypeAnnotation"===n.type?e.getParentNode(1):n;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===n.type&&null===n.name&&Th(i).some(e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type)}case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof i.value&&"ExpressionStatement"===n.type&&!n.directive){const t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===r&&"MemberExpression"===n.type&&"number"==typeof i.value;case"AssignmentExpression":{const t=e.getParentNode(1);return"body"===r&&"ArrowFunctionExpression"===n.type||("key"!==r||"ClassProperty"!==n.type&&"FieldDefinition"!==n.type||!n.computed)&&("init"!==r&&"update"!==r||"ForStatement"!==n.type)&&("ExpressionStatement"===n.type?"ObjectPattern"===i.left.type:("key"!==r||"TSPropertySignature"!==n.type)&&"AssignmentExpression"!==n.type&&("SequenceExpression"!==n.type||!t||"ForStatement"!==t.type||t.init!==n&&t.update!==n)&&("value"!==r||"Property"!==n.type||!t||"ObjectPattern"!==t.type||!t.properties.includes(n))&&"NGChainedExpression"!==n.type)}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"ConditionalExpression":return"test"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return!(!i.extra||!i.extra.parenthesized);case"BinaryExpression":return"|>"!==n.operator||i.extra&&i.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===r;case"MemberExpression":case"OptionalMemberExpression":return"object"===r;case"TSAsExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===r;default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return"callee"===r;default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{const t=e.getParentNode(1);if("object"===r&&"MemberExpression"===n.type||"callee"===r&&("CallExpression"===n.type||"NewExpression"===n.type)||"TSNonNullExpression"===n.type&&"MemberExpression"===t.type&&t.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)){let e=i;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===r&&("BindExpression"===n.type||"NewExpression"===n.type)||"object"===r&&("MemberExpression"===n.type||"OptionalMemberExpression"===n.type);case"NGPipeExpression":return!("NGRoot"===n.type||"NGMicrosyntaxExpression"===n.type||!("ObjectProperty"!==n.type||i.extra&&i.extra.parenthesized)||"ArrayExpression"===n.type||("CallExpression"===n.type||"OptionalCallExpression"===n.type)&&n.arguments[r]===i||"right"===r&&"NGPipeExpression"===n.type||"property"===r&&"MemberExpression"===n.type||"AssignmentExpression"===n.type);case"JSXFragment":case"JSXElement":return"callee"===r||"left"===r&&"BinaryExpression"===n.type&&"<"===n.operator||"ArrayExpression"!==n.type&&"ArrowFunctionExpression"!==n.type&&"AssignmentExpression"!==n.type&&"AssignmentPattern"!==n.type&&"BinaryExpression"!==n.type&&"CallExpression"!==n.type&&"NewExpression"!==n.type&&"ConditionalExpression"!==n.type&&"ExpressionStatement"!==n.type&&"JsExpressionRoot"!==n.type&&"JSXAttribute"!==n.type&&"JSXElement"!==n.type&&"JSXExpressionContainer"!==n.type&&"JSXFragment"!==n.type&&"LogicalExpression"!==n.type&&"ObjectProperty"!==n.type&&"OptionalCallExpression"!==n.type&&"Property"!==n.type&&"ReturnStatement"!==n.type&&"ThrowStatement"!==n.type&&"TypeCastExpression"!==n.type&&"VariableDeclarator"!==n.type&&"YieldExpression"!==n.type;case"TypeAnnotation":return"returnType"===r&&"ArrowFunctionExpression"===n.type&&function(e){return Nh(e,e=>"ObjectTypeAnnotation"===e.type&&Nh(e,e=>"FunctionTypeAnnotation"===e.type||void 0)||void 0)}(i)}return!1}function Bh(e){const t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof r&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(Bh);break;case"ObjectProperty":if("value"===r){const t=e.getParentNode(1);return t.properties[t.properties.length-1]===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===r)return e.callParent(Bh);break;case"ConditionalExpression":if("alternate"===r)return e.callParent(Bh);break;case"UnaryExpression":if(n.prefix)return e.callParent(Bh)}return!1}function jh(e,t){const n=e.getValue(),r=e.getParentNode();return"FunctionExpression"===n.type||"ClassExpression"===n.type?"ExportDefaultDeclaration"===r.type||!Rh(e,t):!(!Oh(n)||"ExportDefaultDeclaration"!==r.type&&Rh(e,t))&&e.call(e=>jh(e,t),...Ah(e,n))}var Hh=Rh;const{builders:{concat:$h,join:qh,line:Uh,group:zh,softline:Vh,indent:Wh}}=cn;var Gh={isVueEventBindingExpression:function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},printHtmlBinding:function(e,t,n){const r=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(r,t),"File"===r.type)return t.__isVueForBindingLeft?e.call(e=>{const t=qh($h([",",Uh]),e.map(n,"params")),{params:r}=e.getValue();return 1===r.length?t:$h(["(",Wh($h([Vh,zh(t)])),Vh,")"])},"program","body",0):t.__isVueBindings?e.call(e=>qh($h([",",Uh]),e.map(n,"params")),"program","body",0):void 0}},Kh=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}};const{builders:{concat:Xh,group:Yh,indent:Jh,join:Zh,line:Qh,hardline:ef}}=cn,{hasNewlineBetweenOrAfterDecorators:tf,getParentExportDeclaration:nf}=Tl;var rf={printOptionalToken:function(e){const t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"},printFunctionTypeParameters:function(e,t,n){const r=e.getValue();return r.typeArguments?e.call(n,"typeArguments"):r.typeParameters?e.call(n,"typeParameters"):""},printBindExpressionCallee:function(e,t,n){return Xh(["::",e.call(n,"callee")])},printTypeScriptModifiers:function(e,t,n){const r=e.getValue();return r.modifiers&&r.modifiers.length?Xh([Zh(" ",e.map(n,"modifiers"))," "]):""},printDecorators:function(e,t,n){const r=e.getValue();return Yh(Xh([Zh(Qh,e.map(n,"decorators")),tf(r,t)?ef:Qh]))},printFlowDeclaration:function(e,t){const n=nf(e);return n?(ns.strictEqual(n.type,"DeclareExportDeclaration"),t):Xh(["declare ",t])},adjustClause:function(e,t,n){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||n?Xh([" ",t]):Jh(Xh([Qh,t]))}};const{builders:{concat:of,softline:af,group:sf,indent:uf,join:lf,line:cf,ifBreak:hf,hardline:ff}}=cn,{printDanglingComments:df}=Ds,{hasDanglingComments:pf,shouldPrintComma:mf,needsHardlineAfterDanglingComment:gf}=Tl,{locStart:vf,hasSameLoc:yf}=sa;function bf(e,t,n){const r=e.getValue();if(!r.source)return"";const i=[];return _f(r,t)||i.push(" from"),i.push(" ",e.call(n,"source")),of(i)}function wf(e,t,n){const r=e.getValue();if(_f(r,t))return"";const i=[" "];if(r.specifiers&&r.specifiers.length>0){const o=[],a=[];e.each(t=>{const r=e.getValue().type;if("ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportDefaultSpecifier"===r)o.push(n(t));else{if("ExportSpecifier"!==r&&"ImportSpecifier"!==r)throw new Error("Unknown specifier type ".concat(JSON.stringify(r)));a.push(n(t))}},"specifiers"),i.push(lf(", ",o)),0!==a.length&&(0!==o.length&&i.push(", "),a.length>1||o.length>0||r.specifiers.some(e=>e.comments)?i.push(sf(of(["{",uf(of([t.bracketSpacing?cf:af,lf(of([",",cf]),a)])),hf(mf(t)?",":""),t.bracketSpacing?cf:af,"}"]))):i.push(of(["{",t.bracketSpacing?" ":"",of(a),t.bracketSpacing?" ":"","}"])))}else i.push("{}");return of(i)}function _f(e,t){const{type:n,importKind:r,source:i,specifiers:o}=e;return!("ImportDeclaration"!==n||Array.isArray(o)&&o.length>0||"type"===r)&&!/{\s*}/.test(t.originalText.slice(vf(e),vf(i)))}function xf(e,t,n){const r=e.getNode();return Array.isArray(r.assertions)&&0!==r.assertions.length?of([" assert {",t.bracketSpacing?" ":"",lf(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]):""}var Ef={printImportDeclaration:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[],{importKind:a}=r;return o.push("import"),a&&"value"!==a&&o.push(" ",a),o.push(wf(e,t,n),bf(e,t,n),xf(e,t,n)),o.push(i),of(o)},printExportDeclaration:function(e,t,n){const r=e.getValue(),i=[],{type:o,exportKind:a,declaration:s}=r;return"DeclareExportDeclaration"===o&&i.push("declare "),i.push("export"),(r.default||"ExportDefaultDeclaration"===o)&&i.push(" default"),pf(r)&&(i.push(" ",df(e,t,!0)),gf(r)&&i.push(ff)),s?i.push(" ",e.call(n,"declaration")):i.push("type"===a?" type":"",wf(e,t,n),bf(e,t,n),xf(e,t,n)),function(e,t){if(!t.semi)return!1;const{type:n,declaration:r}=e,i=e.default||"ExportDefaultDeclaration"===n;if(!r)return!0;const{type:o}=r;return!(!i||"ClassDeclaration"===o||"FunctionDeclaration"===o||"TSInterfaceDeclaration"===o||"DeclareClass"===o||"DeclareFunction"===o||"TSDeclareFunction"===o||"EnumDeclaration"===o)}(r,t)&&i.push(";"),of(i)},printExportAllDeclaration:function(e,t,n){const r=e.getValue();let i=t.semi?";":"";const o=[],{type:a,exportKind:s,exported:u}=r;return"DeclareExportAllDeclaration"===a&&(o.push("declare "),i=""),o.push("export"),"type"===s&&o.push(" type"),o.push(" *"),u&&o.push(" as ",e.call(n,"exported")),o.push(bf(e,t,n),xf(e,t,n),i),of(o)},printModuleSpecifier:function(e,t,n){const r=e.getNode(),{type:i,importKind:o}=r,a=[];"ImportSpecifier"===i&&o&&a.push(o," ");const s=i.startsWith("Import"),u=s?"imported":"local",l=s?"local":"exported";let c="",h="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?c="*":r[u]&&(c=e.call(n,u)),!r[l]||r[u]&&yf(r[u],r[l])||(h=e.call(n,l)),a.push(c,c&&h?" as ":"",h),of(a)}};const{hasNewlineInRange:Cf}=Lt,{isJSXNode:Df,isBlockComment:Sf}=Tl,{locStart:kf,locEnd:Tf}=sa,{builders:{concat:Af,line:Mf,softline:Of,group:Nf,indent:If,align:Ff,ifBreak:Pf,dedent:Lf,breakParent:Rf}}=cn;var Bf=function(e,t,n,r){const i=e.getValue(),o=i[r.consequentNodePropertyName],a=i[r.alternateNodePropertyName],s=[];let u=!1;const l=e.getParentNode(),c=l.type===r.conditionalNodeType&&r.testNodePropertyNames.some(e=>l[e]===i);let h,f,d=l.type===r.conditionalNodeType&&!c,p=0;do{f=h||i,h=e.getParentNode(p),p++}while(h&&h.type===r.conditionalNodeType&&r.testNodePropertyNames.every(e=>h[e]!==f));const m=h||l,g=f;if(r.shouldCheckJsx&&(Df(i[r.testNodePropertyNames[0]])||Df(o)||Df(a)||function(e){return function(e){const t=[];return function e(n){"ConditionalExpression"===n.type?(e(n.test),e(n.consequent),e(n.alternate)):t.push(n)}(e),t}(e).some(Df)}(g))){u=!0,d=!0;const t=e=>Af([Pf("(",""),If(Af([Of,e])),Of,Pf(")","")]),i=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;s.push(" ? ",i(o)?e.call(n,r.consequentNodePropertyName):t(e.call(n,r.consequentNodePropertyName))," : ",a.type===r.conditionalNodeType||i(a)?e.call(n,r.alternateNodePropertyName):t(e.call(n,r.alternateNodePropertyName)))}else{const u=Af([Mf,"? ",o.type===r.conditionalNodeType?Pf("","("):"",Ff(2,e.call(n,r.consequentNodePropertyName)),o.type===r.conditionalNodeType?Pf("",")"):"",Mf,": ",a.type===r.conditionalNodeType?e.call(n,r.alternateNodePropertyName):Ff(2,e.call(n,r.alternateNodePropertyName))]);s.push(l.type!==r.conditionalNodeType||l[r.alternateNodePropertyName]===i||c?u:t.useTabs?Lf(If(u)):Ff(Math.max(0,t.tabWidth-2),u))}const v=Jo([...r.testNodePropertyNames.map(e=>i[e].comments),o.comments,a.comments]).filter(Boolean).some(e=>Sf(e)&&Cf(t.originalText,kf(e),Tf(e))),y=!u&&("MemberExpression"===l.type||"OptionalMemberExpression"===l.type||"NGPipeExpression"===l.type&&l.left===i)&&!l.computed,b=(e=>l===m?Nf(e,{shouldBreak:v}):v?Af([e,Rf]):e)(Af([].concat((w=Af(r.beforeParts()),l.type===r.conditionalNodeType&&l[r.alternateNodePropertyName]===i?Ff(2,w):w),d?Af(s):If(Af(s)),r.afterParts(y))));var w;return c?Nf(Af([If(Af([Of,b])),Of])):b};const{getNextNonSpaceNonCommentCharacter:jf,isNextLineEmpty:Hf}=Lt,{printDanglingComments:$f}=Ds,{builders:{concat:qf,line:Uf,hardline:zf,softline:Vf,group:Wf,indent:Gf,ifBreak:Kf},utils:{removeLines:Xf}}=cn,{getFunctionParameters:Yf,iterateFunctionParametersPath:Jf,isSimpleType:Zf,isTestCall:Qf,isTypeAnnotationAFunction:ed,isObjectType:td,isObjectTypePropertyAFunction:nd,hasRestParameter:rd,shouldPrintComma:id}=Tl,{locEnd:od}=sa,{printFunctionTypeParameters:ad}=rf;function sd(e){if(!e)return!1;const t=Yf(e);if(1!==t.length)return!1;const[n]=t;return!n.comments&&("ObjectPattern"===n.type||"ArrayPattern"===n.type||"Identifier"===n.type&&n.typeAnnotation&&("TypeAnnotation"===n.typeAnnotation.type||"TSTypeAnnotation"===n.typeAnnotation.type)&&td(n.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===n.type&&td(n.typeAnnotation)||"AssignmentPattern"===n.type&&("ObjectPattern"===n.left.type||"ArrayPattern"===n.left.type)&&("Identifier"===n.right.type||"ObjectExpression"===n.right.type&&0===n.right.properties.length||"ArrayExpression"===n.right.type&&0===n.right.elements.length))}var ud={printFunctionParameters:function(e,t,n,r,i){const o=e.getValue(),a=Yf(o),s=i?ad(e,n,t):"";if(0===a.length)return qf([s,"(",$f(e,n,!0,e=>")"===jf(n.originalText,e,od)),")"]);const u=e.getParentNode(),l=Qf(u),c=sd(o),h=r&&!a.some(e=>e.comments),f=[];if(Jf(e,(e,r)=>{const i=r===a.length-1;i&&o.rest&&f.push("..."),f.push(e.call(t)),i||(f.push(","),l||c||h?f.push(" "):Hf(n.originalText,a[r],od)?f.push(zf,zf):f.push(Uf))}),h)return Wf(qf([Xf(s),"(",qf(f.map(Xf)),")"]));const d=a.every(e=>!e.decorators);return c&&d||l?qf([s,"(",qf(f),")"]):(nd(u)||ed(u)||"TypeAlias"===u.type||"UnionTypeAnnotation"===u.type||"TSUnionType"===u.type||"IntersectionTypeAnnotation"===u.type||"FunctionTypeAnnotation"===u.type&&u.returnType===o)&&1===a.length&&null===a[0].name&&o.this!==a[0]&&a[0].typeAnnotation&&null===o.typeParameters&&Zf(a[0].typeAnnotation)&&!o.rest?"always"===n.arrowParens?qf(["(",qf(f),")"]):qf(f):qf([s,"(",Gf(qf([Vf,qf(f)])),Kf(!rd(o)&&id(n,"all")?",":""),Vf,")"])},shouldHugFunctionParameters:sd};const{builders:{concat:ld}}=cn,{isFlowAnnotationComment:cd,isSimpleType:hd,isObjectType:fd}=Tl;var dd={printTypeAnnotation:function(e,t,n){const r=e.getValue();if(!r.typeAnnotation)return"";const i=e.getParentNode(),o=r.definite||i&&"VariableDeclarator"===i.type&&i.definite,a="DeclareFunction"===i.type&&i.id===r;return cd(t.originalText,r.typeAnnotation)?ld([" /*: ",e.call(n,"typeAnnotation")," */"]):ld([a?"":o?"!: ":": ",e.call(n,"typeAnnotation")])},shouldHugType:function(e){if(hd(e)||fd(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){const t=e.types.filter(e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type).length,n=e.types.some(e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type);if(e.types.length-1===t&&n)return!0}return!1}};const{printDanglingComments:pd}=Ds,{builders:{concat:md,line:gd,softline:vd,group:yd,indent:bd,ifBreak:wd}}=cn,{getLast:_d,isNextLineEmpty:xd}=Lt,{hasDanglingComments:Ed,shouldPrintComma:Cd}=Tl,{locEnd:Dd}=sa,{printOptionalToken:Sd}=rf,{printTypeAnnotation:kd}=dd;function Td(e,t,n,r){const i=[];let o=[];return e.each(e=>{i.push(md(o)),i.push(yd(r(e))),o=[",",gd],e.getValue()&&xd(t.originalText,e.getValue(),Dd)&&o.push(vd)},n),md(i)}var Ad={printArray:function(e,t,n){const r=e.getValue(),i=[],o="TupleExpression"===r.type?"#[":"[";if(0===r.elements.length)Ed(r)?i.push(yd(md([o,pd(e,t),vd,"]"]))):i.push(o,"]");else{const a=_d(r.elements),s=!(a&&"RestElement"===a.type),u=s&&null===a,l=!t.__inJestEach&&r.elements.length>1&&r.elements.every((e,t,n)=>{const r=e&&e.type;if("ArrayExpression"!==r&&"ObjectExpression"!==r)return!1;const i=n[t+1];if(i&&r!==i.type)return!1;const o="ArrayExpression"===r?"elements":"properties";return e[o]&&e[o].length>1});i.push(yd(md([o,bd(md([vd,Td(e,t,"elements",n)])),u?",":"",wd(s&&!u&&Cd(t)?",":""),pd(e,t,!0),vd,"]"]),{shouldBreak:l}))}return i.push(Sd(e),kd(e,t,n)),md(i)},printArrayItems:Td};const{printDanglingComments:Md}=Ds,{builders:{concat:Od,line:Nd,softline:Id,group:Fd,indent:Pd,ifBreak:Ld,hardline:Rd}}=cn,{getLast:Bd,isNextLineEmpty:jd,hasNewlineInRange:Hd,hasNewline:$d}=Lt,{hasDanglingComments:qd,shouldPrintComma:Ud,hasNodeIgnoreComment:zd,isBlockComment:Vd}=Tl,{locStart:Wd,locEnd:Gd}=sa,{printOptionalToken:Kd}=rf,{shouldHugFunctionParameters:Xd}=ud,{printTypeAnnotation:Yd,shouldHugType:Jd}=dd;var Zd={printObject:function(e,t,n){const r=t.semi?";":"",i=e.getValue();let o;o="TSTypeLiteral"===i.type?"members":"TSInterfaceBody"===i.type?"body":"properties";const a="ObjectTypeAnnotation"===i.type,s=[];a&&s.push("indexers","callProperties","internalSlots"),s.push(o);const u=s.map(e=>i[e][0]).sort((e,t)=>Wd(e)-Wd(t))[0],l=e.getParentNode(0),c=a&&l&&("InterfaceDeclaration"===l.type||"DeclareInterface"===l.type||"DeclareClass"===l.type)&&"body"===e.getName(),h="TSInterfaceBody"===i.type||c||"ObjectPattern"===i.type&&"FunctionDeclaration"!==l.type&&"FunctionExpression"!==l.type&&"ArrowFunctionExpression"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"AssignmentPattern"!==l.type&&"CatchClause"!==l.type&&i.properties.some(e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type))||"ObjectPattern"!==i.type&&u&&Hd(t.originalText,Wd(i),Wd(u)),f=c?";":"TSInterfaceBody"===i.type||"TSTypeLiteral"===i.type?Ld(r,";"):",",d="RecordExpression"===i.type?"#{":i.exact?"{|":"{",p=i.exact?"|}":"}",m=[];s.forEach(t=>{e.each(e=>{const t=e.getValue();m.push({node:t,printed:n(e),loc:Wd(t)})},t)});let g=[];const v=m.sort((e,t)=>e.loc-t.loc).map(e=>{const n=Od(g.concat(Fd(e.printed)));return g=[f,Nd],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!zd(e.node)||g.shift(),jd(t.originalText,e.node,Gd)&&g.push(Rd),n});if(i.inexact){let n;if(qd(i)){const r=!i.comments.every(e=>Vd(e)),o=Md(e,t,!0);n=Od([o,r||$d(t.originalText,Gd(i.comments[i.comments.length-1]))?Rd:Nd,"..."])}else n="...";v.push(Od(g.concat(n)))}const y=Bd(i[o]),b=!(i.inexact||y&&"RestElement"===y.type||y&&("TSPropertySignature"===y.type||"TSCallSignatureDeclaration"===y.type||"TSMethodSignature"===y.type||"TSConstructSignatureDeclaration"===y.type)&&zd(y));let w;if(0===v.length){if(!qd(i))return Od([d,p,Yd(e,t,n)]);w=Fd(Od([d,Md(e,t),Id,p,Kd(e),Yd(e,t,n)]))}else w=Od([d,Pd(Od([t.bracketSpacing?Nd:Id,Od(v)])),Ld(b&&(","!==f||Ud(t))?f:""),Od([t.bracketSpacing?Nd:Id,p]),Kd(e),Yd(e,t,n)]);return e.match(e=>"ObjectPattern"===e.type&&!e.decorators,(e,t,n)=>Xd(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)||e.match(Jd,(e,t)=>"typeAnnotation"===t,(e,t)=>"typeAnnotation"===t,(e,t,n)=>Xd(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===n)?w:Fd(w,{shouldBreak:h})}};const{printComments:Qd,printDanglingComments:ep}=Ds,{builders:{concat:tp,line:np,hardline:rp,softline:ip,group:op,indent:ap,conditionalGroup:sp,fill:up,ifBreak:lp,lineSuffixBoundary:cp},utils:{willBreak:hp,isLineNext:fp,isEmpty:dp}}=cn,{getLast:pp,getPreferredQuote:mp}=Lt,{hasTrailingComment:gp,isEmptyJSXElement:vp,isJSXWhitespaceExpression:yp,isJSXNode:bp,isMeaningfulJSXText:wp,matchJsxWhitespaceRegex:_p,rawText:xp,isLiteral:Ep,isCallOrOptionalCallExpression:Cp,isStringLiteral:Dp,isBinaryish:Sp,isBlockComment:kp}=Tl,{willPrintOwnComments:Tp}=sc;function Ap(e,t,n){const r=e.getValue();if("JSXElement"===r.type&&vp(r))return tp([e.call(n,"openingElement"),e.call(n,"closingElement")]);const i="JSXElement"===r.type?e.call(n,"openingElement"):e.call(n,"openingFragment"),o="JSXElement"===r.type?e.call(n,"closingElement"):e.call(n,"closingFragment");if(1===r.children.length&&"JSXExpressionContainer"===r.children[0].type&&("TemplateLiteral"===r.children[0].expression.type||"TaggedTemplateExpression"===r.children[0].expression.type))return tp([i,tp(e.map(n,"children")),o]);r.children=r.children.map(e=>yp(e)?{type:"JSXText",value:" ",raw:" "}:e);const a=r.children.filter(bp).length>0,s=r.children.filter(e=>"JSXExpressionContainer"===e.type).length>1,u="JSXElement"===r.type&&r.openingElement.attributes.length>1;let l=hp(i)||a||u||s;const c="mdx"===e.getParentNode().rootMarker,h=t.singleQuote?"{' '}":'{" "}',f=c?tp([" "]):lp(tp([h,ip])," "),d=r.openingElement&&r.openingElement.name&&"fbt"===r.openingElement.name.name,p=function(e,t,n,r,i){const o=e.getValue(),a=[];return e.each((e,t)=>{const s=e.getValue();if(Ep(s)){const e=xp(s);if(wp(s)){const n=e.split(_p);if(""===n[0]){if(a.push(""),n.shift(),/\n/.test(n[0])){const e=o.children[t+1];a.push(Op(i,n[1],s,e))}else a.push(r);n.shift()}let u;if(""===pp(n)&&(n.pop(),u=n.pop()),0===n.length)return;if(n.forEach((e,t)=>{t%2==1?a.push(np):a.push(e)}),void 0!==u)if(/\n/.test(u)){const e=o.children[t+1];a.push(Op(i,pp(a),s,e))}else a.push(r);else{const e=o.children[t+1];a.push(Mp(i,pp(a),s,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&(a.push(""),a.push(rp)):(a.push(""),a.push(r))}else{const r=n(e);a.push(r);const u=o.children[t+1];if(u&&wp(u)){const e=xp(u).trim().split(_p)[0];a.push(Mp(i,e,s,u))}else a.push(rp)}},"children"),a}(e,0,n,f,d),m=r.children.some(e=>wp(e));for(let b=p.length-2;b>=0;b--){const e=""===p[b]&&""===p[b+1],t=p[b]===rp&&""===p[b+1]&&p[b+2]===rp,n=(p[b]===ip||p[b]===rp)&&""===p[b+1]&&p[b+2]===f,r=p[b]===f&&""===p[b+1]&&(p[b+2]===ip||p[b+2]===rp),i=p[b]===f&&""===p[b+1]&&p[b+2]===f,o=p[b]===ip&&""===p[b+1]&&p[b+2]===rp||p[b]===rp&&""===p[b+1]&&p[b+2]===ip;t&&m||e||n||i||o?p.splice(b,2):r&&p.splice(b+1,2)}for(;p.length&&(fp(pp(p))||dp(pp(p)));)p.pop();for(;p.length&&(fp(p[0])||dp(p[0]))&&(fp(p[1])||dp(p[1]));)p.shift(),p.shift();const g=[];p.forEach((e,t)=>{if(e===f){if(1===t&&""===p[t-1])return 2===p.length?void g.push(h):void g.push(tp([h,rp]));if(t===p.length-1)return void g.push(h);if(""===p[t-1]&&p[t-2]===rp)return void g.push(h)}g.push(e),hp(e)&&(l=!0)});const v=m?up(g):op(tp(g),{shouldBreak:!0});if(c)return v;const y=op(tp([i,ap(tp([rp,v])),rp,o]));return l?y:sp([op(tp([i,tp(p),o])),y])}function Mp(e,t,n,r){return e?"":"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?1===t.length?ip:rp:ip}function Op(e,t,n,r){return e?rp:1===t.length?"JSXElement"===n.type&&!n.closingElement||r&&"JSXElement"===r.type&&!r.closingElement?rp:ip:rp}function Np(e,t,n){const r=e.getValue();return tp(["{",e.call(e=>{const r=tp(["...",n(e)]),i=e.getValue();return i.comments&&i.comments.length&&Tp(e)?tp([ap(tp([ip,Qd(e,()=>r,t)])),ip]):r},"JSXSpreadAttribute"===r.type?"argument":"expression"),"}"])}var Ip={printJsxElement:function(e,t,n){const r=Qd(e,()=>Ap(e,t,n),t);return function(e,t,n){const r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;const i=e.match(void 0,e=>"ArrowFunctionExpression"===e.type,Cp,e=>"JSXExpressionContainer"===e.type),o=Hh(e,n);return op(tp([o?"":lp("("),ap(tp([ip,t])),ip,o?"":lp(")")]),{shouldBreak:i})}(e,r,t)},printJsxAttribute:function(e,t,n){const r=e.getValue(),i=[];if(i.push(e.call(n,"name")),r.value){let o;if(Dp(r.value)){let e=xp(r.value).replace(/'/g,"'").replace(/"/g,'"');const n=mp(e,t.jsxSingleQuote?"'":'"'),i="'"===n?"'":""";e=e.slice(1,-1).replace(new RegExp(n,"g"),i),o=tp([n,e,n])}else o=e.call(n,"value");i.push("=",o)}return tp(i)},printJsxOpeningElement:function(e,t,n){const r=e.getValue(),i=r.name&&r.name.comments&&r.name.comments.length>0||r.typeParameters&&r.typeParameters.comments&&r.typeParameters.comments.length>0;if(r.selfClosing&&!r.attributes.length&&!i)return tp(["<",e.call(n,"name"),e.call(n,"typeParameters")," />"]);if(r.attributes&&1===r.attributes.length&&r.attributes[0].value&&Dp(r.attributes[0].value)&&!r.attributes[0].value.value.includes("\n")&&!i&&(!r.attributes[0].comments||!r.attributes[0].comments.length))return op(tp(["<",e.call(n,"name"),e.call(n,"typeParameters")," ",tp(e.map(n,"attributes")),r.selfClosing?" />":">"]));const o=r.attributes.length&&gp(pp(r.attributes)),a=!r.attributes.length&&!i||t.jsxBracketSameLine&&(!i||r.attributes.length)&&!o,s=r.attributes&&r.attributes.some(e=>e.value&&Dp(e.value)&&e.value.value.includes("\n"));return op(tp(["<",e.call(n,"name"),e.call(n,"typeParameters"),tp([ap(tp(e.map(e=>tp([np,n(e)]),"attributes"))),r.selfClosing?np:a?">":ip]),r.selfClosing?"/>":a?"":">"]),{shouldBreak:s})},printJsxClosingElement:function(e,t,n){return tp([""])},printJsxOpeningClosingFragment:function(e,t){const n=e.getValue(),r=n.comments&&n.comments.length,i=r&&!n.comments.every(e=>kp(e)),o="JSXOpeningFragment"===n.type;return tp([o?"<":""])},printJsxExpressionContainer:function(e,t,n){const r=e.getValue(),i=e.getParentNode(0),o=r.expression.comments&&r.expression.comments.length>0,a="JSXEmptyExpression"===r.expression.type||!o&&("ArrayExpression"===r.expression.type||"ObjectExpression"===r.expression.type||"ArrowFunctionExpression"===r.expression.type||"CallExpression"===r.expression.type||"OptionalCallExpression"===r.expression.type||"FunctionExpression"===r.expression.type||"TemplateLiteral"===r.expression.type||"TaggedTemplateExpression"===r.expression.type||"DoExpression"===r.expression.type||bp(i)&&("ConditionalExpression"===r.expression.type||Sp(r.expression)));return op(tp(a?["{",e.call(n,"expression"),cp,"}"]:["{",ap(tp([ip,e.call(n,"expression")])),ip,cp,"}"]))},printJsxEmptyExpression:function(e,t){const n=e.getValue(),r=n.comments&&!n.comments.every(e=>kp(e));return tp([ep(e,t,!r),r?rp:""])},printJsxSpreadAttribute:Np,printJsxSpreadChild:Np};const{printDanglingComments:Fp}=Ds,{builders:{concat:Pp,join:Lp,line:Rp,hardline:Bp,softline:jp,group:Hp,indent:$p,ifBreak:qp}}=cn,{hasDanglingComments:Up,isTestCall:zp,isBlockComment:Vp,shouldPrintComma:Wp}=Tl,{shouldHugType:Gp}=dd,Kp=new WeakMap;function Xp(e){return Kp.has(e)||Kp.set(e,Symbol("typeParameters")),Kp.get(e)}function Yp(e,t){const n=e.getValue();if(!Up(n))return"";const r=n.comments.every(e=>Vp(e)),i=Fp(e,t,r);return r?i:Pp([i,Bp])}var Jp={printTypeParameters:function(e,t,n,r){const i=e.getValue();if(!i[r])return"";if(!Array.isArray(i[r]))return e.call(n,r);const o=e.getNode(2);return null!=o&&zp(o)||0===i[r].length||1===i[r].length&&(Gp(i[r][0])||"GenericTypeAnnotation"===i[r][0].type&&Gp(i[r][0].id)||"TSTypeReference"===i[r][0].type&&Gp(i[r][0].typeName)||"NullableTypeAnnotation"===i[r][0].type)?Pp(["<",Lp(", ",e.map(n,r)),Yp(e,t),">"]):Hp(Pp(["<",$p(Pp([jp,Lp(Pp([",",Rp]),e.map(n,r))])),qp("typescript"!==t.parser&&"babel-ts"!==t.parser&&Wp(t,"all")?",":""),jp,">"]),{id:Xp(i)})},getTypeParametersGroupId:Xp};const{printComments:Zp}=Ds,{printString:Qp,printNumber:em}=Lt,{builders:{concat:tm}}=cn,{isNumericLiteral:nm,isSimpleNumber:rm,isStringLiteral:im,isStringPropSafeToUnquote:om,rawText:am}=Tl,sm=new WeakMap;var um={printPropertyKey:function(e,t,n){const r=e.getNode();if(r.computed)return tm(["[",e.call(n,"key"),"]"]);const i=e.getParentNode(),{key:o}=r;if("ClassPrivateProperty"===r.type&&"Identifier"===o.type)return tm(["#",e.call(n,"key")]);if("consistent"===t.quoteProps&&!sm.has(i)){const e=(i.properties||i.body||i.members).some(e=>!e.computed&&e.key&&im(e.key)&&!om(e,t));sm.set(i,e)}if(("Identifier"===o.type||nm(o)&&rm(em(am(o)))&&String(o.value)===em(am(o))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&sm.get(i))){const n=Qp(JSON.stringify("Identifier"===o.type?o.name:o.value.toString()),t);return e.call(e=>Zp(e,()=>n,t),"key")}return om(r,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!sm.get(i))?e.call(e=>Zp(e,()=>/^\d/.test(o.value)?em(o.value):o.value,t),"key"):e.call(n,"key")}};const{printDanglingComments:lm}=Ds,{getNextNonSpaceNonCommentCharacterIndex:cm}=Lt,{builders:{concat:hm,line:fm,softline:dm,group:pm,indent:mm,ifBreak:gm,hardline:vm}}=cn,{getFunctionParameters:ym,hasDanglingComments:bm,hasLeadingOwnLineComment:wm,isFlowAnnotationComment:_m,isJSXNode:xm,isTemplateOnItsOwnLine:Em,shouldPrintComma:Cm,startsWithNoLookaheadToken:Dm,returnArgumentHasLeadingComment:Sm,isBinaryish:km,isLineComment:Tm}=Tl,{locEnd:Am}=sa,{printFunctionParameters:Mm}=ud,{printPropertyKey:Om}=um,{printFunctionTypeParameters:Nm}=rf;function Im(e,t,n){const r=[Nm(e,t,n),pm(hm([Mm(e,n,t),Pm(e,n,t)]))];return e.getNode().body?r.push(" ",e.call(n,"body")):r.push(t.semi?";":""),hm(r)}function Fm(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&function(e){const t=ym(e);return!(1!==t.length||e.typeParameters||bm(e)||"Identifier"!==t[0].type||t[0].typeAnnotation||t[0].comments||t[0].optional||e.predicate||e.returnType)}(e.getValue()))}function Pm(e,t,n){const r=e.getValue(),i=e.call(t,"returnType");if(r.returnType&&_m(n.originalText,r.returnType))return hm([" /*: ",i," */"]);const o=[i];return r.returnType&&r.returnType.typeAnnotation&&o.unshift(": "),r.predicate&&o.push(r.returnType?" ":": ",e.call(t,"predicate")),hm(o)}var Lm={printFunctionDeclaration:function(e,t,n,r){const i=e.getValue(),o=[];return i.async&&o.push("async "),i.generator?o.push("function* "):o.push("function "),i.id&&o.push(e.call(t,"id")),o.push(Nm(e,n,t),pm(hm([Mm(e,t,n,r),Pm(e,t,n)])),i.body?" ":"",e.call(t,"body")),hm(o)},printArrowFunctionExpression:function(e,t,n,r){const i=e.getValue(),o=[];i.async&&o.push("async "),Fm(e,t)?o.push(e.call(n,"params",0)):o.push(pm(hm([Mm(e,n,t,r&&(r.expandLastArg||r.expandFirstArg),!0),Pm(e,n,t)])));const a=lm(e,t,!0,e=>{const n=cm(t.originalText,e,Am);return!1!==n&&"=>"===t.originalText.slice(n,n+2)});a&&o.push(" ",a),o.push(" =>");const s=e.call(e=>n(e,r),"body");if(!wm(t.originalText,i.body)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||xm(i.body)||Em(i.body,t.originalText)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return pm(hm([hm(o)," ",s]));if("SequenceExpression"===i.body.type)return pm(hm([hm(o),pm(hm([" (",mm(hm([dm,s])),dm,")"]))]));const u=(r&&r.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(i.comments&&i.comments.length),l=r&&r.expandLastArg&&Cm(t,"all"),c="ConditionalExpression"===i.body.type&&!Dm(i.body,!1);return pm(hm([hm(o),pm(hm([mm(hm([fm,c?gm("","("):"",s,c?gm("",")"):""])),u?hm([gm(l?",":""),dm]):""]))]))},printMethod:function(e,t,n){const r=e.getNode(),{kind:i}=r,o=r.value||r,a=[];return i&&"init"!==i&&"method"!==i&&"constructor"!==i?(ns.ok("get"===i||"set"===i),a.push(i," ")):o.async&&a.push("async "),o.generator&&a.push("*"),a.push(Om(e,t,n),r.optional||r.key.optional?"?":"",r===o?Im(e,t,n):e.call(e=>Im(e,t,n),"value")),hm(a)},printReturnAndThrowArgument:function(e,t,n){const r=e.getValue(),i=t.semi?";":"",o=[];r.argument&&(Sm(t,r.argument)?o.push(hm([" (",mm(hm([vm,e.call(n,"argument")])),vm,")"])):km(r.argument)||"SequenceExpression"===r.argument.type?o.push(pm(hm([gm(" ("," "),mm(hm([dm,e.call(n,"argument")])),dm,gm(")")]))):o.push(" ",e.call(n,"argument")));const a=Array.isArray(r.comments)&&r.comments[r.comments.length-1],s=a&&Tm(a);return s&&o.push(i),bm(r)&&o.push(" ",lm(e,t,!0)),s||o.push(i),hm(o)},shouldPrintParamsWithoutParens:Fm};const{printComments:Rm,printDanglingComments:Bm}=Ds,{builders:{concat:jm,join:Hm,line:$m,hardline:qm,softline:Um,group:zm,indent:Vm,ifBreak:Wm}}=cn,{hasTrailingComment:Gm,hasTrailingLineComment:Km}=Tl,{getTypeParametersGroupId:Xm}=Jp,{printMethod:Ym}=Lm,{printDecorators:Jm}=rf;function Zm(e){return e.typeParameters&&!Km(e.typeParameters)&&!function(e){return["superClass","extends","mixins","implements"].filter(t=>!!e[t]).length>1}(e)}function Qm(e,t,n,r){const i=e.getValue();if(!i[r]||0===i[r].length)return"";const o=Bm(e,t,!0,({marker:e})=>e===r);return jm([Zm(i)?Wm(" ",$m,{groupId:Xm(i.typeParameters)}):$m,o,o&&qm,r,zm(Vm(jm([$m,Hm(jm([",",$m]),e.map(n,r))])))])}function eg(e,t,n){const r=e.call(n,"superClass"),i=e.getParentNode();return i&&"AssignmentExpression"===i.type?jm([Wm("("),Vm(jm([Um,r])),Um,Wm(")")]):r}var tg={printClass:function(e,t,n){const r=e.getValue(),i=[];r.abstract&&i.push("abstract "),i.push("class");const o=r.id&&Gm(r.id)||r.superClass&&r.superClass.comments&&0!==r.superClass.comments.length||r.extends&&0!==r.extends.length||r.mixins&&0!==r.mixins.length||r.implements&&0!==r.implements.length,a=[],s=[];if(r.id&&a.push(" ",e.call(n,"id")),a.push(e.call(n,"typeParameters")),r.superClass){const r=jm(["extends ",eg(e,t,n),e.call(n,"superTypeParameters")]),i=e.call(e=>Rm(e,()=>r,t),"superClass");o?s.push($m,zm(i)):s.push(" ",i)}else s.push(Qm(e,t,n,"extends"));if(s.push(Qm(e,t,n,"mixins")),s.push(Qm(e,t,n,"implements")),o){const e=jm(s);Zm(r)?i.push(zm(jm(a.concat(Wm(Vm(e),e))))):i.push(zm(Vm(jm(a.concat(e)))))}else i.push(...a,...s);return i.push(" ",e.call(n,"body")),jm(i)},printClassMethod:function(e,t,n){const r=e.getValue(),i=[];return r.decorators&&0!==r.decorators.length&&i.push(Jm(e,t,n)),r.accessibility&&i.push(r.accessibility+" "),r.static&&i.push("static "),("TSAbstractMethodDefinition"===r.type||r.abstract)&&i.push("abstract "),i.push(Ym(e,t,n)),jm(i)}};const{getLast:ng,getPenultimate:rg,isNextLineEmpty:ig}=Lt,{getFunctionParameters:og,iterateFunctionParametersPath:ag,hasLeadingComment:sg,hasTrailingComment:ug,isFunctionCompositionArgs:lg,isJSXNode:cg,isLongCurriedCallExpression:hg,shouldPrintComma:fg,getCallArguments:dg,iterateCallArgumentsPath:pg}=Tl,{locEnd:mg}=sa,{builders:{concat:gg,line:vg,hardline:yg,softline:bg,group:wg,indent:_g,conditionalGroup:xg,ifBreak:Eg,breakParent:Cg},utils:{willBreak:Dg}}=cn;function Sg(e){return"ObjectExpression"===e.type&&(e.properties.length>0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type&&Sg(e.expression)||"TSAsExpression"===e.type&&Sg(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type)&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||cg(e.body))}var kg=function(e,t,n){const r=e.getValue(),i="ImportExpression"===r.type,o=dg(r);if(0===o.length)return gg(["(",Ds.printDanglingComments(e,t,!0),")"]);if(2===o.length&&"ArrowFunctionExpression"===o[0].type&&0===og(o[0]).length&&"BlockStatement"===o[0].body.type&&"ArrayExpression"===o[1].type&&!o.some(e=>e.comments))return gg(["(",e.call(n,"arguments",0),", ",e.call(n,"arguments",1),")"]);let a=!1,s=!1,u=!1;const l=o.length-1,c=[];pg(e,(e,r)=>{const i=e.getNode(),o=[n(e)];r===l||(ig(t.originalText,i,mg)?(0===r&&(u=!0),a=!0,o.push(",",yg,yg)):o.push(",",vg)),s=function(e,t){if(!e||"ArrowFunctionExpression"!==e.type||!e.body||"BlockStatement"!==e.body.type||0===og(e).length)return!1;let r=!1;return ag(t,e=>{r=r||Dg(gg([n(e)]))}),r}(i,e),c.push(gg(o))});const h=i||r.callee&&"Import"===r.callee.type||!fg(t,"all")?"":",";function f(){return wg(gg(["(",_g(gg([vg,gg(c)])),h,vg,")"]),{shouldBreak:!0})}if("Decorator"!==e.getParentNode().type&&lg(o))return f();const d=function(e){if(2!==e.length)return!1;const[t,n]=e;return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type||"ConditionalExpression"===n.type||Sg(n))}(o),p=function(e){const t=ng(e),n=rg(e);return!sg(t)&&!ug(t)&&Sg(t)&&(!n||n.type!==t.type)}(o);if(d||p){const t=(d?c.slice(1).some(Dg):c.slice(0,-1).some(Dg))||a||s;let i=[];pg(e,(e,t)=>{d&&0===t&&(i=[gg([e.call(e=>n(e,{expandFirstArg:!0})),c.length>1?",":"",u?yg:vg,u?yg:""])].concat(c.slice(1))),p&&t===o.length-1&&(i=c.slice(0,-1).concat(e.call(e=>n(e,{expandLastArg:!0}))))});const l=c.some(Dg),h=gg(["(",gg(i),")"]);return gg([l?Cg:"",xg([l||r.typeArguments||r.typeParameters?Eg(f(),h):h,gg(d?["(",wg(i[0],{shouldBreak:!0}),gg(i.slice(1)),")"]:["(",gg(c.slice(0,-1)),wg(ng(i),{shouldBreak:!0}),")"]),f()],{shouldBreak:t})])}const m=gg(["(",_g(gg([bg,gg(c)])),Eg(h),bg,")"]);return hg(e)?m:wg(m,{shouldBreak:c.some(Dg)||a})};const{builders:{concat:Tg,softline:Ag,group:Mg,indent:Og}}=cn,{isNumericLiteral:Ng}=Tl,{printOptionalToken:Ig}=rf;function Fg(e,t,n){const r=e.call(n,"property"),i=e.getValue(),o=Ig(e);return i.computed?!i.property||Ng(i.property)?Tg([o,"[",r,"]"]):Mg(Tg([o,"[",Og(Tg([Ag,r])),Ag,"]"])):Tg([o,".",r])}var Pg={printMemberExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode();let o,a=0;do{o=e.getParentNode(a),a++}while(o&&("MemberExpression"===o.type||"OptionalMemberExpression"===o.type||"TSNonNullExpression"===o.type));const s=o&&("NewExpression"===o.type||"BindExpression"===o.type||"VariableDeclarator"===o.type&&"Identifier"!==o.id.type||"AssignmentExpression"===o.type&&"Identifier"!==o.left.type)||r.computed||"Identifier"===r.object.type&&"Identifier"===r.property.type&&"MemberExpression"!==i.type&&"OptionalMemberExpression"!==i.type;return Tg([e.call(n,"object"),s?Fg(e,t,n):Mg(Og(Tg([Ag,Fg(e,t,n)])))])},printMemberLookup:Fg};const{getLast:Lg,isNextLineEmpty:Rg,isNextLineEmptyAfterIndex:Bg,getNextNonSpaceNonCommentCharacterIndex:jg}=Lt,{hasLeadingComment:Hg,hasTrailingComment:$g,isCallOrOptionalCallExpression:qg,isFunctionOrArrowExpression:Ug,isLongCurriedCallExpression:zg,isMemberish:Vg,isNumericLiteral:Wg,isSimpleCallArgument:Gg}=Tl,{locEnd:Kg}=sa,{builders:{concat:Xg,join:Yg,hardline:Jg,group:Zg,indent:Qg,conditionalGroup:ev,breakParent:tv},utils:{willBreak:nv}}=cn,{printMemberLookup:rv}=Pg,{printOptionalToken:iv,printFunctionTypeParameters:ov,printBindExpressionCallee:av}=rf;var sv=function(e,t,n){const r=e.getParentNode(),i=!r||"ExpressionStatement"===r.type,o=[];function a(e){const{originalText:n}=t,r=jg(n,e,Kg);return")"===n.charAt(r)?!1!==r&&Bg(n,r+1):Rg(n,e,Kg)}function s(e){const r=e.getValue();qg(r)&&(Vg(r.callee)||qg(r.callee))?(o.unshift({node:r,printed:Xg([Ds.printComments(e,()=>Xg([iv(e),ov(e,t,n),kg(e,t,n)]),t),a(r)?Jg:""])}),e.call(e=>s(e),"callee")):Vg(r)?(o.unshift({node:r,needsParens:Hh(e,t),printed:Ds.printComments(e,()=>"OptionalMemberExpression"===r.type||"MemberExpression"===r.type?rv(e,t,n):av(e,t,n),t)}),e.call(e=>s(e),"object")):"TSNonNullExpression"===r.type?(o.unshift({node:r,printed:Ds.printComments(e,()=>"!",t)}),e.call(e=>s(e),"expression")):o.unshift({node:r,printed:e.call(n)})}const u=e.getValue();o.unshift({node:u,printed:Xg([iv(e),ov(e,t,n),kg(e,t,n)])}),u.callee&&e.call(e=>s(e),"callee");const l=[];let c=[o[0]],h=1;for(;he.trailing)&&(l.push(c),c=[],f=!1)}function d(e){return/^[A-Z]|^[$_]+$/.test(e)}c.length>0&&l.push(c);const p=l.length>=2&&!l[1][0].node.comments&&function(e){const n=e[1].length&&e[1][0].node.computed;if(1===e[0].length){const r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(d(r.name)||i&&function(e){return e.length<=t.tabWidth}(r.name)||n)}const r=Lg(e[0]).node;return("MemberExpression"===r.type||"OptionalMemberExpression"===r.type)&&"Identifier"===r.property.type&&(d(r.property.name)||n)}(l);function m(e){const t=e.map(e=>e.printed);return e.length>0&&e[e.length-1].needsParens?Xg(["(",...t,")"]):Xg(t)}const g=l.map(m),v=Xg(g),y=p?3:2,b=Jo(l),w=b.slice(1,-1).some(e=>Hg(e.node))||b.slice(0,-1).some(e=>$g(e.node))||l[y]&&Hg(l[y][0].node);if(l.length<=y&&!w)return zg(e)?v:Zg(v);const _=Lg(l[p?1:0]).node,x=!qg(_)&&a(_),E=Xg([m(l[0]),p?Xg(l.slice(1,2).map(m)):"",x?Jg:"",function(e){return 0===e.length?"":Qg(Zg(Xg([Jg,Yg(Jg,e.map(m))])))}(l.slice(p?2:1))]),C=o.map(({node:e})=>e).filter(qg);return w||C.length>2&&C.some(e=>!e.arguments.every(e=>Gg(e,0)))||g.slice(0,-1).some(nv)||function(){const e=Lg(Lg(l)).node,t=Lg(g);return qg(e)&&nv(t)&&C.slice(0,-1).some(e=>e.arguments.some(Ug))}()?Zg(E):Xg([nv(v)||x?tv:"",ev([v,E])])};const{builders:{concat:uv,join:lv,group:cv}}=cn,{getCallArguments:hv,hasFlowAnnotationComment:fv,isCallOrOptionalCallExpression:dv,isMemberish:pv,isTemplateOnItsOwnLine:mv,isTestCall:gv,iterateCallArgumentsPath:vv}=Tl,{printOptionalToken:yv,printFunctionTypeParameters:bv}=rf;var wv={printCallExpression:function(e,t,n){const r=e.getValue(),i="NewExpression"===r.type,o="ImportExpression"===r.type,a=yv(e),s=hv(r);if(s.length>0&&(!o&&!i&&"Identifier"===r.callee.type&&("require"===r.callee.name||"define"===r.callee.name)||1===s.length&&mv(s[0],t.originalText)||!i&&gv(r,e.getParentNode()))){const r=[];return vv(e,e=>{r.push(n(e))}),uv([i?"new ":"",e.call(n,"callee"),a,bv(e,t,n),uv(["(",lv(", ",r),")"])])}const u=("babel"===t.parser||"babel-flow"===t.parser)&&r.callee&&"Identifier"===r.callee.type&&fv(r.callee.trailingComments);if(u&&(r.callee.trailingComments[0].printed=!0),!o&&!i&&pv(r.callee)&&!e.call(e=>Hh(e,t),"callee"))return sv(e,t,n);const l=uv([i?"new ":"",o?"import":e.call(n,"callee"),a,u?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",bv(e,t,n),kg(e,t,n)]);return o||dv(r.callee)?cv(l):l}};const{builders:{concat:_v,join:xv,line:Ev,group:Cv,indent:Dv,ifBreak:Sv}}=cn,{hasTrailingComment:kv,hasTrailingLineComment:Tv,identity:Av}=Tl,{getTypeParametersGroupId:Mv}=Jp,{printTypeScriptModifiers:Ov}=rf;var Nv={printInterface:function(e,t,n){const r=e.getValue(),i=[];("DeclareInterface"===r.type||r.declare)&&i.push("declare "),"TSInterfaceDeclaration"===r.type&&i.push(r.abstract?"abstract ":"",Ov(e,t,n)),i.push("interface");const o=[],a=[];"InterfaceTypeAnnotation"!==r.type&&o.push(" ",e.call(n,"id"),e.call(n,"typeParameters"));const s=r.typeParameters&&!Tv(r.typeParameters);if(r.extends&&0!==r.extends.length&&a.push(s?Sv(" ",Ev,{groupId:Mv(r.typeParameters)}):Ev,"extends ",(1===r.extends.length?Av:Dv)(xv(_v([",",Ev]),e.map(n,"extends")))),r.id&&kv(r.id)||r.extends&&0!==r.extends.length){const e=_v(a);s?i.push(Cv(_v(o.concat(Sv(Dv(e),e))))):i.push(Cv(Dv(_v(o.concat(e)))))}else i.push(...o,...a);return i.push(" ",e.call(n,"body")),Cv(_v(i))}};const{printComments:Iv}=Ds,{getLast:Fv}=Lt,{builders:{concat:Pv,join:Lv,line:Rv,softline:Bv,group:jv,indent:Hv,align:$v,ifBreak:qv},utils:{normalizeParts:Uv}}=cn,{hasLeadingOwnLineComment:zv,hasTrailingLineComment:Vv,isBinaryish:Wv,isJSXNode:Gv,shouldFlatten:Kv}=Tl;let Xv=0;function Yv(e,t,n,r,i){let o=[];const a=e.getValue();if(Wv(a)){Kv(a.operator,a.left.operator)?o=o.concat(e.call(e=>Yv(e,t,n,!0,i),"left")):o.push(jv(e.call(t,"left")));const s=Jv(a),u=("|>"===a.operator||"NGPipeExpression"===a.type||"|"===a.operator&&"__vue_expression"===n.parser)&&!zv(n.originalText,a.right),l="NGPipeExpression"===a.type?"|":a.operator,c="NGPipeExpression"===a.type&&0!==a.arguments.length?jv(Hv(Pv([Bv,": ",Lv(Pv([Bv,":",qv(" ")]),e.map(t,"arguments").map(e=>$v(2,jv(e))))]))):"",h=Pv(s?[l," ",e.call(t,"right"),c]:[u?Rv:"",l,u?" ":Rv,e.call(t,"right"),c]),f=e.getParentNode(),d=Vv(a.left),p=d||!(i&&"LogicalExpression"===a.type)&&f.type!==a.type&&a.left.type!==a.type&&a.right.type!==a.type;o.push(u?"":" ",p?jv(h,{shouldBreak:d}):h),r&&a.comments&&(o=Uv(Iv(e,()=>Pv(o),n).parts))}else o.push(jv(e.call(t)));return o}function Jv(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||"ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!Gv(e.right))}var Zv={printBinaryishExpression:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=e.getParentNode(1),a=r!==i.body&&("IfStatement"===i.type||"WhileStatement"===i.type||"SwitchStatement"===i.type||"DoWhileStatement"===i.type),s=Yv(e,n,t,!1,a);if(a)return Pv(s);if(("CallExpression"===i.type||"OptionalCallExpression"===i.type)&&i.callee===r||"UnaryExpression"===i.type||("MemberExpression"===i.type||"OptionalMemberExpression"===i.type)&&!i.computed)return jv(Pv([Hv(Pv([Bv,Pv(s)])),Bv]));const u="ReturnStatement"===i.type||"ThrowStatement"===i.type||"JSXExpressionContainer"===i.type&&"JSXAttribute"===o.type||"|"!==r.operator&&"JsExpressionRoot"===i.type||"NGPipeExpression"!==r.type&&("NGRoot"===i.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===i.type&&"NGMicrosyntax"===o.type&&1===o.body.length)||r===i.body&&"ArrowFunctionExpression"===i.type||r!==i.body&&"ForStatement"===i.type||"ConditionalExpression"===i.type&&"ReturnStatement"!==o.type&&"ThrowStatement"!==o.type&&"CallExpression"!==o.type&&"OptionalCallExpression"!==o.type||"TemplateLiteral"===i.type,l="AssignmentExpression"===i.type||"VariableDeclarator"===i.type||"ClassProperty"===i.type||"FieldDefinition"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"ObjectProperty"===i.type||"Property"===i.type,c=Wv(r.left)&&Kv(r.operator,r.left.operator);if(u||Jv(r)&&!c||!Jv(r)&&l)return jv(Pv(s));if(0===s.length)return"";const h=Gv(r.right),f=s.findIndex(e=>"string"!=typeof e&&"group"===e.type),d=s.slice(0,-1===f?1:f+1),p=Pv(s.slice(d.length,h?-1:void 0)),m=Symbol("logicalChain-"+ ++Xv),g=jv(Pv([...d,Hv(p)]),{id:m});if(!h)return g;const v=Fv(s);return jv(Pv([g,qv(Hv(v),v,{groupId:m})]))},shouldInlineLogicalExpression:Jv};const{builders:{concat:Qv,line:ey,group:ty,indent:ny}}=cn,{hasLeadingOwnLineComment:ry,isBinaryish:iy,isMemberExpressionChain:oy,isStringLiteral:ay}=Tl,{shouldInlineLogicalExpression:sy}=Zv;function uy(e,t,n,r,i,o){if(!r)return t;const a=ly(e,r,i,o);return ty(Qv([t,n,a]))}function ly(e,t,n,r){return ry(r.originalText,t)?ny(Qv([ey,n])):iy(t)&&!sy(t)||"ConditionalExpression"===t.type&&iy(t.test)&&!sy(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||ay(e)||"MemberExpression"===e.type)&&(ay(t)||oy(t))&&"json"!==r.parser&&"json5"!==r.parser||"SequenceExpression"===t.type?ty(ny(Qv([ey,n]))):Qv([" ",n])}var cy={printVariableDeclarator:function(e,t,n){const r=e.getValue();return uy(r.id,e.call(n,"id")," =",r.init,r.init&&e.call(n,"init"),t)},printAssignmentExpression:function(e,t,n){const r=e.getValue();return uy(r.left,e.call(n,"left"),Qv([" ",r.operator]),r.right,e.call(n,"right"),t)},printAssignment:uy,printAssignmentRight:ly};const{isNextLineEmpty:hy}=Lt,{builders:{concat:fy,join:dy,hardline:py}}=cn,{classChildNeedsASIProtection:my,classPropMayCauseASIProblems:gy,getLeftSidePathName:vy,hasNakedLeftSide:yy,isJSXNode:by,isLastStatement:wy,isTheOnlyJSXElementInMarkdown:_y}=Tl,{locEnd:xy}=sa,{shouldPrintParamsWithoutParens:Ey}=Lm;function Cy({path:e,index:t,bodyNode:n,isClass:r},i,o){const a=e.getValue();if(!a)return;if("EmptyStatement"===a.type)return;const s=o(e),u=i.originalText,l=[];if(i.semi||r||_y(i,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call(e=>Dy(e,t),"expression")}(e,i)?l.push(s):a.comments&&a.comments.some(e=>e.leading)?l.push(o(e,{needsSemi:!0})):l.push(";",s),!i.semi&&r)if(gy(e))l.push(";");else if("ClassProperty"===a.type||"FieldDefinition"===a.type){const e=n.body[t+1];my(e)&&l.push(";")}return hy(u,a,xy)&&!wy(e)&&l.push(py),fy(l)}function Dy(e,t){const n=e.getValue();return!!(Hh(e,t)||"ParenthesizedExpression"===n.type||"TypeCastExpression"===n.type||"ArrowFunctionExpression"===n.type&&!Ey(e,t)||"ArrayExpression"===n.type||"ArrayPattern"===n.type||"UnaryExpression"===n.type&&n.prefix&&("+"===n.operator||"-"===n.operator)||"TemplateLiteral"===n.type||"TemplateElement"===n.type||by(n)||"BindExpression"===n.type&&!n.object||"RegExpLiteral"===n.type||"Literal"===n.type&&n.pattern||"Literal"===n.type&&n.regex)||!!yy(n)&&e.call(e=>Dy(e,t),...vy(e,n))}var Sy={printStatementSequence:function(e,t,n){const r=e.getNode(),i="ClassBody"===r.type,o=e.map((o,a)=>Cy({path:e,index:a,bodyNode:r,isClass:i},t,n)).filter(Boolean);return dy(py,o)}};const{printDanglingComments:ky}=Ds,{isNextLineEmpty:Ty}=Lt,{builders:{concat:Ay,hardline:My,indent:Oy}}=cn,{hasDanglingComments:Ny}=Tl,{locEnd:Iy}=sa,{printStatementSequence:Fy}=Sy;var Py={printBlock:function(e,t,n){const r=e.getValue(),i=[],o=t.semi?";":"",a=e.call(e=>Fy(e,t,n),"body");"StaticBlock"===r.type&&i.push("static ");const s=r.body.some(e=>"EmptyStatement"!==e.type),u=r.directives&&r.directives.length>0,l=e.getParentNode(),c=e.getParentNode(1);return s||u||Ny(r)||"ArrowFunctionExpression"!==l.type&&"FunctionExpression"!==l.type&&"FunctionDeclaration"!==l.type&&"ObjectMethod"!==l.type&&"ClassMethod"!==l.type&&"ClassPrivateMethod"!==l.type&&"ForStatement"!==l.type&&"WhileStatement"!==l.type&&"DoWhileStatement"!==l.type&&"DoExpression"!==l.type&&("CatchClause"!==l.type||c.finalizer)&&"TSModuleDeclaration"!==l.type&&"TSDeclareFunction"!==l.type&&"StaticBlock"!==r.type?(i.push("{"),u&&e.each(e=>{i.push(Oy(Ay([My,n(e),o]))),Ty(t.originalText,e.getValue(),Iy)&&i.push(My)},"directives"),s&&i.push(Oy(Ay([My,a]))),i.push(ky(e,t)),i.push(My,"}"),Ay(i)):Ay([...i,"{}"])}};const{hasNewline:Ly}=Lt,{builders:{concat:Ry,join:By,hardline:jy}}=cn,{isLineComment:Hy,isBlockComment:$y}=Tl,{locStart:qy,locEnd:Uy}=sa;var zy={printComment:function(e,t){const n=e.getValue();if(Hy(n))return t.originalText.slice(qy(n),Uy(n)).trimEnd();if($y(n)){if(function(e){const t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every(e=>"*"===e.trim()[0])}(n)){const e=function(e){const t=e.value.split("\n");return Ry(["/*",By(jy,t.map((e,n)=>0===n?e.trimEnd():" "+(ne.call(n,"interpreter"),"program")),s.push(e.call(n,"program")),Jy(s);case"Program":{const r=!i.body.every(({type:e})=>"EmptyStatement"===e)||i.comments;if(i.directives){const a=i.directives.length;e.each((e,i)=>{s.push(n(e),o,eb),(iDw(e,t,n),"body")),s.push(Ds.printDanglingComments(e,t,!0)),r&&s.push(eb),Jy(s)}case"EmptyStatement":return"";case"ExpressionStatement":if(i.directive)return Jy([Aw(i.expression,t,!0),o]);if("__vue_event_binding"===t.parser){const t=e.getParentNode();if("Program"===t.type&&1===t.body.length&&t.body[0]===i)return Jy([e.call(n,"expression"),hb(i.expression)?";":""])}return Jy([e.call(n,"expression"),Mb(t,e)?"":o]);case"ParenthesizedExpression":return i.expression.comments?rb(Jy(["(",ib(Jy([tb,e.call(n,"expression")])),tb,")"])):Jy(["(",e.call(n,"expression"),")"]);case"AssignmentExpression":return _w(e,t,n);case"VariableDeclarator":return ww(e,t,n);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":return Cw(e,t,n);case"AssignmentPattern":return Jy([e.call(n,"left")," = ",e.call(n,"right")]);case"TSTypeAssertion":{const t=!("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type),r=rb(Jy(["<",ib(Jy([tb,e.call(n,"typeAnnotation")])),tb,">"])),o=Jy([sb("("),ib(Jy([tb,e.call(n,"expression")])),tb,sb(")")]);return t?ab([Jy([r,e.call(n,"expression")]),Jy([r,rb(o,{shouldBreak:!0})]),Jy([r,e.call(n,"expression")])]):rb(Jy([r,e.call(n,"expression")]))}case"OptionalMemberExpression":case"MemberExpression":return Sw(e,t,n);case"MetaProperty":return Jy([e.call(n,"meta"),".",e.call(n,"property")]);case"BindExpression":return i.object&&s.push(e.call(n,"object")),s.push(rb(ib(Jy([tb,jb(e,t,n)])))),Jy(s);case"Identifier":return Jy([i.name,Bb(e),Qb(e,t,n)]);case"V8IntrinsicIdentifier":return Jy(["%",i.name]);case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return Jy(["...",e.call(n,"argument"),Qb(e,t,n)]);case"FunctionDeclaration":case"FunctionExpression":return s.push(pw(e,n,t,r&&r.expandLastArg&&db(e.getParentNode()).length>1)),i.body||s.push(o),Jy(s);case"ArrowFunctionExpression":return mw(e,t,n,r);case"YieldExpression":return s.push("yield"),i.delegate&&s.push("*"),i.argument&&s.push(" ",e.call(n,"argument")),Jy(s);case"AwaitExpression":{s.push("await"),i.argument&&s.push(" ",e.call(n,"argument"));const t=e.getParentNode();return("CallExpression"===t.type||"OptionalCallExpression"===t.type)&&t.callee===i||("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&t.object===i?rb(Jy([ib(Jy([tb,Jy(s)])),tb])):Jy(s)}case"TSExportAssignment":return Jy(["export = ",e.call(n,"expression"),o]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"DeclareExportDeclaration":return Vb(e,t,n);case"ExportAllDeclaration":case"DeclareExportAllDeclaration":return Wb(e,t,n);case"ImportDeclaration":return zb(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Gb(e,t,n);case"ImportAttribute":return Jy([e.call(n,"key"),": ",e.call(n,"value")]);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":case"StaticBlock":return kw(e,t,n);case"ThrowStatement":case"ReturnStatement":return Jy(["ReturnStatement"===i.type?"return":"throw",vw(e,t,n)]);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return yw(e,t,n);case"ObjectTypeInternalSlot":return Jy([i.static?"static ":"","[[",e.call(n,"id"),"]]",Bb(e),i.method?"":": ",e.call(n,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":case"RecordExpression":return Zb(e,t,n);case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?gw(e,t,n):(i.shorthand?s.push(e.call(n,"value")):s.push(xw(i.key,dw(e,t,n),":",i.value,e.call(n,"value"),t)),Jy(s));case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":case"TSAbstractMethodDefinition":case"TSDeclareMethod":return hw(e,t,n);case"ObjectMethod":return gw(e,t,n);case"Decorator":return Jy(["@",e.call(n,"expression"),e.call(n,"callee")]);case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return Yb(e,t,n);case"SequenceExpression":{const t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){const t=[];return e.each(e=>{0===e.getName()?t.push(n(e)):t.push(",",ib(Jy([Qy,n(e)])))},"expressions"),rb(Jy(t))}return rb(Jy([Zy(Jy([",",Qy]),e.map(n,"expressions"))]))}case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return Mw(i);case"NumericLiteral":return Xy(i.extra.raw);case"DecimalLiteral":return Xy(i.value)+"m";case"BigIntLiteral":return(i.bigint||i.extra.raw).toLowerCase();case"BooleanLiteral":case"StringLiteral":case"Literal":return i.regex?Mw(i.regex):i.bigint?i.raw.toLowerCase():"number"==typeof i.value?Xy(i.raw):"string"!=typeof i.value?""+i.value:Aw(i,t);case"Directive":return e.call(n,"value");case"DirectiveLiteral":return Aw(i,t);case"UnaryExpression":return s.push(i.operator),/[a-z]$/.test(i.operator)&&s.push(" "),i.argument.comments&&i.argument.comments.length>0?s.push(rb(Jy(["(",ib(Jy([tb,e.call(n,"argument")])),tb,")"]))):s.push(e.call(n,"argument")),Jy(s);case"UpdateExpression":return s.push(e.call(n,"argument"),i.operator),i.prefix&&s.reverse(),Jy(s);case"ConditionalExpression":return Bf(e,t,n,{beforeParts:()=>[e.call(n,"test")],afterParts:e=>[e?tb:""],shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyNames:["test"]});case"VariableDeclaration":{const t=e.map(e=>n(e),"declarations"),r=e.getParentNode(),a="ForStatement"===r.type||"ForInStatement"===r.type||"ForOfStatement"===r.type,u=i.declarations.some(e=>e.init);let l;return 1!==t.length||i.declarations[0].comments?t.length>0&&(l=ib(t[0])):l=t[0],s=[i.declare?"declare ":"",i.kind,l?Jy([" ",l]):"",ib(Jy(t.slice(1).map(e=>Jy([",",u&&!a?eb:Qy,e]))))],a&&r.body!==i||s.push(o),rb(Jy(s))}case"TSTypeAliasDeclaration":{i.declare&&s.push("declare ");const r=Ew(i.id,i.typeAnnotation,i.typeAnnotation&&e.call(n,"typeAnnotation"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),rb(Jy(s))}case"WithStatement":return rb(Jy(["with (",e.call(n,"object"),")",Ub(i.body,e.call(n,"body"))]));case"IfStatement":{const r=Ub(i.consequent,e.call(n,"consequent")),o=rb(Jy(["if (",rb(Jy([ib(Jy([tb,e.call(n,"test")])),tb])),")",r]));if(s.push(o),i.alternate){const r=xb(i.consequent)&&i.consequent.comments.some(e=>e.trailing&&!Nb(e))||Ib(i),o="BlockStatement"===i.consequent.type&&!r;s.push(o?" ":eb),gb(i)&&s.push(Ds.printDanglingComments(e,t,!0),r?eb:" "),s.push("else",rb(Ub(i.alternate,e.call(n,"alternate"),"IfStatement"===i.alternate.type)))}return Jy(s)}case"ForStatement":{const r=Ub(i.body,e.call(n,"body")),o=Ds.printDanglingComments(e,t,!0),a=o?Jy([o,tb]):"";return i.init||i.test||i.update?Jy([a,rb(Jy(["for (",rb(Jy([ib(Jy([tb,e.call(n,"init"),";",Qy,e.call(n,"test"),";",Qy,e.call(n,"update")])),tb])),")",r]))]):Jy([a,rb(Jy(["for (;;)",r]))])}case"WhileStatement":return rb(Jy(["while (",rb(Jy([ib(Jy([tb,e.call(n,"test")])),tb])),")",Ub(i.body,e.call(n,"body"))]));case"ForInStatement":return rb(Jy(["for (",e.call(n,"left")," in ",e.call(n,"right"),")",Ub(i.body,e.call(n,"body"))]));case"ForOfStatement":return rb(Jy(["for",i.await?" await":""," (",e.call(n,"left")," of ",e.call(n,"right"),")",Ub(i.body,e.call(n,"body"))]));case"DoWhileStatement":{const t=Ub(i.body,e.call(n,"body")),r=rb(Jy(["do",t]));return s=[r],"BlockStatement"===i.body.type?s.push(" "):s.push(eb),s.push("while ("),s.push(rb(Jy([ib(Jy([tb,e.call(n,"test")])),tb])),")",o),Jy(s)}case"DoExpression":return Jy(["do ",e.call(n,"body")]);case"BreakStatement":return s.push("break"),i.label&&s.push(" ",e.call(n,"label")),s.push(o),Jy(s);case"ContinueStatement":return s.push("continue"),i.label&&s.push(" ",e.call(n,"label")),s.push(o),Jy(s);case"LabeledStatement":return"EmptyStatement"===i.body.type?Jy([e.call(n,"label"),":;"]):Jy([e.call(n,"label"),": ",e.call(n,"body")]);case"TryStatement":return Jy(["try ",e.call(n,"block"),i.handler?Jy([" ",e.call(n,"handler")]):"",i.finalizer?Jy([" finally ",e.call(n,"finalizer")]):""]);case"CatchClause":if(i.param){const r=i.param.comments&&i.param.comments.some(e=>!Nb(e)||e.leading&&Vy(t.originalText,Rb(e))||e.trailing&&Vy(t.originalText,Lb(e),{backwards:!0})),o=e.call(n,"param");return Jy(["catch ",Jy(r?["(",ib(Jy([tb,o])),tb,") "]:["(",o,") "]),e.call(n,"body")])}return Jy(["catch ",e.call(n,"body")]);case"SwitchStatement":return Jy([rb(Jy(["switch (",ib(Jy([tb,e.call(n,"discriminant")])),tb,")"]))," {",i.cases.length>0?ib(Jy([eb,Zy(eb,e.map(e=>{const r=e.getValue();return Jy([e.call(n),i.cases.indexOf(r)!==i.cases.length-1&&Yy(t.originalText,r,Rb)?eb:""])},"cases"))])):"",eb,"}"]);case"SwitchCase":{i.test?s.push("case ",e.call(n,"test"),":"):s.push("default:");const r=i.consequent.filter(e=>"EmptyStatement"!==e.type);if(r.length>0){const i=e.call(e=>Dw(e,t,n),"consequent");s.push(1===r.length&&"BlockStatement"===r[0].type?Jy([" ",i]):ib(Jy([eb,i])))}return Jy(s)}case"DebuggerStatement":return Jy(["debugger",o]);case"JSXAttribute":return nw(e,t,n);case"JSXIdentifier":return""+i.name;case"JSXNamespacedName":return Zy(":",[e.call(n,"namespace"),e.call(n,"name")]);case"JSXMemberExpression":return Zy(".",[e.call(n,"object"),e.call(n,"property")]);case"TSQualifiedName":return Zy(".",[e.call(n,"left"),e.call(n,"right")]);case"JSXSpreadAttribute":return uw(e,t,n);case"JSXSpreadChild":return lw(e,t,n);case"JSXExpressionContainer":return aw(e,t,n);case"JSXFragment":case"JSXElement":return tw(e,t,n);case"JSXOpeningElement":return rw(e,t,n);case"JSXClosingElement":return iw(e,t,n);case"JSXOpeningFragment":case"JSXClosingFragment":return ow(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":return sw(e,t);case"ClassBody":return i.comments||0!==i.body.length?Jy(["{",i.body.length>0?ib(Jy([eb,e.call(e=>Dw(e,t,n),"body")])):Ds.printDanglingComments(e,t),eb,"}"]):"{}";case"ClassProperty":case"FieldDefinition":case"TSAbstractClassProperty":case"ClassPrivateProperty":return i.decorators&&0!==i.decorators.length&&s.push($b(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractClassProperty"===i.type||i.abstract)&&s.push("abstract "),i.readonly&&s.push("readonly "),i.variance&&s.push(e.call(n,"variance")),s.push(dw(e,t,n),Bb(e),Qb(e,t,n)),i.value&&s.push(" =",Ew(i.key,i.value,e.call(n,"value"),t)),s.push(o),rb(Jy(s));case"ClassDeclaration":case"ClassExpression":return i.declare&&s.push("declare "),s.push(cw(e,t,n)),Jy(s);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return s.push(e.call(n,"expression")),i.typeParameters&&s.push(e.call(n,"typeParameters")),Jy(s);case"TemplateElement":return Zy(nb,i.value.raw.split(/\r?\n/g));case"TSTemplateLiteralType":case"TemplateLiteral":return Xb(e,n,t);case"TaggedTemplateExpression":return Jy([e.call(n,"tag"),e.call(n,"typeParameters"),e.call(n,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(i.type));case"TypeAnnotation":case"TSTypeAnnotation":return i.typeAnnotation?e.call(n,"typeAnnotation"):"";case"TSNamedTupleMember":return Jy([e.call(n,"label"),i.optional?"?":"",": ",e.call(n,"elementType")]);case"TSTupleType":case"TupleTypeAnnotation":{const r="TSTupleType"===i.type?"elementTypes":"types",o=i[r].length>0&&"TSRestType"===Gy(i[r]).type;return rb(Jy(["[",ib(Jy([tb,Jb(e,t,r,n)])),sb(Pb(t,"all")&&!o?",":""),Ds.printDanglingComments(e,t,!0),tb,"]"]))}case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return Jy([e.call(n,"elementType"),"[]"]);case"BooleanLiteralTypeAnnotation":return""+i.value;case"DeclareClass":return qb(e,cw(e,t,n));case"TSDeclareFunction":return Jy([i.declare?"declare ":"",pw(e,n,t),o]);case"DeclareFunction":return qb(e,Jy(["function ",e.call(n,"id"),i.predicate?" ":"",e.call(n,"predicate"),o]));case"DeclareModule":return qb(e,Jy(["module ",e.call(n,"id")," ",e.call(n,"body")]));case"DeclareModuleExports":return qb(e,Jy(["module.exports",": ",e.call(n,"typeAnnotation"),o]));case"DeclareVariable":return qb(e,Jy(["var ",e.call(n,"id"),o]));case"DeclareOpaqueType":case"OpaqueType":return s.push("opaque type ",e.call(n,"id"),e.call(n,"typeParameters")),i.supertype&&s.push(": ",e.call(n,"supertype")),i.impltype&&s.push(" = ",e.call(n,"impltype")),s.push(o),"DeclareOpaqueType"===i.type?qb(e,Jy(s)):Jy(s);case"EnumDeclaration":return Jy(["enum ",e.call(n,"id")," ",e.call(n,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===i.type||i.explicitType){let e=null;switch(i.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}s.push("of ",e," ")}if(0!==i.members.length||i.hasUnknownMembers){const r=i.members.length?[eb,Jb(e,t,"members",n),i.hasUnknownMembers||Pb(t)?",":""]:[];s.push(rb(Jy(["{",ib(Jy([...r,...i.hasUnknownMembers?[eb,"..."]:[]])),Ds.printDanglingComments(e,t,!0),eb,"}"])))}else s.push(rb(Jy(["{",Ds.printDanglingComments(e,t),tb,"}"])));return Jy(s);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return Jy([e.call(n,"id")," = ","object"==typeof i.init?e.call(n,"init"):String(i.init)]);case"EnumDefaultedMember":return e.call(n,"id");case"FunctionTypeAnnotation":case"TSFunctionType":{const r=e.getParentNode(0),o=e.getParentNode(1),a=e.getParentNode(2);let u="TSFunctionType"===i.type||!(("ObjectTypeProperty"===r.type||"ObjectTypeInternalSlot"===r.type)&&!r.variance&&!r.optional&&Lb(r)===Lb(i)||"ObjectTypeCallProperty"===r.type||a&&"DeclareFunction"===a.type),l=u&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type);const c=l&&u&&("TypeAnnotation"===r.type||"TSTypeAnnotation"===r.type)&&"ArrowFunctionExpression"===o.type;return Ab(r)&&(u=!0,l=!0),c&&s.push("("),s.push(Kb(e,n,t,!1,!0)),(i.returnType||i.predicate||i.typeAnnotation)&&s.push(u?" => ":": ",e.call(n,"returnType"),e.call(n,"predicate"),e.call(n,"typeAnnotation")),c&&s.push(")"),rb(Jy(s))}case"TSRestType":return Jy(["...",e.call(n,"typeAnnotation")]);case"TSOptionalType":return Jy([e.call(n,"typeAnnotation"),"?"]);case"FunctionTypeParam":{const t=i.name?e.call(n,"name"):e.getParentNode().this===i?"this":"";return Jy([t,Bb(e),t?": ":"",e.call(n,"typeAnnotation")])}case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"TSInterfaceDeclaration":return bw(e,t,n);case"ClassImplements":case"InterfaceExtends":return Jy([e.call(n,"id"),e.call(n,"typeParameters")]);case"TSClassImplements":return Jy([e.call(n,"expression"),e.call(n,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":{const t=e.map(n,"types"),r=[];let o=!1;for(let e=0;e1&&(o=!0),r.push(" & ",e>1?ib(t[e]):t[e])):r.push(ib(Jy([" &",Qy,t[e]])));return rb(Jy(r))}case"TSUnionType":case"UnionTypeAnnotation":{const r=e.getParentNode(),o=!("TypeParameterInstantiation"===r.type||"TSTypeParameterInstantiation"===r.type||"GenericTypeAnnotation"===r.type||"TSTypeReference"===r.type||"TSTypeAssertion"===r.type||"TupleTypeAnnotation"===r.type||"TSTupleType"===r.type||"FunctionTypeParam"===r.type&&!r.name&&e.getParentNode(1).this!==r||("TypeAlias"===r.type||"VariableDeclarator"===r.type||"TSTypeAliasDeclaration"===r.type)&&yb(t.originalText,i)),a=ew(i),s=e.map(e=>{let r=e.call(n);return a||(r=ob(2,r)),Ds.printComments(e,()=>r,t)},"types");if(a)return Zy(" | ",s);const u=o&&!yb(t.originalText,i),l=Jy([sb(Jy([u?Qy:"","| "])),Zy(Jy([Qy,"| "]),s)]);return Hh(e,t)?rb(Jy([ib(l),tb])):"TupleTypeAnnotation"===r.type&&r.types.length>1||"TSTupleType"===r.type&&r.elementTypes.length>1?rb(Jy([ib(Jy([sb(Jy(["(",tb])),l])),tb,sb(")")])):rb(o?ib(l):l)}case"NullableTypeAnnotation":return Jy(["?",e.call(n,"typeAnnotation")]);case"Variance":{const{kind:e}=i;return ns.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return i.static&&s.push("static "),s.push(e.call(n,"value")),Jy(s);case"ObjectTypeIndexer":return Jy([i.variance?e.call(n,"variance"):"","[",e.call(n,"id"),i.id?": ":"",e.call(n,"key"),"]: ",e.call(n,"value")]);case"ObjectTypeProperty":{let r="";return i.proto?r="proto ":i.static&&(r="static "),Jy([r,Db(i)?i.kind+" ":"",i.variance?e.call(n,"variance"):"",dw(e,t,n),Bb(e),Cb(i)?"":": ",e.call(n,"value")])}case"QualifiedTypeIdentifier":return Jy([e.call(n,"qualification"),".",e.call(n,"id")]);case"StringLiteralTypeAnnotation":return Aw(i,t);case"NumberLiteralTypeAnnotation":ns.strictEqual(typeof i.value,"number");case"BigIntLiteralTypeAnnotation":return null!=i.extra?Xy(i.extra.raw):Xy(i.raw);case"DeclareTypeAlias":case"TypeAlias":{("DeclareTypeAlias"===i.type||i.declare)&&s.push("declare ");const r=Ew(i.id,i.right,e.call(n,"right"),t);return s.push("type ",e.call(n,"id"),e.call(n,"typeParameters")," =",r,o),rb(Jy(s))}case"TypeCastExpression":return Jy(["(",e.call(n,"expression"),Qb(e,t,n),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":{const r=fw(e,t,n,"params");if("flow"===t.parser){const e=Lb(i),n=Rb(i),o=t.originalText.lastIndexOf("/*",e),a=t.originalText.indexOf("*/",n);if(-1!==o&&-1!==a){const e=t.originalText.slice(o+2,a).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return Jy(["/*:: ",r," */"])}}return r}case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return fw(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":{const r=e.getParentNode();if("TSMappedType"===r.type)return s.push("[",e.call(n,"name")),i.constraint&&s.push(" in ",e.call(n,"constraint")),r.nameType&&s.push(" as ",e.callParent(e=>e.call(n,"nameType"))),s.push("]"),Jy(s);i.variance&&s.push(e.call(n,"variance")),s.push(e.call(n,"name")),i.bound&&(s.push(": "),s.push(e.call(n,"bound"))),i.constraint&&s.push(" extends ",e.call(n,"constraint")),i.default&&s.push(" = ",e.call(n,"default"));const o=e.getNode(2);return 1===fb(r).length&&Ob(t)&&!i.constraint&&"ArrowFunctionExpression"===o.type&&s.push(","),Jy(s)}case"TypeofTypeAnnotation":return Jy(["typeof ",e.call(n,"argument")]);case"InferredPredicate":return"%checks";case"DeclaredPredicate":return Jy(["%checks(",e.call(n,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"TSNeverKeyword":return"never";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"TSAsExpression":return Jy([e.call(n,"expression")," as ",e.call(n,"typeAnnotation")]);case"TSArrayType":return Jy([e.call(n,"elementType"),"[]"]);case"TSPropertySignature":return i.export&&s.push("export "),i.accessibility&&s.push(i.accessibility+" "),i.static&&s.push("static "),i.readonly&&s.push("readonly "),s.push(dw(e,t,n),Bb(e)),i.typeAnnotation&&(s.push(": "),s.push(e.call(n,"typeAnnotation"))),i.initializer&&s.push(" = ",e.call(n,"initializer")),Jy(s);case"TSParameterProperty":return i.accessibility&&s.push(i.accessibility+" "),i.export&&s.push("export "),i.static&&s.push("static "),i.readonly&&s.push("readonly "),s.push(e.call(n,"parameter")),Jy(s);case"GenericTypeAnnotation":case"TSTypeReference":return Jy([e.call(n,"TSTypeReference"===i.type?"typeName":"id"),fw(e,t,n,"typeParameters")]);case"TSTypeQuery":return Jy(["typeof ",e.call(n,"exprName")]);case"TSIndexSignature":{const r=e.getParentNode(),a=i.parameters.length>1?sb(Pb(t)?",":""):"",s=rb(Jy([ib(Jy([tb,Zy(Jy([", ",tb]),e.map(n,"parameters"))])),a,tb]));return Jy([i.export?"export ":"",i.accessibility?Jy([i.accessibility," "]):"",i.static?"static ":"",i.readonly?"readonly ":"",i.declare?"declare ":"","[",i.parameters?s:"",i.typeAnnotation?"]: ":"]",i.typeAnnotation?e.call(n,"typeAnnotation"):"","ClassBody"===r.type?o:""])}case"TSTypePredicate":return Jy([i.asserts?"asserts ":"",e.call(n,"parameterName"),i.typeAnnotation?Jy([" is ",e.call(n,"typeAnnotation")]):""]);case"TSNonNullExpression":return Jy([e.call(n,"expression"),"!"]);case"ThisTypeAnnotation":case"TSThisType":return"this";case"TSImportType":return Jy([i.isTypeOf?"typeof ":"","import(",e.call(n,i.parameter?"parameter":"argument"),")",i.qualifier?Jy([".",e.call(n,"qualifier")]):"",fw(e,t,n,"typeParameters")]);case"TSLiteralType":return e.call(n,"literal");case"TSIndexedAccessType":return Jy([e.call(n,"objectType"),"[",e.call(n,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==i.type&&s.push("new "),s.push(rb(Kb(e,n,t,!1,!0))),i.returnType||i.typeAnnotation){const t="TSConstructorType"===i.type;s.push(t?" => ":": ",e.call(n,"returnType"),e.call(n,"typeAnnotation"))}return Jy(s);case"TSTypeOperator":return Jy([i.operator," ",e.call(n,"typeAnnotation")]);case"TSMappedType":{const r=Wy(t.originalText,Lb(i),Rb(i));return rb(Jy(["{",ib(Jy([t.bracketSpacing?Qy:tb,i.readonly?Jy([mb(i.readonly,"readonly")," "]):"",Hb(e,t,n),e.call(n,"typeParameter"),i.optional?mb(i.optional,"?"):"",i.typeAnnotation?": ":"",e.call(n,"typeAnnotation"),sb(o,"")])),Ds.printDanglingComments(e,t,!0),t.bracketSpacing?Qy:tb,"}"]),{shouldBreak:r})}case"TSMethodSignature":return s.push(i.accessibility?Jy([i.accessibility," "]):"",i.export?"export ":"",i.static?"static ":"",i.readonly?"readonly ":"",i.computed?"[":"",e.call(n,"key"),i.computed?"]":"",Bb(e),Kb(e,n,t,!1,!0)),(i.returnType||i.typeAnnotation)&&s.push(": ",e.call(n,"returnType"),e.call(n,"typeAnnotation")),rb(Jy(s));case"TSNamespaceExportDeclaration":return s.push("export as namespace ",e.call(n,"id")),t.semi&&s.push(";"),rb(Jy(s));case"TSEnumDeclaration":return i.declare&&s.push("declare "),i.modifiers&&s.push(Hb(e,t,n)),i.const&&s.push("const "),s.push("enum ",e.call(n,"id")," "),0===i.members.length?s.push(rb(Jy(["{",Ds.printDanglingComments(e,t),tb,"}"]))):s.push(rb(Jy(["{",ib(Jy([eb,Jb(e,t,"members",n),Pb(t,"es5")?",":""])),Ds.printDanglingComments(e,t,!0),eb,"}"]))),Jy(s);case"TSEnumMember":return s.push(e.call(n,"id")),i.initializer&&s.push(" = ",e.call(n,"initializer")),Jy(s);case"TSImportEqualsDeclaration":return i.isExport&&s.push("export "),s.push("import ",e.call(n,"id")," = ",e.call(n,"moduleReference")),t.semi&&s.push(";"),rb(Jy(s));case"TSExternalModuleReference":return Jy(["require(",e.call(n,"expression"),")"]);case"TSModuleDeclaration":{const r=e.getParentNode(),a=Sb(i.id),u="TSModuleDeclaration"===r.type,l=i.body&&"TSModuleDeclaration"===i.body.type;if(u)s.push(".");else{i.declare&&s.push("declare "),s.push(Hb(e,t,n));const r=t.originalText.slice(Lb(i),Lb(i.id));"Identifier"===i.id.type&&"global"===i.id.name&&!/namespace|module/.test(r)||s.push(a||/(^|\s)module(\s|$)/.test(r)?"module ":"namespace ")}return s.push(e.call(n,"id")),l?s.push(e.call(n,"body")):i.body?s.push(" ",rb(e.call(n,"body"))):s.push(o),Jy(s)}case"PrivateName":return Jy(["#",e.call(n,i.id?"id":"name")]);case"TSPrivateIdentifier":return i.escapedText;case"TSConditionalType":return Bf(e,t,n,{beforeParts:()=>[e.call(n,"checkType")," ","extends"," ",e.call(n,"extendsType")],afterParts:()=>[],shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyNames:["checkType","extendsType"]});case"TSInferType":return Jy(["infer"," ",e.call(n,"typeParameter")]);case"InterpreterDirective":return s.push("#!",i.value,eb),Yy(t.originalText,i,Rb)&&s.push(eb),Jy(s);case"NGRoot":return Jy([].concat(e.call(n,"node"),i.node.comments&&0!==i.node.comments.length?Jy([" //",i.node.comments[0].value.trimEnd()]):[]));case"NGChainedExpression":return rb(Zy(Jy([";",Qy]),e.map(e=>wb(e)?n(e):Jy(["(",n(e),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return Jy([i.prefix,": ",i.value.trim()]);case"NGMicrosyntax":return Jy(e.map((e,t)=>Jy([0===t?"":kb(e.getValue(),t,i)?" ":Jy([";",Qy]),n(e)]),"body"));case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(i.name)?i.name:JSON.stringify(i.name);case"NGMicrosyntaxExpression":return Jy([e.call(n,"expression"),null===i.alias?"":Jy([" as ",e.call(n,"alias")])]);case"NGMicrosyntaxKeyedExpression":{const t=e.getName(),r=e.getParentNode(),o=kb(i,t,r)||(1===t&&("then"===i.key.name||"else"===i.key.name)||2===t&&"else"===i.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return Jy([e.call(n,"key"),o?" ":": ",e.call(n,"expression")])}case"NGMicrosyntaxLet":return Jy(["let ",e.call(n,"key"),null===i.value?"":Jy([" = ",e.call(n,"value")])]);case"NGMicrosyntaxAs":return Jy([e.call(n,"key")," as ",e.call(n,"alias")]);case"PipelineBareFunction":return e.call(n,"callee");case"PipelineTopicExpression":return e.call(n,"expression");case"PipelinePrimaryTopicReference":return s.push("#"),Jy(s);case"ArgumentPlaceholder":return"?";case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Jy(["?",e.call(n,"typeAnnotation")]);case"TSJSDocNonNullableType":return Jy(["!",e.call(n,"typeAnnotation")]);case"TSJSDocFunctionType":return Jy(["function(","): ",e.call(n,"typeAnnotation")]);default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,n,r);if(!i||ub(a))return a;const s=pb(e),u=[];if("ClassMethod"===i.type||"ClassPrivateMethod"===i.type||"ClassProperty"===i.type||"FieldDefinition"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"MethodDefinition"===i.type||"TSAbstractMethodDefinition"===i.type||"TSDeclareMethod"===i.type);else if(i.decorators&&i.decorators.length>0&&!(s&&Lb(s,{ignoreDecorators:!0})>Lb(i.decorators[0]))){const r="ClassExpression"===i.type||"ClassDeclaration"===i.type||bb(i,t)?eb:Qy;e.each(e=>{let t=e.getValue();t=t.expression?t.expression:t.callee,u.push(n(e),r)},"decorators"),s&&u.unshift(eb)}else Eb(i)&&i.declaration&&i.declaration.decorators&&i.declaration.decorators.length>0&&Lb(i,{ignoreDecorators:!0})>Lb(i.declaration.decorators[0])?e.each(e=>{const t="Decorator"===e.getValue().type?"":"@";u.push(t,n(e),eb)},"declaration","decorators"):o=Hh(e,t);const l=[];if(o&&l.unshift("("),l.push(a),o){const t=e.getValue();vb(t)&&(l.push(" /*"),l.push(t.trailingComments[0].value.trimStart()),l.push("*/"),t.trailingComments[0].printed=!0),l.push(")")}return u.length>0?rb(Jy(u.concat(l))):Jy(l)},embed:fh,insertPragma:lb,massageAstNode:gh,hasPrettierIgnore:_b,willPrintOwnComments:sc.willPrintOwnComments,canAttachComment:function(e){return e.type&&"CommentBlock"!==e.type&&"CommentLine"!==e.type&&"Line"!==e.type&&"Block"!==e.type&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type},printComment:Tw,isBlockComment:Nb,handleComments:{ownLine:sc.handleOwnLineComment,endOfLine:sc.handleEndOfLineComment,remaining:sc.handleRemainingComment},getGapRegex:sc.getGapRegex,getCommentChildNodes:sc.getCommentChildNodes};const{builders:{concat:Nw,hardline:Iw,indent:Fw,join:Pw}}=cn,Lw=new Set(["start","end","extra","loc","comments","errors","range"]);function Rw(e,t){const{type:n}=e;return"Identifier"===n?{type:"StringLiteral",value:e.name}:"UnaryExpression"===n&&"+"===e.operator?t.argument:void 0}Rw.ignoredProperties=Lw;var Bw={preprocess:Kh,print:function(e,t,n){const r=e.getValue();switch(r.type){case"JsonRoot":return Nw([e.call(n,"node"),Iw]);case"ArrayExpression":return 0===r.elements.length?"[]":Nw(["[",Fw(Nw([Iw,Pw(Nw([",",Iw]),e.map(n,"elements"))])),Iw,"]"]);case"ObjectExpression":return 0===r.properties.length?"{}":Nw(["{",Fw(Nw([Iw,Pw(Nw([",",Iw]),e.map(n,"properties"))])),Iw,"}"]);case"ObjectProperty":return Nw([e.call(n,"key"),": ",e.call(n,"value")]);case"UnaryExpression":return Nw(["+"===r.operator?"":r.operator,e.call(n,"argument")]);case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":return JSON.stringify(r.name);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:Rw};const jw="Common";var Hw={bracketSpacing:{since:"0.0.0",category:jw,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:jw,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:jw,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}};const $w="JavaScript";var qw={arrowParens:{since:"1.9.0",category:$w,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Hw.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:$w,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:$w,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Hw.singleQuote,jsxSingleQuote:{since:"1.15.0",category:$w,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:$w,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:$w,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},Uw={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},zw={name:"JSX",type:"programming",group:"JavaScript",extensions:[".jsx"],tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},Vw={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},Ww={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},Gw={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","composer.lock","mcmod.info"],languageId:174},Kw={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},Xw={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},Yw={languages:[Nu(Uw,e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[...e.extensions,".wxs"]})),Nu(Uw,()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),Nu(zw,()=>({since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"]})),Nu(Vw,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),Nu(Ww,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),Nu(Gw,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),Nu(Gw,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],filenames:[...e.filenames,".prettierrc"],extensions:e.extensions.filter(e=>".jsonl"!==e)})),Nu(Kw,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]})),Nu(Xw,()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:qw,printers:{estree:Ow,"estree-json":Bw},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}};const{isFrontMatterNode:Jw}=Lt,Zw=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function Qw(e,t,n){if(Jw(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===n.type&&0!==n.nodes.length){if((n.nodes[0]===e||Jw(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("css-root"===n.type&&le(n.nodes)===e)return null}if("value-root"===e.type&&delete t.text,"media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(e,t,n)=>{const r=Number(t);return isNaN(r)?e:r+n.toLowerCase()})),"selector-tag"===e.type){const n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value}Qw.ignoredProperties=Zw;var e_=Qw;const{builders:{hardline:t_,concat:n_,markAsRoot:r_}}=cn,i_={"---":"yaml","+++":"toml"};var o_={parse:function(e){const t=Object.keys(i_).map(ue).join("|"),n=e.match(new RegExp("^(".concat(t,")([^\\n]*)\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===n)return{frontMatter:null,content:e};const[r,i,o,a]=n;let s=i_[i];return"toml"!==s&&o&&o.trim()&&(s=o.trim()),{frontMatter:{type:"front-matter",lang:s,value:a,raw:r.replace(/\n$/,"")},content:r.replace(/[^\n]/g," ")+e.slice(r.length)}},print:function(e,t){if("yaml"===e.lang){const n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return r_(n_(["---",t_,r,r?t_:"","---"]))}}};const{builders:{hardline:a_,concat:s_}}=cn,{print:u_}=o_;var l_=function(e,t,n){const r=e.getValue();if("front-matter"===r.type){const e=u_(r,n);return e?s_([e,a_]):""}};const{parse:c_}=o_;var h_={hasPragma:function(e){return kh.hasPragma(c_(e).content)},insertPragma:function(e){const{frontMatter:t,content:n}=c_(e);return(t?t.raw+"\n\n":"")+kh.insertPragma(n)}};const f_=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function d_(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function p_(e,t){const n=d_(e,t);return-1===n?null:e.getParentNode(n)}function m_(e){return"value-operator"===e.type&&"*"===e.value}function g_(e){return"value-operator"===e.type&&"/"===e.value}function v_(e){return"value-operator"===e.type&&"+"===e.value}function y_(e){return"value-operator"===e.type&&"-"===e.value}function b_(e){return"value-operator"===e.type&&"%"===e.value}function w_(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function __(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&w_(e.groups[0])}var x_={getAncestorCounter:d_,getAncestorNode:p_,getPropOfDeclNode:function(e){const t=p_(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if(e&&e.length)for(let t=e.length-1;t>0;t--)if("word"===e[t].type&&"{"===e[t].value&&"word"===e[t-1].type&&e[t-1].value.endsWith("#"))return!0;return!1},hasStringOrFunction:function(e){if(e&&e.length)for(let t=0;t","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return"value-word"===e.type&&["==","!="].includes(e.value)},isMultiplicationNode:m_,isDivisionNode:g_,isAdditionNode:v_,isSubtractionNode:y_,isModuloNode:b_,isMathOperatorNode:function(e){return m_(e)||g_(e)||v_(e)||y_(e)||b_(e)},isEachKeywordNode:function(e){return"value-word"===e.type&&"in"===e.value},isForKeywordNode:function(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},isIfElseKeywordNode:function(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},hasEmptyRawBefore:function(e){return e.raws&&""===e.raws.before},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},isKeyValuePairNode:w_,isKeyValuePairInParenGroupNode:__,isSCSSMapItemNode:function(e){const t=e.getValue();if(0===t.groups.length)return!1;const n=e.getParentNode(1);if(!(__(t)||n&&__(n)))return!1;const r=p_(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!__(n)||"value-func"===n.type},isInlineValueCommentNode:function(e){return"value-comment"===e.type&&e.inline},isHashNode:function(e){return"value-word"===e.type&&"#"===e.value},isLeftCurlyBraceNode:function(e){return"value-word"===e.type&&"{"===e.value},isRightCurlyBraceNode:function(e){return"value-word"===e.type&&"}"===e.value},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:function(e){return"value-colon"===e.type},isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return"value-func"===e.type&&f_.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:function e(t){if(t.groups)return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((n,r,i)=>n+e(r)+("comma_group"===t.groups[0].type&&i!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"");const n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+("atword"===t.type?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},isAtWordPlaceholderNode:function(e){return e&&"value-atword"===e.type&&e.value.startsWith("prettier-placeholder-")}},E_=function(e,t){let n=0;for(let r=0;r{const a=r.nodes[o-1];if(a&&"css-comment"===a.type&&"prettier-ignore"===a.text.trim()){const n=e.getValue();i.push(t.originalText.slice(jx(n),Hx(n)))}else i.push(e.call(n));o!==r.nodes.length-1&&("css-comment"===r.nodes[o+1].type&&!I_(t.originalText,jx(r.nodes[o+1]),{backwards:!0})&&!F_(r.nodes[o])||"css-atrule"===r.nodes[o+1].type&&"else"===r.nodes[o+1].name&&"css-comment"!==r.nodes[o].type?i.push(" "):(i.push(t.__isHTMLStyleAttribute?B_:j_),P_(t.originalText,e.getValue(),Hx)&&!F_(r.nodes[o])&&i.push(j_)))},"nodes"),L_(i)}const Ux=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,zx=new RegExp(Ux.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function Vx(e,t){return e.replace(Ux,e=>N_(e,t))}function Wx(e,t){const n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}function Gx(e){return e.replace(zx,(e,t,n,r,i)=>!n&&r?Kx(r)+J_(i||""):e)}function Kx(e){return O_(e).replace(/\.0(?=$|e)/,"")}var Xx={print:function(e,t,n){const r=e.getValue();if(!r)return"";if("string"==typeof r)return r;switch(r.type){case"front-matter":return L_([r.raw,j_]);case"css-root":{const i=qx(e,t,n),o=r.raws.after.trim();return L_([i,o?" ".concat(o):"",i.parts.length?j_:""])}case"css-comment":{const e=r.inline||r.raws.inline,n=t.originalText.slice(jx(r),Hx(r));return e?n.trimEnd():n}case"css-rule":return L_([e.call(n,"selector"),r.important?" !important":"",r.nodes?L_([r.selector&&"selector-unknown"===r.selector.type&&Rx(r.selector.value)?B_:" ","{",r.nodes.length>0?U_(L_([j_,qx(e,t,n)])):"",j_,"}",ux(r)?";":""]):";"]);case"css-decl":{const i=e.getParentNode(),{between:o}=r.raws,a=o.trim(),s=":"===a;let u=wx(r)?G_(e.call(n,"value")):e.call(n,"value");return!s&&Rx(a)&&(u=U_(L_([j_,z_(u)]))),L_([r.raws.before.replace(/[\s;]/g,""),Q_(e)?r.prop:J_(r.prop),a.startsWith("//")?" ":"",a,r.extend?"":" ",ax(t)&&r.extend&&r.selector?L_(["extend(",e.call(n,"selector"),")"]):"",u,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?L_([" {",U_(L_([H_,qx(e,t,n)])),H_,"}"]):Sx(r)&&!i.raws.semicolon&&";"!==t.originalText[Hx(r)-1]?"":t.__isHTMLStyleAttribute&&ox(e,r)?V_(";",""):";"])}case"css-atrule":{const i=e.getParentNode(),o=Dx(r)&&!i.raws.semicolon&&";"!==t.originalText[Hx(r)-1];if(ax(t)){if(r.mixin)return L_([e.call(n,"selector"),r.important?" !important":"",o?"":";"]);if(r.function)return L_([r.name,L_([e.call(n,"params")]),o?"":";"]);if(r.variable)return L_(["@",r.name,": ",r.value?L_([e.call(n,"value")]):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?L_(["{",U_(L_([r.nodes.length>0?H_:"",qx(e,t,n)])),H_,"}"]):"",o?"":";"])}return L_(["@",Cx(r)||r.name.endsWith(":")?r.name:J_(r.name),r.params?L_([Cx(r)?"":Dx(r)?""===r.raws.afterName?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?L_([j_,j_]):/^\s*\n/.test(r.raws.afterName)?j_:" ":" ",e.call(n,"params")]):"",r.selector?U_(L_([" ",e.call(n,"selector")])):"",r.value?$_(L_([" ",e.call(n,"value"),sx(r)?_x(r)?" ":B_:""])):"else"===r.name?" ":"",r.nodes?L_([sx(r)?"":r.selector&&!r.selector.nodes&&"string"==typeof r.selector.value&&Rx(r.selector.value)||!r.selector&&"string"==typeof r.params&&Rx(r.params)?B_:" ","{",U_(L_([r.nodes.length>0?H_:"",qx(e,t,n)])),H_,"}"]):o?"":";"])}case"media-query-list":{const t=[];return e.each(e=>{const r=e.getValue();"media-query"===r.type&&""===r.value||t.push(e.call(n))},"nodes"),$_(U_(R_(B_,t)))}case"media-query":return L_([R_(" ",e.map(n,"nodes")),ox(e,r)?"":","]);case"media-type":return Gx(Vx(r.value,t));case"media-feature-expression":return r.nodes?L_(["(",L_(e.map(n,"nodes")),")"]):r.value;case"media-feature":return J_(Vx(r.value.replace(/ +/g," "),t));case"media-colon":return L_([r.value," "]);case"media-value":return Gx(Vx(r.value,t));case"media-keyword":return Vx(r.value,t);case"media-url":return Vx(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return $_(L_([ex(e,"custom-selector")?L_([X_(e,"css-atrule").customSelector,B_]):"",R_(L_([",",ex(e,["extend","custom-selector","nest"])?B_:j_]),e.map(n,"nodes"))]));case"selector-selector":return $_(U_(L_(e.map(n,"nodes"))));case"selector-comment":return r.value;case"selector-string":return Vx(r.value,t);case"selector-tag":{const t=e.getParentNode(),n=t&&t.nodes.indexOf(r),i=n&&t.nodes[n-1];return L_([r.namespace?L_([!0===r.namespace?"":r.namespace.trim(),"|"]):"","selector-nesting"===i.type?r.value:Gx(nx(e,r.value)?r.value.toLowerCase():r.value)])}case"selector-id":return L_(["#",r.value]);case"selector-class":return L_([".",Gx(Vx(r.value,t))]);case"selector-attribute":return L_(["[",r.namespace?L_([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.attribute.trim(),r.operator?r.operator:"",r.value?Wx(Vx(r.value.trim(),t),t):"",r.insensitive?" i":"","]"]);case"selector-combinator":{if("+"===r.value||">"===r.value||"~"===r.value||">>>"===r.value){const t=e.getParentNode(),n="selector-selector"===t.type&&t.nodes[0]===r?"":B_;return L_([n,r.value,ox(e,r)?"":" "])}const n=r.value.trim().startsWith("(")?B_:"",i=Gx(Vx(r.value.trim(),t))||B_;return L_([n,i])}case"selector-universal":return L_([r.namespace?L_([!0===r.namespace?"":r.namespace.trim(),"|"]):"",r.value]);case"selector-pseudo":return L_([J_(r.value),r.nodes&&r.nodes.length>0?L_(["(",R_(", ",e.map(n,"nodes")),")"]):""]);case"selector-nesting":return r.value;case"selector-unknown":{const n=X_(e,"css-rule");if(n&&n.isSCSSNesterProperty)return Gx(Vx(J_(r.value),t));const i=e.getParentNode();if(i.raws&&i.raws.selector){const e=jx(i),n=e+i.raws.selector.length;return t.originalText.slice(e,n).trim()}const o=e.getParentNode(1);if("value-paren_group"===i.type&&o&&"value-func"===o.type&&"selector"===o.value){const e=jx(i.open)+1,n=Hx(i.close)-1,r=t.originalText.slice(e,n).trim();return Rx(r)?L_([W_,r]):r}return r.value}case"value-value":case"value-root":return e.call(n,"group");case"value-comment":return t.originalText.slice(jx(r),Hx(r));case"value-comma_group":{const t=e.getParentNode(),i=e.getParentNode(1),o=Y_(e),a=o&&"value-value"===t.type&&("grid"===o||o.startsWith("grid-template")),s=X_(e,"css-atrule"),u=s&&sx(s),l=e.map(n,"groups"),c=[],h=Z_(e,"url");let f=!1,d=!1;for(let n=0;n0&&"value-comma_group"===r.groups[0].type&&r.groups[0].groups.length>0&&"value-word"===r.groups[0].groups[0].type&&r.groups[0].groups[0].value.startsWith("data:")))return L_([r.open?e.call(n,"open"):"",R_(",",e.map(n,"groups")),r.close?e.call(n,"close"):""]);if(!r.open){const t=e.map(n,"groups"),r=[];for(let e=0;e{const t=e.getValue(),r=n(e);return Ex(t)&&"value-comma_group"===t.type&&t.groups&&t.groups[2]&&"value-paren_group"===t.groups[2].type?(r.contents.contents.parts[1]=$_(r.contents.contents.parts[1]),$_(z_(r))):r},"groups"))])),V_(!s&&ix(t.parser,t.originalText)&&o&&$x(t)?",":""),H_,r.close?e.call(n,"close"):""]),{shouldBreak:o})}case"value-func":return L_([r.value,ex(e,"supports")&&Px(r)?" ":"",e.call(n,"group")]);case"value-paren":return r.value;case"value-number":return L_([Kx(r.value),J_(r.unit)]);case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||rx(r.value)?r.value.toLowerCase():r.value;case"value-colon":{const t=e.getParentNode(),n=t&&t.groups.indexOf(r),i=n&&t.groups[n-1];return L_([r.value,i&&"\\"===i.value[i.value.length-1]||Z_(e,"url")?"":B_])}case"value-comma":return L_([r.value," "]);case"value-string":return N_(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return L_(["@",r.value]);case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:l_,insertPragma:K_,massageAstNode:e_},Yx={singleQuote:Hw.singleQuote},Jx={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},Zx={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},Qx={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},eE={languages:[Nu({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),Nu(Jx,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),Nu(Zx,()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),Nu(Qx,()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:Yx,printers:{postcss:Xx},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},tE={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function nE(e,t){if("TextNode"===e.type){const n=e.chars.trim();if(!n)return null;t.chars=n}}nE.ignoredProperties=new Set(["loc","selfClosing"]);var rE=nE;const iE=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function oE(e){return aE(e,["TextNode"])&&!/\S/.test(e.chars)}function aE(e,t){return e&&t.some(t=>e.type===t)}function sE(e,t){const n=e.getValue(),r=e.getParentNode(0)||{},i=r.children||r.body||r.parts||[],o=i.indexOf(n);return-1!==o&&i[o+t]}function uE(e,t=1){return sE(e,-t)}function lE(e){return sE(e,1)}function cE(e){return aE(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}var hE={getNextNode:lE,getPreviousNode:uE,hasPrettierIgnore:function(e){const t=e.getValue(),n=uE(e,2);return cE(t)||cE(n)},isNextNodeOfSomeType:function(e,t){return aE(lE(e),t)},isNodeOfSomeType:aE,isParentOfSomeType:function(e,t){return aE(e.getParentNode(0),t)},isPreviousNodeOfSomeType:function(e,t){return aE(uE(e),t)},isVoid:function(e){return function(e){return aE(e,["ElementNode"])&&"string"==typeof e.tag&&(function(e){return e.toUpperCase()===e}(e.tag[0])||e.tag.includes("."))}(e)&&e.children.every(e=>oE(e))||iE.has(e.tag)},isWhitespaceNode:oE};const{builders:{concat:fE,group:dE,hardline:pE,ifBreak:mE,indent:gE,join:vE,line:yE,softline:bE}}=cn,{locStart:wE,locEnd:_E}=tE,{getNextNode:xE,getPreviousNode:EE,hasPrettierIgnore:CE,isNextNodeOfSomeType:DE,isNodeOfSomeType:SE,isParentOfSomeType:kE,isPreviousNodeOfSomeType:TE,isVoid:AE,isWhitespaceNode:ME}=hE;function OE(e,t){const n=e.getValue();return fE(["<",n.tag,NE(e,t),iC(n),FE(n)])}function NE(e,t){const n=e.getValue();return gE(fE([n.attributes.length?yE:"",vE(yE,e.map(t,"attributes")),n.modifiers.length?yE:"",vE(yE,e.map(t,"modifiers")),n.comments.length?yE:"",vE(yE,e.map(t,"comments"))]))}function IE(e,t,n){return fE(e.map((e,r)=>0===r?fE([bE,n(e,t,n)]):n(e,t,n),"children"))}function FE(e){return AE(e)?mE(fE([bE,"/>"]),fE([" />",bE])):mE(fE([bE,">"]),">")}function PE(e){const t=!1===e.escaped?"{{{":"{{",n=e.strip&&e.strip.open?"~":"";return fE([t,n])}function LE(e){const t=!1===e.escaped?"}}}":"}}",n=e.strip&&e.strip.close?"~":"";return fE([n,t])}function RE(e){const t=PE(e),n=e.openStrip.open?"~":"";return fE([t,n,"#"])}function BE(e){const t=LE(e),n=e.openStrip.close?"~":"";return fE([n,t])}function jE(e){const t=PE(e),n=e.closeStrip.open?"~":"";return fE([t,n,"/"])}function HE(e){const t=LE(e),n=e.closeStrip.close?"~":"";return fE([n,t])}function $E(e){const t=PE(e),n=e.inverseStrip.open?"~":"";return fE([t,n])}function qE(e){const t=LE(e),n=e.inverseStrip.close?"~":"";return fE([n,t])}function UE(e,t){const n=e.getValue();return dE(fE([RE(n),tC(e,t),iC(n.program),bE,BE(n)]))}function zE(e){return fE([pE,$E(e),"else",qE(e)])}function VE(e,t){const n=e.getParentNode(1);return fE([$E(n),"else ",tC(e,t),qE(n)])}function WE(e,t){const n=e.getValue();return fE([GE(n)?bE:pE,jE(n),e.call(t,"path"),HE(n)])}function GE(e){return SE(e,["BlockStatement"])&&e.program.body.every(e=>ME(e))}function KE(e){return SE(e,["BlockStatement"])&&e.inverse}function XE(e,t){if(GE(e.getValue()))return"";const n=e.call(t,"program");return gE(fE([pE,n]))}function YE(e,t){const n=e.getValue(),r=e.call(t,"inverse"),i=fE([pE,r]);return function(e){return KE(e)&&1===e.inverse.body.length&&SE(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}(n)?i:KE(n)?fE([zE(n),gE(i)]):""}function JE(e){return(e="string"==typeof e?e:"").split("\n").length-1}function ZE(e=0,t=0){return new Array(Math.min(e,t)).fill(pE)}function QE(e,t){const n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},i=t.singleQuote?r:n,o=i===r?n:r;let a=!1;(e.includes(i.quote)||e.includes(o.quote))&&(a=(e.match(i.regex)||[]).length>(e.match(o.regex)||[]).length);const s=a?o:i,u=e.replace(s.regex,"\\".concat(s.quote));return fE([s.quote,u,s.quote])}function eC(e,t){const n=nC(e,t),r=rC(e,t);return r?gE(fE([n,yE,dE(r)])):n}function tC(e,t){const n=nC(e,t),r=rC(e,t);return r?gE(dE(fE([n,yE,r]))):n}function nC(e,t){return e.call(t,"path")}function rC(e,t){const n=e.getValue(),r=[];if(n.params.length){const n=e.map(t,"params");r.push(...n)}if(n.hash&&n.hash.pairs.length>0){const n=e.call(t,"hash");r.push(n)}return r.length?vE(yE,r):""}function iC(e){return e&&e.blockParams.length?fE([" as |",e.blockParams.join(" "),"|"]):""}var oC={print:function(e,t,n){const r=e.getValue();if(!r)return"";if(CE(e))return t.originalText.slice(wE(r),_E(r));switch(r.type){case"Block":case"Program":case"Template":return dE(fE(e.map(n,"body")));case"ElementNode":{const i=DE(e,["ElementNode"])?pE:"";if(AE(r))return fE([dE(OE(e,n)),i]);const o=r.children.every(e=>ME(e));return fE([dE(OE(e,n)),dE(fE([o?"":gE(IE(e,t,n)),r.children.length?pE:"",fE([""])])),i])}case"BlockStatement":{const t=e.getParentNode(1),i=t&&t.inverse&&1===t.inverse.body.length&&t.inverse.body[0]===r&&"if"===t.inverse.body[0].path.parts[0];return fE(i?[VE(e,n),XE(e,n),YE(e,n)]:[UE(e,n),dE(fE([XE(e,n),YE(e,n),WE(e,n)]))])}case"ElementModifierStatement":return dE(fE(["{{",tC(e,n),bE,"}}"]));case"MustacheStatement":{const t=kE(e,["AttrNode","ConcatStatement"]),i=kE(e,["ElementNode"])&&0===r.hash.pairs.length&&function(e){return 0===e.params.length}(r),o=t||i;return dE(fE([PE(r),o?gE(bE):"",tC(e,n),bE,LE(r)]))}case"SubExpression":return dE(fE(["(",eC(e,n),bE,")"]));case"AttrNode":{const i="TextNode"===r.value.type;if(i&&""===r.value.chars&&wE(r.value)===_E(r.value))return fE([r.name]);const o=e.call(n,"value"),a=i?QE(o.parts.join(),t):o;return fE([r.name,"=",a])}case"ConcatStatement":{const r=t.singleQuote?"'":'"';return fE([r,...e.map(e=>n(e),"parts"),r])}case"Hash":return fE([vE(yE,e.map(n,"pairs"))]);case"HashPair":return fE([r.key,"=",e.call(n,"value")]);case"TextNode":{const t=2,n=!EE(e),i=!xE(e),o=!/\S/.test(r.chars),a=JE(r.chars);let s=function(e){return JE(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(r.chars),u=function(e){return JE(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(r.chars);if((n||i)&&o&&kE(e,["Block","ElementNode","Template"]))return"";if(o&&a?(s=Math.min(a,t),u=0):(DE(e,["BlockStatement","ElementNode"])&&(u=Math.max(u,1)),TE(e,["BlockStatement","ElementNode"])&&(s=Math.max(s,1))),e.stack.includes("attributes")){if(!function(e,t){return kE(e,["AttrNode"])&&e.getParentNode().name.toLowerCase()===t||kE(e,["ConcatStatement"])&&e.getParentNode(1).name.toLowerCase()===t}(e,"class"))return fE([r.chars]);let n="",i="";return kE(e,["ConcatStatement"])&&(TE(e,["MustacheStatement"])&&(n=" "),DE(e,["MustacheStatement"])&&(i=" ")),fE([...ZE(s,t),r.chars.replace(/^\s+/g,n).replace(/\s+$/,i),...ZE(u,t)])}let l="",c="";0===u&&DE(e,["MustacheStatement"])&&(c=" "),0===s&&TE(e,["MustacheStatement"])&&(l=" "),n&&(s=0,l=""),i&&(u=0,c="");let h=r.chars;return h.startsWith("{{")&&h.includes("}}")&&(h="\\"+h),fE([...ZE(s,t),h.replace(/^\s+/g,l).replace(/\s+$/,c),...ZE(u,t)])}case"MustacheCommentStatement":{const e=r.value.includes("}}")?"--":"";return fE(["{{!",e,r.value,e,"}}"])}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return fE(["\x3c!--",r.value,"--\x3e"]);case"StringLiteral":return QE(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:rE},aC={languages:[Nu({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},()=>({since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],printers:{glimmer:oC},parsers:{get glimmer(){return{}.parsers.glimmer}}},sC={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},uC={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};const{builders:{concat:lC,join:cC,hardline:hC,line:fC,softline:dC,group:pC,indent:mC,ifBreak:gC}}=cn,{isNextLineEmpty:vC}=Lt,{insertPragma:yC}=sC,{locStart:bC,locEnd:wC}=uC;function _C(e,t,n){if(0===n.directives.length)return"";const r=cC(fC,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?pC(lC([fC,r])):lC([" ",pC(mC(lC([dC,r])))])}function xC(e,t,n){const r=e.getValue().length;return e.map((e,i)=>{const o=n(e);return vC(t.originalText,e.getValue(),wC)&&in(e),"interfaces");for(let s=0;s{i.push(lC([e.call(n)])),o!==r.definitions.length-1&&(i.push(hC),vC(t.originalText,e.getValue(),wC)&&i.push(hC))},"definitions"),lC([lC(i),hC])}case"OperationDefinition":{const i="{"!==t.originalText[bC(r)],o=!!r.name;return lC([i?r.operation:"",i&&o?lC([" ",e.call(n,"name")]):"",r.variableDefinitions&&r.variableDefinitions.length?pC(lC(["(",mC(lC([dC,cC(lC([gC("",", "),dC]),e.map(n,"variableDefinitions"))])),dC,")"])):"",_C(e,n,r),r.selectionSet&&(i||o)?" ":"",e.call(n,"selectionSet")])}case"FragmentDefinition":return lC(["fragment ",e.call(n,"name"),r.variableDefinitions&&r.variableDefinitions.length?pC(lC(["(",mC(lC([dC,cC(lC([gC("",", "),dC]),e.map(n,"variableDefinitions"))])),dC,")"])):""," on ",e.call(n,"typeCondition"),_C(e,n,r)," ",e.call(n,"selectionSet")]);case"SelectionSet":return lC(["{",mC(lC([hC,cC(hC,e.call(e=>xC(e,t,n),"selections"))])),hC,"}"]);case"Field":return pC(lC([r.alias?lC([e.call(n,"alias"),": "]):"",e.call(n,"name"),r.arguments.length>0?pC(lC(["(",mC(lC([dC,cC(lC([gC("",", "),dC]),e.call(e=>xC(e,t,n),"arguments"))])),dC,")"])):"",_C(e,n,r),r.selectionSet?" ":"",e.call(n,"selectionSet")]));case"Name":return r.value;case"StringValue":return r.block?lC(['"""',hC,cC(hC,r.value.replace(/"""/g,"\\$&").split("\n")),hC,'"""']):lC(['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return lC(["$",e.call(n,"name")]);case"ListValue":return pC(lC(["[",mC(lC([dC,cC(lC([gC("",", "),dC]),e.map(n,"values"))])),dC,"]"]));case"ObjectValue":return pC(lC(["{",t.bracketSpacing&&r.fields.length>0?" ":"",mC(lC([dC,cC(lC([gC("",", "),dC]),e.map(n,"fields"))])),dC,gC("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return lC([e.call(n,"name"),": ",e.call(n,"value")]);case"Directive":return lC(["@",e.call(n,"name"),r.arguments.length>0?pC(lC(["(",mC(lC([dC,cC(lC([gC("",", "),dC]),e.call(e=>xC(e,t,n),"arguments"))])),dC,")"])):""]);case"NamedType":return e.call(n,"name");case"VariableDefinition":return lC([e.call(n,"variable"),": ",e.call(n,"type"),r.defaultValue?lC([" = ",e.call(n,"defaultValue")]):"",_C(e,n,r)]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return lC([e.call(n,"description"),r.description?hC:"","ObjectTypeExtension"===r.kind?"extend ":"","type ",e.call(n,"name"),r.interfaces.length>0?lC([" implements ",lC(EC(e,t,n))]):"",_C(e,n,r),r.fields.length>0?lC([" {",mC(lC([hC,cC(hC,e.call(e=>xC(e,t,n),"fields"))])),hC,"}"]):""]);case"FieldDefinition":return lC([e.call(n,"description"),r.description?hC:"",e.call(n,"name"),r.arguments.length>0?pC(lC(["(",mC(lC([dC,cC(lC([gC("",", "),dC]),e.call(e=>xC(e,t,n),"arguments"))])),dC,")"])):"",": ",e.call(n,"type"),_C(e,n,r)]);case"DirectiveDefinition":return lC([e.call(n,"description"),r.description?hC:"","directive ","@",e.call(n,"name"),r.arguments.length>0?pC(lC(["(",mC(lC([dC,cC(lC([gC("",", "),dC]),e.call(e=>xC(e,t,n),"arguments"))])),dC,")"])):"",r.repeatable?" repeatable":"",lC([" on ",cC(" | ",e.map(n,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return lC([e.call(n,"description"),r.description?hC:"","EnumTypeExtension"===r.kind?"extend ":"","enum ",e.call(n,"name"),_C(e,n,r),r.values.length>0?lC([" {",mC(lC([hC,cC(hC,e.call(e=>xC(e,t,n),"values"))])),hC,"}"]):""]);case"EnumValueDefinition":return lC([e.call(n,"description"),r.description?hC:"",e.call(n,"name"),_C(e,n,r)]);case"InputValueDefinition":return lC([e.call(n,"description"),r.description?r.description.block?hC:fC:"",e.call(n,"name"),": ",e.call(n,"type"),r.defaultValue?lC([" = ",e.call(n,"defaultValue")]):"",_C(e,n,r)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return lC([e.call(n,"description"),r.description?hC:"","InputObjectTypeExtension"===r.kind?"extend ":"","input ",e.call(n,"name"),_C(e,n,r),r.fields.length>0?lC([" {",mC(lC([hC,cC(hC,e.call(e=>xC(e,t,n),"fields"))])),hC,"}"]):""]);case"SchemaDefinition":return lC(["schema",_C(e,n,r)," {",r.operationTypes.length>0?mC(lC([hC,cC(hC,e.call(e=>xC(e,t,n),"operationTypes"))])):"",hC,"}"]);case"OperationTypeDefinition":return lC([e.call(n,"operation"),": ",e.call(n,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return lC([e.call(n,"description"),r.description?hC:"","InterfaceTypeExtension"===r.kind?"extend ":"","interface ",e.call(n,"name"),r.interfaces.length>0?lC([" implements ",lC(EC(e,t,n))]):"",_C(e,n,r),r.fields.length>0?lC([" {",mC(lC([hC,cC(hC,e.call(e=>xC(e,t,n),"fields"))])),hC,"}"]):""]);case"FragmentSpread":return lC(["...",e.call(n,"name"),_C(e,n,r)]);case"InlineFragment":return lC(["...",r.typeCondition?lC([" on ",e.call(n,"typeCondition")]):"",_C(e,n,r)," ",e.call(n,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return pC(lC([e.call(n,"description"),r.description?hC:"",pC(lC(["UnionTypeExtension"===r.kind?"extend ":"","union ",e.call(n,"name"),_C(e,n,r),r.types.length>0?lC([" =",gC(""," "),mC(lC([gC(lC([fC," "])),cC(lC([fC,"| "]),e.map(n,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return lC([e.call(n,"description"),r.description?hC:"","ScalarTypeExtension"===r.kind?"extend ":"","scalar ",e.call(n,"name"),_C(e,n,r)]);case"NonNullType":return lC([e.call(n,"type"),"!"]);case"ListType":return lC(["[",e.call(n,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:CC,hasPrettierIgnore:function(e){const t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(e=>"prettier-ignore"===e.value.trim())},insertPragma:yC,printComment:function(e){const t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},SC={bracketSpacing:Hw.bracketSpacing},kC={languages:[Nu({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],options:SC,printers:{graphql:DC},parsers:{get graphql(){return{}.parsers.graphql}}},TC={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:AC}=Lt,{locStart:MC,locEnd:OC}=TC,{cjkPattern:NC,kPattern:IC,punctuationPattern:FC}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},PC=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],LC=PC.concat(["tableCell","paragraph","heading"]),RC=new RegExp(IC),BC=new RegExp(FC);function jC(e,t){const[,n,r,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:i}}var HC={mapAst:function(e,t){return function e(n,r,i){i=i||[];const o=Object.assign({},t(n,r,i));return o.children&&(o.children=o.children.map((t,n)=>e(t,n,[o].concat(i)))),o}(e,null,null)},splitText:function(e,t){const n="non-cjk",r="cj-letter",i="cjk-punctuation",o=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(NC,")\n(").concat(NC,")"),"g"),"$1$2")).split(/([\t\n ]+)/).forEach((e,t,s)=>{t%2!=1?(0!==t&&t!==s.length-1||""!==e)&&e.split(new RegExp("(".concat(NC,")"))).forEach((e,t,o)=>{(0!==t&&t!==o.length-1||""!==e)&&(t%2!=0?a(BC.test(e)?{type:"word",value:e,kind:i,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:RC.test(e)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&a({type:"word",value:e,kind:n,hasLeadingPunctuation:BC.test(e[0]),hasTrailingPunctuation:BC.test(AC(e))}))}):o.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})}),o;function a(e){const t=AC(o);var a,s;t&&"word"===t.type&&(t.kind===n&&e.kind===r&&!t.hasTrailingPunctuation||t.kind===r&&e.kind===n&&!e.hasLeadingPunctuation?o.push({type:"whitespace",value:" "}):(a=n,s=i,t.kind===a&&e.kind===s||t.kind===s&&e.kind===a||[t.value,e.value].some(e=>/\u3000/.test(e))||o.push({type:"whitespace",value:""}))),o.push(e)}},punctuationPattern:FC,getFencedCodeBlockValue:function(e,t){const{value:n}=e;return e.position.end.offset===t.length&&n.endsWith("\n")&&t.endsWith("\n")?n.slice(0,-1):n},getOrderedListItemInfo:jC,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered)return!1;if(e.children.length<2)return!1;const n=Number(jC(e.children[0],t.originalText).numberText),r=Number(jC(e.children[1],t.originalText).numberText);if(0===n&&e.children.length>2){const n=Number(jC(e.children[2],t.originalText).numberText);return 1===r&&1===n}return 1===r},INLINE_NODE_TYPES:PC,INLINE_NODE_WRAPPER_TYPES:LC,isAutolink:function(e){if(!e||"link"!==e.type||1!==e.children.length)return!1;const t=e.children[0];return t&&MC(e)===MC(t)&&OC(e)===OC(t)}};const{inferParserByLanguage:$C,getMaxContinuousCount:qC}=Lt,{builders:{hardline:UC,concat:zC,markAsRoot:VC},utils:{replaceNewlinesWithLiterallines:WC}}=cn,{print:GC}=o_,{getFencedCodeBlockValue:KC}=HC;var XC=function(e,t,n,r){const i=e.getValue();if("code"===i.type&&null!==i.lang){const e=$C(i.lang,r);if(e){const t=r.__inJsTemplate?"~":"`",o=t.repeat(Math.max(3,qC(i.value,t)+1)),a=n(KC(i,r.originalText),{parser:e},{stripTrailingHardline:!0});return VC(zC([o,i.lang,i.meta?" "+i.meta:"",UC,WC(a),UC,o]))}}switch(i.type){case"front-matter":return GC(i,n);case"importExport":return zC([n(i.value,{parser:"babel"},{stripTrailingHardline:!0}),UC]);case"jsx":return n("<$>".concat(i.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null};const{parse:YC}=o_,JC=["format","prettier"];function ZC(e){const t="@(".concat(JC.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),r=e.match(n);return r&&0===r.index}var QC={startWithPragma:ZC,hasPragma:e=>ZC(YC(e).content.trimStart()),insertPragma:e=>{const t=YC(e),n="\x3c!-- @".concat(JC[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(t.content):"".concat(n,"\n\n").concat(t.content)}};const{getOrderedListItemInfo:eD,mapAst:tD,splitText:nD}=HC,rD=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function iD(e,t,n){return tD(e,e=>{if(!e.children)return e;const r=e.children.reduce((e,r)=>{const i=e[e.length-1];return i&&t(i,r)?e.splice(-1,1,n(i,r)):e.push(r),e},[]);return Object.assign({},e,{children:r})})}var oD=function(e,t){return function(e){return iD(e,(e,t)=>"importExport"===e.type&&"importExport"===t.type,(e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e){return tD(e,e=>"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"}))}(e=function(e,t){return tD(e,(e,n,[r])=>{if("text"!==e.type)return e;let{value:i}=e;return"paragraph"===r.type&&(0===n&&(i=i.trimStart()),n===r.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:e.position,children:nD(i,t)}})}(e=function(e,t){return tD(e,(e,t,n)=>{if("list"===e.type&&0!==e.children.length){for(let t=0;t1)return!0;const o=n(r);return-1!==o&&(1===e.children.length?o%t.tabWidth==0:o===n(i)&&(o%t.tabWidth==0||eD(i,t.originalText).leadingSpaces.length>1))}}(e=function(e,t){return tD(e,(e,n,r)=>{if("code"===e.type){const n=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=n,n)for(let e=0;e"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")}))}(e=function(e){return iD(e,(e,t)=>"text"===e.type&&"text"===t.type,(e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}))}(e=function(e,t){return tD(e,e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&rD.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign({},e,{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e)}(e,t))),t),t),t)))};const{isFrontMatterNode:aD}=Lt,{startWithPragma:sD}=QC,uD=new Set(["position","raw"]);function lD(e,t,n){return"front-matter"!==e.type&&"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"list"!==e.type&&"listItem"!==e.type||(delete t.spread,delete t.loose),"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),"definition"!==e.type&&"linkReference"!==e.type||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),"definition"!==e.type&&"link"!==e.type&&"image"!==e.type||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&"root"===n.type&&n.children.length>0&&(n.children[0]===e||aD(n.children[0])&&n.children[1]===e)&&"html"===e.type&&sD(e.value)?null:void 0)}lD.ignoredProperties=uD;var cD=lD;const{getLast:hD,getMinNotPresentContinuousCount:fD,getMaxContinuousCount:dD,getStringWidth:pD}=Lt,{builders:{breakParent:mD,concat:gD,join:vD,line:yD,literalline:bD,markAsRoot:wD,hardline:_D,softline:xD,ifBreak:ED,fill:CD,align:DD,indent:SD,group:kD},utils:{normalizeDoc:TD},printer:{printDocToString:AD}}=cn,{replaceEndOfLineWith:MD}=Lt,{insertPragma:OD}=QC,{locStart:ND,locEnd:ID}=TC,{getFencedCodeBlockValue:FD,hasGitDiffFriendlyOrderedList:PD,splitText:LD,punctuationPattern:RD,INLINE_NODE_TYPES:BD,INLINE_NODE_WRAPPER_TYPES:jD,isAutolink:HD}=HC,$D=new Set(["importExport"]),qD=["heading","tableCell","link","wikiLink"],UD=new Set(["listItem","definition","footnoteDefinition"]);function zD(e,t,n,r){const i=e.getValue(),o=null===i.checked?"":i.checked?"[x] ":"[ ] ";return gD([o,YD(e,t,n,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return DD(" ".repeat(o.length),e.call(n));const a=" ".repeat((s=t.tabWidth-r.length,l=3,s<(u=0)?u:s>l?l:s));var s,u,l;return gD([a,DD(a,e.call(n))])}})])}function VD(e,t){return function(e,t,n){n=n||(()=>!0);let r=-1;for(const i of t.children)if(i.type===e.type&&n(i)?r++:r=-1,i===e)return r}(e,t,t=>t.ordered===e.ordered)}function WD(e,t){const n=[].concat(t);let r,i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function GD(e,t){const n=WD(e,t);return-1===n?null:e.getParentNode(n)}function KD(e,t,n){if("preserve"===n.proseWrap&&"\n"===t)return _D;const r="always"===n.proseWrap&&!GD(e,qD);return""!==t?r?yD:" ":r?xD:""}function XD(e,t,n){const r=[];let i=null;const{children:o}=e.getValue();return o.forEach((e,t)=>{switch(ZD(e)){case"start":null===i&&(i={index:t,offset:e.position.end.offset});break;case"end":null!==i&&(r.push({start:i,end:{index:t,offset:e.position.start.offset}}),i=null)}}),YD(e,t,n,{processor:(e,i)=>{if(0!==r.length){const e=r[0];if(i===e.start.index)return gD([o[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),o[e.end.index].value]);if(e.start.indexe.call(n)),a=e.getValue(),s=[];let u;return e.each((e,n)=>{const r=e.getValue(),i=o(e,n);if(!1!==i){const e={parts:s,prevNode:u,parentNode:a,options:t};(function(e,t){const n=0===t.parts.length,r=BD.includes(e.type),i="html"===e.type&&jD.includes(t.parentNode.type);return n||r||i})(r,e)||(s.push(_D),u&&$D.has(u.type)||(function(e,t){const n=(t.prevNode&&t.prevNode.type)===e.type&&UD.has(e.type),r="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,o="next"===ZD(t.prevNode),a="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line,s="html"===e.type&&"listItem"===t.parentNode.type&&t.prevNode&&"paragraph"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||r||o||a||s)}(r,e)||QD(r,e))&&s.push(_D),QD(r,e)&&s.push(_D)),s.push(i),u=r}},"children"),i(s)}function JD(e){let t=e;for(;t.children&&0!==t.children.length;)t=t.children[t.children.length-1];return t}function ZD(e){if("html"!==e.type)return!1;const t=e.value.match(/^$/);return null!==t&&(t[1]?t[1]:"next")}function QD(e,t){const n=t.prevNode&&"list"===t.prevNode.type,r="code"===e.type&&e.isIndented;return n&&r}function eS(e,t){const n=[" "].concat(t||[]);return new RegExp(n.map(e=>"\\".concat(e)).join("|")).test(e)?"<".concat(e,">"):e}function tS(e,t,n){if(null==n&&(n=!0),!e)return"";if(n)return" "+tS(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");const r=e.split("'").length-1,i=e.split('"').length-1,o=r>i?'"':i>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(o,")"),"g"),"\\$1"),"".concat(o).concat(e).concat(o)}var nS={preprocess:oD,print:function(e,t,n){const r=e.getValue();if(function(e){const t=GD(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return gD(LD(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(n=>"word"===n.type?n.value:""===n.value?"":KD(e,n.value,t)));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return 0===r.children.length?"":gD([TD(XD(e,t,n)),$D.has(JD(r).type)?"":_D]);case"paragraph":return YD(e,t,n,{postprocessor:CD});case"sentence":return YD(e,t,n);case"word":{let t=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(RD,")(_+)"),"(_+)(".concat(RD,"|$)")].join("|"),"g"),(e,t,n,r,i)=>(n?"".concat(t).concat(n):"".concat(r).concat(i)).replace(/_/g,"\\_"));const n=(e,t,n)=>"sentence"===e.type&&0===n,i=(e,t,n)=>HD(e.children[n-1]);return t!==r.value&&(e.match(void 0,n,i)||e.match(void 0,n,(e,t,n)=>"emphasis"===e.type&&0===n,i))&&(t=t.replace(/^(\\?[*_])+/,e=>e.replace(/\\/g,""))),t}case"whitespace":{const n=e.getParentNode(),i=n.children.indexOf(r),o=n.children[i+1],a=o&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":t.proseWrap;return KD(e,r.value,{proseWrap:a})}case"emphasis":{let i;if(HD(r.children[0]))i=t.originalText[r.position.start.offset];else{const t=e.getParentNode(),n=t.children.indexOf(r),o=t.children[n-1],a=t.children[n+1];i=o&&"sentence"===o.type&&o.children.length>0&&"word"===hD(o.children).type&&!hD(o.children).hasTrailingPunctuation||a&&"sentence"===a.type&&a.children.length>0&&"word"===a.children[0].type&&!a.children[0].hasLeadingPunctuation||GD(e,"emphasis")?"*":"_"}return gD([i,YD(e,t,n),i])}case"strong":return gD(["**",YD(e,t,n),"**"]);case"delete":return gD(["~~",YD(e,t,n),"~~"]);case"inlineCode":{const e=fD(r.value,"`"),t="`".repeat(e||1),n=e&&!/^\s/.test(r.value)?" ":"";return gD([t,n,r.value,n,t])}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?r.value:r.value.replace(/[\t\n]+/g," "),gD(["[[",e,"]]"])}case"link":switch(t.originalText[r.position.start.offset]){case"<":{const e="mailto:",n=r.url.startsWith(e)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+e.length)!==e?r.url.slice(e.length):r.url;return gD(["<",n,">"])}case"[":return gD(["[",YD(e,t,n),"](",eS(r.url,")"),tS(r.title,t),")"]);default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return gD(["![",r.alt||"","](",eS(r.url,")"),tS(r.title,t),")"]);case"blockquote":return gD(["> ",DD("> ",YD(e,t,n))]);case"heading":return gD(["#".repeat(r.depth)+" ",YD(e,t,n)]);case"code":{if(r.isIndented){const e=" ".repeat(4);return DD(e,gD([e,gD(MD(r.value,_D))]))}const e=t.__inJsTemplate?"~":"`",n=e.repeat(Math.max(3,dD(r.value,e)+1));return gD([n,r.lang||"",r.meta?" "+r.meta:"",_D,gD(MD(FD(r,t.originalText),_D)),_D,n])}case"html":{const t=e.getParentNode(),n="root"===t.type&&hD(t.children)===r?r.value.trimEnd():r.value,i=/^$/.test(n);return gD(MD(n,i?_D:wD(bD)))}case"list":{const i=VD(r,e.getParentNode()),o=PD(r,t);return YD(e,t,n,{processor:(e,a)=>{const s=function(){const e=r.ordered?(0===a?r.start:o?1:r.start+a)+(i%2==0?". ":") "):i%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(e,t){const n=r();return e+" ".repeat(n>=4?0:n);function r(){const n=e.length%t.tabWidth;return 0===n?0:t.tabWidth-n}}(e,t):e}(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?gD([s,zD(e,t,n,s)]):gD([s,DD(" ".repeat(s.length),zD(e,t,n,s))])}})}case"thematicBreak":{const t=WD(e,"list");return-1===t?"---":VD(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return gD(["[",YD(e,t,n),"]","full"===r.referenceType?gD(["[",r.identifier,"]"]):"collapsed"===r.referenceType?"[]":""]);case"imageReference":switch(r.referenceType){case"full":return gD(["![",r.alt||"","][",r.identifier,"]"]);default:return gD(["![",r.alt,"]","collapsed"===r.referenceType?"[]":""])}case"definition":{const e="always"===t.proseWrap?yD:" ";return kD(gD([gD(["[",r.identifier,"]:"]),SD(gD([e,eS(r.url),null===r.title?"":gD([e,tS(r.title,t,!1)])]))]))}case"footnote":return gD(["[^",YD(e,t,n),"]"]);case"footnoteReference":return gD(["[^",r.identifier,"]"]);case"footnoteDefinition":{const i=e.getParentNode().children[e.getName()+1],o=1===r.children.length&&"paragraph"===r.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&r.children[0].position.start.line===r.children[0].position.end.line);return gD(["[^",r.identifier,"]: ",o?YD(e,t,n):kD(gD([DD(" ".repeat(4),YD(e,t,n,{processor:(e,t)=>0===t?kD(gD([xD,e.call(n)])):e.call(n)})),i&&"footnoteDefinition"===i.type?xD:""]))])}case"table":return function(e,t,n){const r=_D.parts[0],i=e.getValue(),o=[],a=e.map(e=>e.map((e,r)=>{const i=AD(e.call(n),t).formatted,a=pD(i);return o[r]=Math.max(o[r]||3,a),{text:i,width:a}},"children"),"children"),s=l(!1);if("never"!==t.proseWrap)return gD([mD,s]);const u=l(!0);return gD([mD,kD(ED(u,s))]);function l(e){const t=[h(a[0],e),c(e)];return a.length>1&&t.push(vD(r,a.slice(1).map(t=>h(t,e)))),vD(r,t)}function c(e){const t=o.map((t,n)=>{const r=i.align[n],o="center"===r||"left"===r?":":"-",a="center"===r||"right"===r?":":"-",s=e?"-":"-".repeat(t-2);return"".concat(o).concat(s).concat(a)});return"| ".concat(t.join(" | ")," |")}function h(e,t){const n=e.map(({text:e,width:n},r)=>{if(t)return e;const a=o[r]-n,s=i.align[r];let u=0;"right"===s?u=a:"center"===s&&(u=Math.floor(a/2));const l=a-u;return"".concat(" ".repeat(u)).concat(e).concat(" ".repeat(l))});return"| ".concat(n.join(" | ")," |")}}(e,t,n);case"tableCell":return YD(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?gD([" ",wD(bD)]):gD(["\\",_D]);case"liquidNode":return gD(MD(r.value,_D));case"importExport":return gD([r.value,_D]);case"jsx":return r.value;case"math":return gD(["$$",_D,r.value?gD([gD(MD(r.value,_D)),_D]):"","$$"]);case"inlineMath":return t.originalText.slice(ND(r),ID(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:XC,massageAstNode:cD,hasPrettierIgnore:function(e){const t=+e.getName();return 0!==t&&"next"===ZD(e.getParentNode().children[t-1])},insertPragma:OD},rS={proseWrap:Hw.proseWrap,singleQuote:Hw.singleQuote},iS={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},oS={languages:[Nu(iS,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:e.filenames.concat(["README"]),extensions:e.extensions.filter(e=>".mdx"!==e)})),Nu(iS,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:rS,printers:{mdast:nS},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};const{isFrontMatterNode:aS}=Lt,sS=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function uS(e,t){return"text"===e.type||"comment"===e.type||aS(e)||"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))}uS.ignoredProperties=sS;var lS=uS,cS={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};const{inferParserByLanguage:hS,isFrontMatterNode:fS}=Lt,{CSS_DISPLAY_TAGS:dS,CSS_DISPLAY_DEFAULT:pS,CSS_WHITE_SPACE_TAGS:mS,CSS_WHITE_SPACE_DEFAULT:gS}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},vS=xS(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),yS=function(e,t){const n=Object.create(null);for(const r of Object.keys(e))n[r]=t(e[r],r);return n}(cS,xS),bS=new Set(["\t","\n","\f","\r"," "]),wS=e=>e.replace(/[\t\n\f\r ]+$/,""),_S=e=>e.match(/^[\t\n\f\r ]*/)[0];function xS(e){const t=Object.create(null);for(const n of e)t[n]=!0;return t}function ES(e,t){return!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||!(!PS(e)||!e.children.some(e=>"text"!==e.type&&"interpolation"!==e.type))||!(!$S(e,t)||DS(e)||"interpolation"===e.type)}function CS(e){return"attribute"!==e.type&&(!!e.parent&&("number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])))}function DS(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||LS(e)&&("script"===e.name||"style"===e.name))}function SS(e){return RS(e).startsWith("pre")}function kS(e){return"element"===e.type&&0!==e.children.length&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function TS(e){return NS(e)||"element"===e.type&&"br"===e.fullName||AS(e)}function AS(e){return MS(e)&&OS(e)}function MS(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function NS(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function IS(e){const{type:t,lang:n}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===n?"babel":"application/x-typescript"===t||"ts"===n||"tsx"===n?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function FS(e){return"block"===e||"list-item"===e||e.startsWith("table")}function PS(e){return RS(e).startsWith("pre")}function LS(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function RS(e){return"element"===e.type&&(!e.namespace||LS(e))&&mS[e.name]||gS}const BS=new Set(["template","style","script"]);function jS(e,t){return HS(e,t)&&!BS.has(e.fullName)}function HS(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function $S(e,t){return HS(e,t)&&(jS(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}var qS={HTML_ELEMENT_ATTRIBUTES:yS,HTML_TAGS:vS,htmlTrim:e=>(e=>e.replace(/^[\t\n\f\r ]+/,""))(wS(e)),htmlTrimPreserveIndentation:e=>(e=>e.replace(/^[\t\f\r ]*?\n/g,""))(wS(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{const[,t,n,r]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!DS(e)},countChars:function(e,t){let n=0;for(let r=0;r=0;r--){const i=e.stack[r];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&n++}return n},dedentString:function(e,t=function(e){let t=1/0;for(const n of e.split("\n")){if(0===n.length)continue;if(!bS.has(n[0]))return 0;const e=_S(n).length;n.length!==e&&ee.slice(t)).join("\n")},forceBreakChildren:kS,forceBreakContent:function(e){return kS(e)||"element"===e.type&&0!==e.children.length&&(["body","script","style"].includes(e.name)||e.children.some(e=>function(e){return e.children&&e.children.some(e=>"text"!==e.type)}(e)))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&MS(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||OS(e.lastChild))},forceNextEmptyLine:function(e){return fS(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1"svg:foreignObject"===e.fullName))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||n||LS(e))&&dS[e.name]||pS}},getNodeCssStyleWhiteSpace:RS,getPrettierIgnoreAttributeCommentData:function(e){const t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:CS,inferScriptParser:function(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?function(e){const{lang:t}=e.attrMap;return t&&"postcss"!==t&&"css"!==t?"scss"===t?"scss":"less"===t?"less":void 0:"css"}(e):t&&$S(e,t)?IS(e)||!("src"in e.attrMap)&&hS(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?IS(e):"babel"},isVueCustomBlock:jS,isVueNonHtmlBlock:$S,isVueSlotAttribute:function(e){const t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){const n=e.parent;if(!HS(n,t))return!1;const r=n.fullName,i=e.fullName;return"script"===r&&"setup"===i||"style"===r&&"vars"===i},isDanglingSpaceSensitiveNode:function(e){return t=e.cssDisplay,!(FS(t)||"inline-block"===t||DS(e));var t},isIndentationSensitiveNode:SS,isLeadingSpaceSensitiveNode:function(e,t){const n=function(){return!fS(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!PS(e.parent)||!(!e.prev&&("root"===e.parent.type||PS(e)&&e.parent||DS(e.parent)||jS(e.parent,t)||(n=e.parent.cssDisplay,FS(n)||"inline-block"===n)))&&!(e.prev&&!function(e){return!FS(e)}(e.prev.cssDisplay))));var n}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:n},isPreLikeNode:PS,isScriptLikeTag:DS,isTextLikeNode:function(e){return"text"===e.type||"comment"===e.type},isTrailingSpaceSensitiveNode:function(e,t){return!fS(e)&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!PS(e.parent)||!(!e.next&&("root"===e.parent.type||PS(e)&&e.parent||DS(e.parent)||jS(e.parent,t)||(n=e.parent.cssDisplay,FS(n)||"inline-block"===n)))&&!(e.next&&!function(e){return!FS(e)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return DS(e)||"interpolation"===e.type||SS(e)},isUnknownNamespace:LS,preferHardlineAsLeadingSpaces:function(e){return NS(e)||e.prev&&TS(e.prev)||AS(e)},preferHardlineAsTrailingSpaces:TS,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(CS(e)||ES(e.parent,t))},shouldPreserveContent:ES,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}},US=Be((function(e,t){function n(e){return t.$0<=e&&e<=t.$9} /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$BSPACE=8,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$7=55,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$b=98,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(e){return e>=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||n(e)},t.isNewLine=function(e){return e===t.$LF||e===t.$CR},t.isOctalDigit=function(e){return t.$0<=e&&e<=t.$7}})),zS=Be((function(e,t){ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e,t,n){this.filePath=e,this.name=t,this.members=n}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}t.StaticSymbol=n,t.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,t,r){const i=(r=r||[]).length?".".concat(r.join(".")):"",o='"'.concat(e,'".').concat(t).concat(i);let a=this.cache.get(o);return a||(a=new n(e,t,r),this.cache.set(o,a)),a}}})),VS=Be((function(e,t){ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ Object.defineProperty(t,"__esModule",{value:!0});const n=/-+([a-z0-9])/g;function r(e,t,n){const r=e.indexOf(t);return-1==r?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}function i(e,t,n){return Array.isArray(e)?t.visitArray(e,n):"object"==typeof(r=e)&&null!==r&&Object.getPrototypeOf(r)===s?t.visitStringMap(e,n):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,n):t.visitOther(e,n);var r}t.dashCaseToCamelCase=function(e){return e.replace(n,(...e)=>e[1].toUpperCase())},t.splitAtColon=function(e,t){return r(e,":",t)},t.splitAtPeriod=function(e,t){return r(e,".",t)},t.visitValue=i,t.isDefined=function(e){return null!=e},t.noUndefined=function(e){return void 0===e?null:e},t.ValueTransformer=class{visitArray(e,t){return e.map(e=>i(e,this,t))}visitStringMap(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=i(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},t.SyncAsync={assertSync:e=>{if(u(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>u(e)?e.then(t):t(e),all:e=>e.some(u)?Promise.all(e):e},t.error=function(e){throw new Error("Internal Error: ".concat(e))},t.syntaxError=function(e,t){const n=Error(e);return n[o]=!0,t&&(n[a]=t),n};const o="ngSyntaxError",a="ngParseErrors";t.isSyntaxError=function(e){return e[o]},t.getParseErrors=function(e){return e[a]||[]},t.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};const s=Object.getPrototypeOf({});function u(e){return!!e&&"function"==typeof e.then}t.utf8Encode=function(e){let t="";for(let n=0;n=55296&&r<=56319&&e.length>n+1){const t=e.charCodeAt(n+1);t>=56320&&t<=57343&&(n++,r=(r-55296<<10)+t-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t},t.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";const n=t.toString();if(null==n)return""+n;const r=n.indexOf("\n");return-1===r?n:n.substring(0,r)},t.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},t.isPromise=u,t.Version=class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};const l="undefined"!=typeof window&&window,c="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,h=void 0!==Re&&Re||l||c;t.global=h})),WS=Be((function(e,t){ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ Object.defineProperty(t,"__esModule",{value:!0});const n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(e){return e.replace(/\W/g,"_")}t.sanitizeIdentifier=r;let i=0;function o(e){if(!e||!e.reference)return null;const t=e.reference;if(t instanceof zS.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let n=VS.stringify(t);return n.indexOf("(")>=0?(n="anonymous_".concat(i++),t.__anonymousType=n):n=r(n),n}var a;t.identifierName=o,t.identifierModuleUrl=function(e){const t=e.reference;return t instanceof zS.StaticSymbol?t.filePath:"./".concat(VS.stringify(t))},t.viewClassName=function(e,t){return"View_".concat(o({reference:e}),"_").concat(t)},t.rendererTypeName=function(e){return"RenderType_".concat(o({reference:e}))},t.hostViewClassName=function(e){return"HostView_".concat(o({reference:e}))},t.componentFactoryName=function(e){return"".concat(o({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(a=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(e){return null!=e.value?r(e.value):o(e.identifier)},t.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},t.CompileStylesheetMetadata=class{constructor({moduleUrl:e,styles:t,styleUrls:n}={}){this.moduleUrl=e||null,this.styles=u(t),this.styleUrls=u(n)}},t.CompileTemplateMetadata=class{constructor({encapsulation:e,template:t,templateUrl:n,htmlAst:r,styles:i,styleUrls:o,externalStylesheets:a,animations:s,ngContentSelectors:c,interpolation:h,isInline:f,preserveWhitespaces:d}){if(this.encapsulation=e,this.template=t,this.templateUrl=n,this.htmlAst=r,this.styles=u(i),this.styleUrls=u(o),this.externalStylesheets=u(a),this.animations=s?l(s):[],this.ngContentSelectors=c||[],h&&2!=h.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=h,this.isInline=f,this.preserveWhitespaces=d}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};class s{static create({isHost:e,type:t,isComponent:r,selector:i,exportAs:o,changeDetection:a,inputs:u,outputs:l,host:c,providers:h,viewProviders:f,queries:d,guards:p,viewQueries:m,entryComponents:g,template:v,componentViewType:y,rendererType:b,componentFactory:w}){const _={},x={},E={};null!=c&&Object.keys(c).forEach(e=>{const t=c[e],r=e.match(n);null===r?E[e]=t:null!=r[1]?x[r[1]]=t:null!=r[2]&&(_[r[2]]=t)});const C={};null!=u&&u.forEach(e=>{const t=VS.splitAtColon(e,[e,e]);C[t[0]]=t[1]});const D={};return null!=l&&l.forEach(e=>{const t=VS.splitAtColon(e,[e,e]);D[t[0]]=t[1]}),new s({isHost:e,type:t,isComponent:!!r,selector:i,exportAs:o,changeDetection:a,inputs:C,outputs:D,hostListeners:_,hostProperties:x,hostAttributes:E,providers:h,viewProviders:f,queries:d,guards:p,viewQueries:m,entryComponents:g,template:v,componentViewType:y,rendererType:b,componentFactory:w})}constructor({isHost:e,type:t,isComponent:n,selector:r,exportAs:i,changeDetection:o,inputs:a,outputs:s,hostListeners:l,hostProperties:c,hostAttributes:h,providers:f,viewProviders:d,queries:p,guards:m,viewQueries:g,entryComponents:v,template:y,componentViewType:b,rendererType:w,componentFactory:_}){this.isHost=!!e,this.type=t,this.isComponent=n,this.selector=r,this.exportAs=i,this.changeDetection=o,this.inputs=a,this.outputs=s,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=h,this.providers=u(f),this.viewProviders=u(d),this.queries=u(p),this.guards=m,this.viewQueries=u(g),this.entryComponents=u(v),this.template=y,this.componentViewType=b,this.rendererType=w,this.componentFactory=_}toSummary(){return{summaryKind:a.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}function u(e){return e||[]}function l(e){return e.reduce((e,t)=>{const n=Array.isArray(t)?l(t):t;return e.concat(n)},[])}function c(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}t.CompileDirectiveMetadata=s,t.CompilePipeMetadata=class{constructor({type:e,name:t,pure:n}){this.type=e,this.name=t,this.pure=!!n}toSummary(){return{summaryKind:a.Pipe,type:this.type,name:this.name,pure:this.pure}}},t.CompileShallowModuleMetadata=class{},t.CompileNgModuleMetadata=class{constructor({type:e,providers:t,declaredDirectives:n,exportedDirectives:r,declaredPipes:i,exportedPipes:o,entryComponents:a,bootstrapComponents:s,importedModules:l,exportedModules:c,schemas:h,transitiveModule:f,id:d}){this.type=e||null,this.declaredDirectives=u(n),this.exportedDirectives=u(r),this.declaredPipes=u(i),this.exportedPipes=u(o),this.providers=u(t),this.entryComponents=u(a),this.bootstrapComponents=u(s),this.importedModules=u(l),this.exportedModules=u(c),this.schemas=u(h),this.id=d||null,this.transitiveModule=f||null}toSummary(){const e=this.transitiveModule;return{summaryKind:a.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}},t.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}},t.ProviderMeta=class{constructor(e,{useClass:t,useValue:n,useExisting:r,useFactory:i,deps:o,multi:a}){this.token=e,this.useClass=t||null,this.useValue=n,this.useExisting=r,this.useFactory=i||null,this.dependencies=o||null,this.multi=!!a}},t.flatten=l,t.templateSourceUrl=function(e,t,n){let r;return r=n.isInline?t.type.reference instanceof zS.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(o(e),"/").concat(o(t.type),".html"):n.templateUrl,t.type.reference instanceof zS.StaticSymbol?r:c(r)},t.sharedStylesheetJitUrl=function(e,t){const n=e.moduleUrl.split(/\/\\/g),r=n[n.length-1];return c("css/".concat(t).concat(r,".ngstyle.js"))},t.ngModuleJitUrl=function(e){return c("".concat(o(e.type),"/module.ngfactory.js"))},t.templateJitUrl=function(e,t){return c("".concat(o(e),"/").concat(o(t.type),".ngfactory.js"))}})),GS=Be((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ class n{constructor(e,t,n,r){this.file=e,this.offset=t,this.line=n,this.col=r}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){const t=this.file.content,r=t.length;let i=this.offset,o=this.line,a=this.col;for(;i>0&&e<0;)if(i--,e++,t.charCodeAt(i)==US.$LF){o--;const e=t.substr(0,i-1).lastIndexOf(String.fromCharCode(US.$LF));a=e>0?i-e:i}else a--;for(;i0;){const n=t.charCodeAt(i);i++,e--,n==US.$LF?(o++,a=0):a++}return new n(this.file,i,o,a)}getContext(e,t){const n=this.file.content;let r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);let i=r,o=0,a=0;for(;o0&&(r--,o++,"\n"!=n[r]||++a!=t););for(o=0,a=0;o]").concat(e.after,'")'):this.msg}toString(){const e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}},t.typeSourceSpan=function(e,t){const o=WS.identifierModuleUrl(t),a=null!=o?"in ".concat(e," ").concat(WS.identifierName(t)," in ").concat(o):"in ".concat(e," ").concat(WS.identifierName(t)),s=new r("",a);return new i(new n(s,-1,-1,-1),new n(s,-1,-1,-1))},t.r3JitTypeSourceSpan=function(e,t,o){const a="in ".concat(e," ").concat(t," in ").concat(o),s=new r("",a);return new i(new n(s,-1,-1,-1),new n(s,-1,-1,-1))}}));const{ParseSourceSpan:KS}=GS,{htmlTrim:XS,getLeadingAndTrailingHtmlWhitespace:YS,hasHtmlWhitespace:JS,canHaveInterpolation:ZS,getNodeCssStyleDisplay:QS,isDanglingSpaceSensitiveNode:ek,isIndentationSensitiveNode:tk,isLeadingSpaceSensitiveNode:nk,isTrailingSpaceSensitiveNode:rk,isWhitespaceSensitiveNode:ik}=qS,ok=[function(e){return e.map(e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&0!==e.children.length&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){const[t,...n]=e.children;return e.clone({children:1===t.value.length?n:[t.clone({value:t.value.slice(1)}),...n]})}return e})},function(e){const t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r{if(e.children){const r=e.children.map(t);if(r.some(Boolean)){const t=[];for(let i=0;i"cdata"===e.type,e=>""))},function(e,t){if("html"===t.parser)return e;const n=/{{([\S\s]+?)}}/g;return e.map(e=>{if(!ZS(e))return e;const t=[];for(const r of e.children){if("text"!==r.type){t.push(r);continue}let e=r.sourceSpan.start,i=null;const o=r.value.split(n);for(let n=0;n{if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===XS(e.children[0].value).length)return e.clone({children:[],hasDanglingSpaces:0!==e.children.length});const n=ik(e),r=tk(e);return e.clone({isWhitespaceSensitive:n,isIndentationSensitive:r,children:e.children.reduce((e,r)=>{if("text"!==r.type||n)return e.concat(r);const i=[],{leadingWhitespace:o,text:a,trailingWhitespace:s}=YS(r.value);return o&&i.push({type:t}),a&&i.push({type:"text",value:a,sourceSpan:new KS(r.sourceSpan.start.moveBy(o.length),r.sourceSpan.end.moveBy(-s.length))}),s&&i.push({type:t}),e.concat(i)},[]).reduce((e,n,r,i)=>{if(n.type===t)return e;const o=0!==r&&i[r-1].type===t,a=r!==i.length-1&&i[r+1].type===t;return e.concat(Object.assign({},n,{hasLeadingSpaces:o,hasTrailingSpaces:a}))},[])})})},function(e,t){return e.map(e=>Object.assign(e,{cssDisplay:QS(e,t)}))},function(e){return e.map(e=>Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))},function(e,t){return e.map(e=>"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))}))},function(e,t){return e.map(e=>e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:ek(e)}):e.clone({children:e.children.map(e=>Object.assign({},e,{isLeadingSpaceSensitive:nk(e,t),isTrailingSpaceSensitive:rk(e,t)})).map((e,t,n)=>Object.assign({},e,{isLeadingSpaceSensitive:(0===t||n[t-1].isTrailingSpaceSensitive)&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(t===n.length-1||n[t+1].isLeadingSpaceSensitive)&&e.isTrailingSpaceSensitive}))}):e)},function(e){const t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!JS(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;return e.map(e=>{if(e.children){const n=e.children.map(t);if(n.some(Boolean)){const t=[];for(let r=0;r")+i.firstChild.value+"")+o.value,sourceSpan:new KS(n.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:a,hasTrailingSpaces:s}))}else t.push(i)}return e.clone({children:t})}}return e})}];var ak=function(e,t){for(const n of ok)e=n(e,t);return e},sk={hasPragma:function(e){return/^\s*/.test(e)},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}},uk={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}};const{builders:{concat:lk,group:ck}}=cn;var hk={isVueEventBindingExpression:function(e){const t=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){const{left:n,operator:r,right:i}=function(e){const t=/([^]*?)\s+(in|of)\s+([^]*)/,n=/,([^,\]}]*)(?:,([^,\]}]*))?$/,r=/^\(|\)$/g,i=e.match(t);if(!i)return;const o={};o.for=i[3].trim();const a=i[1].trim().replace(r,""),s=a.match(n);return s?(o.alias=a.replace(n,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=a,{left:"".concat([o.alias,o.iterator1,o.iterator2].filter(Boolean).join(",")),operator:i[2],right:o.for}}(e);return lk([ck(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(i,{parser:"__js_expression"},{stripTrailingHardline:!0})])},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0},{stripTrailingHardline:!0})}},fk=Be((function(e){!function(t,n){e.exports?e.exports=n():t.parseSrcset=n()}(Re,(function(){return function(e,t){var n=t&&t.logger||console;function r(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var n,r=t.exec(e.substring(v));if(r)return n=r[0],v+=n.length,n}for(var o,a,s,u,l,c=e.length,h=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,p=/[,]+$/,m=/^\d+$/,g=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,y=[];;){if(i(f),v>=c)return y;o=i(d),a=[],","===o.slice(-1)?(o=o.replace(p,""),w()):b()}function b(){for(i(h),s="",u="in descriptor";;){if(l=e.charAt(v),"in descriptor"===u)if(r(l))s&&(a.push(s),s="",u="after descriptor");else{if(","===l)return v+=1,s&&a.push(s),void w();if("("===l)s+=l,u="in parens";else{if(""===l)return s&&a.push(s),void w();s+=l}}else if("in parens"===u)if(")"===l)s+=l,u="in descriptor";else{if(""===l)return a.push(s),void w();s+=l}else if("after descriptor"===u)if(r(l));else{if(""===l)return void w();u="in descriptor",v-=1}v+=1}}function w(){var t,r,i,s,u,l,c,h,f,d=!1,p={};for(s=0;se),r=t.some(({h:e})=>e);if(n+r+t.some(({d:e})=>e)>1)throw new Error("Mixed descriptor in srcset is not supported");const i=n?"w":r?"h":"d",o=n?"w":r?"h":"x",a=e=>Math.max(...e),s=t.map(e=>e.url),u=a(s.map(e=>e.length)),l=t.map(e=>e[i]).map(e=>e?e.toString():""),c=l.map(e=>{const t=e.indexOf(".");return-1===t?e.length:t}),h=a(c);return mk(dk([",",gk]),s.map((e,t)=>{const n=[e],r=l[t];if(r){const i=u-e.length+1,a=h-c[t],s=" ".repeat(i+a);n.push(pk(s," "),r+o)}return dk(n)}))},printClassNames:function(e){return e.trim().split(/\s+/).join(" ")}};const{builders:yk,utils:{mapDoc:bk,normalizeParts:wk}}=cn,{replaceEndOfLineWith:_k}=Lt,{print:xk}=o_,{breakParent:Ek,dedentToRoot:Ck,fill:Dk,group:Sk,hardline:kk,ifBreak:Tk,indent:Ak,join:Mk,line:Ok,literalline:Nk,softline:Ik}=yk,{htmlTrimPreserveIndentation:Fk,splitByHtmlWhitespace:Pk,countChars:Lk,countParents:Rk,dedentString:Bk,forceBreakChildren:jk,forceBreakContent:Hk,forceNextEmptyLine:$k,getLastDescendant:qk,getPrettierIgnoreAttributeCommentData:Uk,hasPrettierIgnore:zk,inferScriptParser:Vk,isVueCustomBlock:Wk,isVueNonHtmlBlock:Gk,isVueSlotAttribute:Kk,isVueSfcBindingsAttribute:Xk,isScriptLikeTag:Yk,isTextLikeNode:Jk,preferHardlineAsLeadingSpaces:Zk,shouldNotPrintClosingTag:Qk,shouldPreserveContent:eT,unescapeQuoteEntities:tT,isPreLikeNode:nT}=qS,{insertPragma:rT}=sk,{locStart:iT,locEnd:oT}=uk,{printVueFor:aT,printVueBindings:sT,isVueEventBindingExpression:uT}=hk,{printImgSrcset:lT,printClassNames:cT}=vk;function hT(e){const t=wk(e);return 0===t.length?"":1===t.length?t[0]:yk.concat(t)}function fT(e,t,n){const r=e.getValue();if(jk(r))return hT([Ek,hT(e.map(e=>{const t=e.getValue(),n=t.prev?a(t.prev,t):"";return hT([n?hT([n,$k(t.prev)?kk:""]):"",o(e)])},"children"))]);const i=r.children.map(()=>Symbol(""));return hT(e.map((e,t)=>{const n=e.getValue();if(Jk(n)){if(n.prev&&Jk(n.prev)){const t=a(n.prev,n);if(t)return $k(n.prev)?hT([kk,kk,o(e)]):hT([t,o(e)])}return o(e)}const r=[],s=[],u=[],l=[],c=n.prev?a(n.prev,n):"",h=n.next?a(n,n.next):"";return c&&($k(n.prev)?r.push(kk,kk):c===kk?r.push(kk):Jk(n.prev)?s.push(c):s.push(Tk("",Ik,{groupId:i[t-1]}))),h&&($k(n)?Jk(n.next)&&l.push(kk,kk):h===kk?Jk(n.next)&&l.push(kk):u.push(h)),hT([].concat(r,Sk(hT([hT(s),Sk(hT([o(e),hT(u)]),{id:i[t]})])),l))},"children"));function o(e){const r=e.getValue();return zk(r)?hT([].concat(ST(r,t),_k(t.originalText.slice(iT(r)+(r.prev&&_T(r.prev)?AT(r).length:0),oT(r)-(r.next&&ET(r.next)?NT(r,t).length:0)),Nk),TT(r,t))):n(e)}function a(e,t){return Jk(e)&&Jk(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Zk(t)?kk:Ok:"":Zk(t)?kk:Ik:_T(e)&&(zk(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&0!==t.attrs.length)||"element"===e.type&&e.isSelfClosing&&ET(t)?"":!t.isLeadingSpaceSensitive||Zk(t)||ET(t)&&e.lastChild&&DT(e.lastChild)&&e.lastChild.lastChild&&DT(e.lastChild.lastChild)?kk:t.hasLeadingSpaces?Ok:Ik}}function dT(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&xT(e.firstChild)&&(n-=MT(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&DT(e.lastChild)?r+=OT(e,t).length:CT(e)&&(r-=NT(e.lastChild,t).length),t.originalText.slice(n,r)}function pT(e,t,n){const r=e.getValue();if(!r.attrs||0===r.attrs.length)return r.isSelfClosing?" ":"";const i=r.prev&&"comment"===r.prev.type&&Uk(r.prev.value),o="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,a=e.map(e=>{const r=e.getValue();return o(r)?hT(_k(t.originalText.slice(iT(r),oT(r)),Nk)):n(e)},"attrs"),s="element"===r.type&&"script"===r.fullName&&1===r.attrs.length&&"src"===r.attrs[0].fullName&&0===r.children.length,u=[Ak(hT([s?" ":Ok,Mk(Ok,a)]))];return r.firstChild&&xT(r.firstChild)||r.isSelfClosing&&CT(r.parent)||s?u.push(r.isSelfClosing?" ":""):u.push(r.isSelfClosing?Ok:Ik),hT(u)}function mT(e,t,n){const r=e.getValue();return hT([gT(r,t),pT(e,t,n),r.isSelfClosing?"":vT(r)])}function gT(e,t){return e.prev&&_T(e.prev)?"":hT([ST(e,t),AT(e)])}function vT(e){return e.firstChild&&xT(e.firstChild)?"":MT(e)}function yT(e,t){return hT([e.isSelfClosing?"":bT(e,t),wT(e,t)])}function bT(e,t){return e.lastChild&&DT(e.lastChild)?"":hT([kT(e,t),OT(e,t)])}function wT(e,t){return(e.next?ET(e.next):CT(e.parent))?"":hT([NT(e,t),TT(e,t)])}function _T(e){return e.next&&!Jk(e.next)&&Jk(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function xT(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ET(e){return e.prev&&"docType"!==e.prev.type&&!Jk(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function CT(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Jk(qk(e.lastChild))&&!nT(e)}function DT(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Jk(qk(e))}function ST(e,t){return xT(e)?MT(e.parent):ET(e)?NT(e.prev,t):""}function kT(e,t){return CT(e)?NT(e.lastChild,t):""}function TT(e,t){return DT(e)?OT(e.parent,t):_T(e)?AT(e.next):""}function AT(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function MT(e){switch(ns(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}function OT(e,t){if(ns(!e.isSelfClosing),Qk(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function IT(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?_k(t,Nk):_k(Bk(Fk(t)),kk):Mk(Ok,Pk(t)).parts}var FT={preprocess:ak,print:function(e,t,n){const r=e.getValue();switch(r.type){case"front-matter":return hT(_k(r.raw,Nk));case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),yk.concat([Sk(fT(e,t,n)),kk]);case"element":case"ieConditionalComment":{if(eT(r,t))return hT([].concat(ST(r,t),Sk(mT(e,t,n)),_k(dT(r,t),Nk),yT(r,t),TT(r,t)));const o=1===r.children.length&&"interpolation"===r.firstChild.type&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id");return hT([Sk(hT([Sk(mT(e,t,n),{id:a}),0===r.children.length?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?Ok:"":hT([Hk(r)?Ek:"",(i=hT([o?Tk(Ik,"",{groupId:a}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?Ok:"text"===r.firstChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive?Ck(Ik):Ik,fT(e,t,n)]),o?Tk(Ak(i),i,{groupId:a}):!Yk(r)&&!Wk(r,t)||"root"!==r.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?Ak(i):i),(r.next?ET(r.next):CT(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":o?Tk(Ik,"",{groupId:a}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?Ok:("comment"===r.lastChild.type||"text"===r.lastChild.type&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*Rk(e,e=>e.parent&&"root"!==e.parent.type),"}$")).test(r.lastChild.value)?"":Ik])])),yT(r,t)])}case"ieConditionalStartComment":case"ieConditionalEndComment":return hT([gT(r),wT(r)]);case"interpolation":return hT([gT(r,t),hT(e.map(n,"children")),wT(r,t)]);case"text":if("interpolation"===r.parent.type){const e=/\n[^\S\n]*?$/,t=e.test(r.value),n=t?r.value.replace(e,""):r.value;return hT([hT(_k(n,Nk)),t?kk:""])}return Dk(wk([].concat(ST(r,t),IT(r),TT(r,t))));case"docType":return hT([Sk(hT([gT(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),wT(r,t)]);case"comment":return hT([ST(r,t),hT(_k(t.originalText.slice(iT(r),oT(r)),Nk)),TT(r,t)]);case"attribute":{if(null===r.value)return r.rawName;const e=tT(r.value),t=Lk(e,"'")tT(e.value);let o=!1;const a=(e,t)=>{const n="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!n||"ObjectExpression"!==n.type&&"ArrayExpression"!==n.type&&("__vue_expression"!==t.parser||"TemplateLiteral"!==n.type&&"StringLiteral"!==n.type)||(o=!0)},s=e=>Sk(e),u=(e,t=!0)=>Sk(hT([Ak(hT([Ik,e])),t?Ik:""])),l=e=>o?s(e):u(e),c=(e,n)=>t(e,Object.assign({__onHtmlBindingRoot:a},n),{stripTrailingHardline:!0});if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return u(lT(i()));if("class"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return cT(e)}if("style"===e.fullName&&!n.parentParser){const e=i();if(!e.includes("{{"))return u(c(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===n.parser){if("v-for"===e.fullName)return aT(i(),c);if(Kk(e)||Xk(e,n))return sT(i(),c);const t=["^:","^v-bind:"],o=["^v-"];if(r(["^@","^v-on:"])){const e=i();return l(c(e,{parser:uT(e)?"__js_expression":"__vue_event_binding"}))}if(r(t))return l(c(i(),{parser:"__vue_expression"}));if(r(o))return l(c(i(),{parser:"__js_expression"}))}if("angular"===n.parser){const t=(e,t)=>c(e,Object.assign({},t,{trailingComma:"none"})),n=["^\\*"],o=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],a=["^i18n(-.+)?$"];if(r(["^\\(.+\\)$","^on-"]))return l(t(i(),{parser:"__ng_action"}));if(r(o))return l(t(i(),{parser:"__ng_binding"}));if(r(a)){const t=i().trim();return u(Dk(IT(e,t)),!t.includes("@@"))}if(r(n))return l(t(i(),{parser:"__ng_directive"}));const s=/{{([\S\s]+?)}}/g,h=i();if(s.test(h)){const e=[];return h.split(s).forEach((n,r)=>{if(r%2==0)e.push(hT(_k(n,Nk)));else try{e.push(Sk(hT(["{{",Ak(hT([Ok,t(n,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),Ok,"}}"])))}catch(t){e.push("{{",hT(_k(n,Nk)),"}}")}}),Sk(hT(e))}}return null}(i,(e,t)=>n(e,Object.assign({__isInHtmlAttribute:!0},t),{stripTrailingHardline:!0}),r);if(e)return hT([i.rawName,'="',Sk(bk(e,e=>"string"==typeof e?e.replace(/"/g,"""):e)),'"']);break}case"front-matter":return xk(i,n)}}};const PT="HTML";var LT={htmlWhitespaceSensitivity:{since:"1.15.0",category:PT,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:PT,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},RT={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],languageId:146},BT={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},jT={languages:[Nu(RT,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),Nu(RT,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:e.extensions.concat([".mjml"])})),Nu(RT,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),Nu(BT,()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:FT},options:LT,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},HT={isPragma:function(e){return/^\s*@(prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n".concat(e)}},$T={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};const{getLast:qT}=Lt;function UT(e,t){return e&&"string"==typeof e.type&&(!t||t.includes(e.type))}function zT(e){return"prettier-ignore"===e.value.trim()}function VT(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function WT(e){return e&&e.middleComments&&0!==e.middleComments.length}function GT(e){return e&&e.indicatorComment}function KT(e){return e&&e.trailingComment}function XT(e){return e&&e.endComments&&0!==e.endComments.length}function YT(e){const t=[];let n;for(const r of e.split(/( +)/g))" "!==r?" "===n?t.push(r):t.push((t.pop()||"")+r):void 0===n&&t.unshift(""),n=r;return" "===n&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var JT={getLast:qT,getAncestorCount:function(e,t){let n=0;const r=e.stack.length-1;for(let i=0;ie(r,n,t))}):t,r)},defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0;const r=t.length;for(let i=e.position.end.offset-1;ie.slice(o));return"preserve"===r.proseWrap||"blockLiteral"===e.type?u(s.map(e=>0===e.length?[]:[e])):u(s.map(e=>0===e.length?[]:YT(e)).reduce((e,t,n)=>0===n||0===s[n-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(qT(e))?e.concat([t]):e.concat([e.pop().concat(t)]),[]).map(e=>e.reduce((e,t)=>0!==e.length&&/\s$/.test(qT(e))?e.concat(e.pop()+" "+t):e.concat(t),[])).map(e=>"never"===r.proseWrap?[e.join(" ")]:e));function u(t){if("keep"===e.chomping)return 0===qT(t).length?t.slice(0,-1):t;let r=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)r++;return 0===r?t:r>=2&&!n?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,n){const r=t.split("\n").map((e,t,n)=>0===t&&t===n.length-1?e:0!==t&&t!==n.length-1?e.trim():0===t?e.trimEnd():e.trimStart());return"preserve"===n.proseWrap?r.map(e=>0===e.length?[]:[e]):r.map(e=>0===e.length?[]:YT(e)).reduce((t,n,i)=>0===i||0===r[i-1].length||0===n.length||"quoteDouble"===e&&qT(qT(t)).endsWith("\\")?t.concat([n]):t.concat([t.pop().concat(n)]),[]).map(e=>"never"===n.proseWrap?[e.join(" ")]:e)},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(qT(t.children)):t},hasPrettierIgnore:function(e){const t=e.getValue();if("documentBody"===t.type){const t=e.getParentNode();return XT(t.head)&&zT(qT(t.head.endComments))}return VT(t)&&zT(qT(t.leadingComments))},hasLeadingComments:VT,hasMiddleComments:WT,hasIndicatorComment:GT,hasTrailingComment:KT,hasEndComments:XT};const ZT=cn.builders,{conditionalGroup:QT,breakParent:eA,concat:tA,dedent:nA,dedentToRoot:rA,fill:iA,group:oA,hardline:aA,ifBreak:sA,join:uA,line:lA,lineSuffix:cA,literalline:hA,markAsRoot:fA,softline:dA}=ZT,{replaceEndOfLineWith:pA,isPreviousLineEmpty:mA}=Lt,{insertPragma:gA,isPragma:vA}=HT,{locStart:yA}=$T,{getAncestorCount:bA,getBlockValueLineContents:wA,getFlowScalarLineContents:_A,getLast:xA,getLastDescendantNode:EA,hasLeadingComments:CA,hasMiddleComments:DA,hasIndicatorComment:SA,hasTrailingComment:kA,hasEndComments:TA,hasPrettierIgnore:AA,isLastDescendantNode:MA,isNextLineEmpty:OA,isNode:NA,isEmptyNode:IA,defineShortcut:FA,mapNode:PA}=JT;function LA(e){switch(e.type){case"document":FA(e,"head",()=>e.children[0]),FA(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":FA(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":FA(e,"key",()=>e.children[0]),FA(e,"value",()=>e.children[1])}return e}function RA(e,t,n,r,i){switch(e.type){case"root":return tA([uA(aA,n.map((t,r)=>{const o=e.children[r],a=e.children[r+1];return tA([i(t),$A(o,a)?tA([aA,"...",kA(o)?tA([" ",n.call(i,"trailingComment")]):""]):!a||kA(a.head)?"":tA([aA,"---"])])},"children")),0===e.children.length||(a=EA(e),NA(a,["blockLiteral","blockFolded"])&&"keep"===a.chomping)?"":aA]);case"document":{const o=t.children[n.getName()+1];return uA(aA,["head"===qA(e,o,t,r)?uA(aA,[0===e.head.children.length&&0===e.head.endComments.length?"":n.call(i,"head"),tA(["---",kA(e.head)?tA([" ",n.call(i,"head","trailingComment")]):""])].filter(Boolean)):"",HA(e)?n.call(i,"body"):""].filter(Boolean))}case"documentHead":return uA(aA,[].concat(n.map(i,"children"),n.map(i,"endComments")));case"documentBody":{const t=uA(aA,n.map(i,"children")).parts,r=uA(aA,n.map(i,"endComments")).parts,o=0===t.length||0===r.length?"":(e=>NA(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":tA([aA,aA]):aA)(EA(e));return tA([].concat(t,o,r))}case"directive":return tA(["%",uA(" ",[e.name].concat(e.parameters))]);case"comment":return tA(["#",e.value]);case"alias":return tA(["*",e.value]);case"tag":return r.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return tA(["&",e.value]);case"plain":return KA(e.type,r.originalText.slice(e.position.start.offset,e.position.end.offset),r);case"quoteDouble":case"quoteSingle":{const t="'",n='"',i=r.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){const o="quoteDouble"===e.type?n:t;return tA([o,KA(e.type,i,r),o])}if(i.includes(n))return tA([t,KA(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,n).replace(/'/g,t.repeat(2)):i,r),t]);if(i.includes(t))return tA([n,KA(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,r),n]);const o=r.singleQuote?t:n;return tA([o,KA(e.type,i,r),o])}case"blockFolded":case"blockLiteral":{const t=bA(n,e=>NA(e,["sequence","mapping"])),o=MA(n);return tA(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",SA(e)?tA([" ",n.call(i,"indicatorComment")]):"",(null===e.indent?nA:rA)(BA(null===e.indent?r.tabWidth:e.indent-1+t,tA(wA(e,{parentIndent:t,isLastDescendant:o,options:r}).reduce((t,n,r,i)=>t.concat(0===r?aA:"",iA(uA(lA,n).parts),r!==i.length-1?0===n.length?aA:fA(hA):"keep"===e.chomping&&o?0===n.length?rA(aA):rA(hA):""),[]))))])}case"sequence":return uA(aA,n.map(i,"children"));case"sequenceItem":return tA(["- ",BA(2,e.content?n.call(i,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?n.call(i,"content"):"";case"mapping":return uA(aA,n.map(i,"children"));case"mappingItem":case"flowMappingItem":{const o=IA(e.key),a=IA(e.value);if(o&&a)return tA([": "]);const u=n.call(i,"key"),l=n.call(i,"value");if(a)return"flowMappingItem"===e.type&&"flowMapping"===t.type?u:"mappingItem"!==e.type||!UA(e.key.content,r)||kA(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?tA(["? ",BA(2,u)]):tA([u,zA(e)?" ":"",":"]);if(o)return tA([": ",BA(2,l)]);const c=Symbol("mappingKey");return CA(e.value)||!jA(e.key.content)?tA(["? ",BA(2,u),aA,uA("",n.map(i,"value","leadingComments").map(e=>tA([e,aA]))),": ",BA(2,l)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||CA(e.key.content)||DA(e.key.content)||kA(e.key.content)||TA(e.key)||CA(e.value.content)||DA(e.value.content)||TA(e.value)||!UA(e.value.content,r)?QT([tA([oA(tA([sA("? "),oA(BA(2,u),{id:c})])),sA(tA([aA,": ",BA(2,l)]),s(tA([zA(e)?" ":"",":",CA(e.value.content)||TA(e.value)&&e.value.content&&!NA(e.value.content,["mapping","sequence"])||"mapping"===t.type&&kA(e.key.content)&&jA(e.value.content)||NA(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?aA:e.value.content?lA:"",l])),{groupId:c})])]):tA([u,zA(e)?" ":"",": ",l])}case"flowMapping":case"flowSequence":{const t="flowMapping"===e.type?"{":"[",a="flowMapping"===e.type?"}":"]",u="flowMapping"===e.type&&0!==e.children.length&&r.bracketSpacing?lA:dA,l=0!==e.children.length&&"flowMappingItem"===(o=xA(e.children)).type&&IA(o.key)&&IA(o.value),c="none"===r.trailingComma?"":sA(",","");return tA([t,s(tA([u,tA(n.map((t,n)=>tA([i(t),n===e.children.length-1?"":tA([",",lA,e.children[n].position.start.line!==e.children[n+1].position.start.line?GA(t,r.originalText):""])]),"children")),c,TA(e)?tA([aA,uA(aA,n.map(i,"endComments"))]):""])),l?"":u,a])}case"flowSequenceItem":return n.call(i,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var o,a;function s(e){return ZT.align(" ".repeat(r.tabWidth),e)}}function BA(e,t){return"number"==typeof e&&e>0?ZT.align(" ".repeat(e),t):ZT.align(e,t)}function jA(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function HA(e){return 0!==e.body.children.length||TA(e.body)}function $A(e,t){return kA(e)||t&&(0!==t.head.children.length||TA(t.head))}function qA(e,t,n,r){return n.children[0]===e&&/---(\s|$)/.test(r.originalText.slice(yA(e),yA(e)+4))||0!==e.head.children.length||TA(e.head)||kA(e.head)?"head":!$A(e,t)&&!!t&&"root"}function UA(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function zA(e){return e.key.content&&"alias"===e.key.content.type}function VA(e){return TA(e)&&!NA(e,["documentHead","documentBody","flowMapping","flowSequence"])}const WA=new WeakMap;function GA(e,t){const n=e.getValue(),r=e.stack[0];let i;return WA.has(r)?i=WA.get(r):(i=new Set,WA.set(r,i)),i.has(n.position.end.line)||(i.add(n.position.end.line),!OA(n,t)||VA(e.getParentNode()))?"":dA}function KA(e,t,n){const r=_A(e,t,n);return uA(aA,r.map(e=>iA(uA(lA,e).parts)))}var XA={preprocess:function(e){return PA(e,LA)},print:function(e,t,n){const r=e.getValue(),i=e.getParentNode(),o=r.tag?e.call(n,"tag"):"",a=r.anchor?e.call(n,"anchor"):"",s=NA(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!MA(e)?GA(e,t.originalText):"";return tA(["mappingValue"!==r.type&&CA(r)?tA([uA(aA,e.map(n,"leadingComments")),aA]):"",o,o&&a?" ":"",a,o||a?NA(r,["sequence","mapping"])&&!DA(r)?aA:" ":"",DA(r)?tA([1===r.middleComments.length?"":aA,uA(aA,e.map(n,"middleComments")),aA]):"",AA(e)?tA(pA(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),hA)):oA(RA(r,i,e,t,n)),kA(r)&&!NA(r,["document","documentHead"])?cA(tA(["mappingValue"!==r.type||r.content?" ":"","mappingKey"===i.type&&"mapping"===e.getParentNode(2).type&&jA(r)?"":eA,e.call(n,"trailingComment")])):"",VA(r)?BA("sequenceItem"===r.type?2:0,tA([aA,uA(aA,e.map(e=>tA([mA(t.originalText,e.getValue(),yA)?aA:"",n(e)]),"endComments"))])):"",s])},massageAstNode:function(e,t){if(NA(t))switch(delete t.position,t.type){case"comment":if(vA(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:gA},YA={bracketSpacing:Hw.bracketSpacing,singleQuote:Hw.singleQuote,proseWrap:Hw.proseWrap},JA=[Yw,eE,aC,kC,oS,jT,{languages:[Nu({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:e.filenames.filter(e=>"yarn.lock"!==e)}))],printers:{yaml:XA},options:YA,parsers:{get yaml(){return{}.parsers.yaml}}}];const{version:ZA}=r,{getSupportInfo:QA}=vt,eM=JA.map(t=>e(t,["parsers"]));function tM(e,t=1){return(...n)=>{const r=n[t]||{},i=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...eM,...Array.isArray(i)?i:Object.values(i)]}),e(...n)}}const nM=tM(su.formatWithCursor);return{formatWithCursor:nM,format:(e,t)=>nM(e,t).formatted,check(e,t){const{formatted:n}=nM(e,t);return n===e},doc:cn,getSupportInfo:tM(QA,0),version:ZA,util:Ou,__debug:{parse:tM(su.parse),formatAST:tM(su.formatAST),formatDoc:tM(su.formatDoc),printToDoc:tM(su.printToDoc),printDocToString:tM(su.printDocToString)}}}))}).call(this,n("c8ba"))},3280:function(e,t,n){var r=n("2244"),i=n("c331"),o=n("f4d2"),a=r?r.isConcatSpreadable:void 0;function s(e){return o(e)||i(e)||!!(a&&e&&e[a])}e.exports=s},3300:function(e,t,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),a=n("ea53"),s=r.assert;function u(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){a.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,n,r){a.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(u,a),e.exports=u,u.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var o=this._getEndoRoots(this.p);t=o[0].cmp(o[1])<0?o[0]:o[1],t=t.toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(t))?n=a[0]:(n=a[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return r=e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n),{beta:t,lambda:n,basis:r}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n),a=r.redAdd(o).fromRed(),s=r.redSub(o).fromRed();return[a,s]},u.prototype._getEndoBasis=function(e){var t,n,r,o,a,s,u,l,c,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),f=e,d=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),v=new i(1),y=0;while(0!==f.cmpn(0)){var b=d.div(f);l=d.sub(b.mul(f)),c=g.sub(b.mul(p));var w=v.sub(b.mul(m));if(!r&&l.cmp(h)<0)t=u.neg(),n=p,r=l.neg(),o=c;else if(r&&2===++y)break;u=l,d=f,f=l,g=p,p=c,v=m,m=w}a=l.neg(),s=c;var _=r.sqr().add(o.sqr()),x=a.sqr().add(s.sqr());return x.cmp(_)>=0&&(a=t,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a:a,b:s}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),u=i.mul(n.b),l=o.mul(r.b),c=e.sub(a).sub(s),h=u.add(l).neg();return{k1:c,k2:h}},u.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},o(c,a.BasePoint),u.prototype.jpoint=function(e,t,n){return new c(this,e,t,n)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),u=o.redSub(a);if(0===s.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),c=l.redMul(s),h=r.redMul(l),f=u.redSqr().redIAdd(c).redISub(h).redISub(h),d=u.redMul(h.redISub(f)).redISub(o.redMul(c)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(f,d,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=a.redSqr(),l=u.redMul(a),c=n.redMul(u),h=s.redSqr().redIAdd(l).redISub(c).redISub(c),f=s.redMul(c.redISub(h)).redISub(i.redMul(l)),d=this.z.redMul(a);return this.curve.jpoint(h,f,d)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},3337:function(e,t,n){"use strict";var r=t;r.version=n("2801").version,r.utils=n("f3a3"),r.rand=n("fdac"),r.curve=n("4136"),r.curves=n("0cbb"),r.ec=n("b9a8"),r.eddsa=n("945d")},"334a":function(e,t,n){t=e.exports=n("4250"),t.Stream=t,t.Readable=t,t.Writable=n("19ea"),t.Duplex=n("e666"),t.Transform=n("09dc"),t.PassThrough=n("0ae3"),t.finished=n("ee93"),t.pipeline=n("fbd5")},3397:function(e,t,n){var r=n("7a41");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"33b7":function(e,t,n){"use strict";var r=n("02cc"),i=(n("44d1"),function(e,t,n){return t=Object.assign({decodeEntities:!1,_useHtmlParser2:!0},t),e=n(e),r.load(e,t)}),o=function(){var t=[],n=function(n){var r=e.exports.codeBlocks;return Object.keys(r).forEach((function(e){var i=new RegExp(r[e].start+"([\\S\\s]*?)"+r[e].end,"g");n=n.replace(i,(function(e,n){return t.push(e),"JUICE_CODE_BLOCK_"+(t.length-1)+"_"}))})),n},r=function(e){for(var n=0;n"},HBS:{start:"{{",end:"}}"}}},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3438:function(e,t,n){var r=n("164b");e.exports=r},"343e":function(e,t,n){"use strict";const r=t;r.der=n("3768"),r.pem=n("85b3")},3452:function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("3252"),n("17e1"),n("a8ce"),n("1132"),n("72fe"),n("df2f"),n("94f8"),n("191b"),n("d6e6"),n("b86b"),n("e61b"),n("10b7"),n("5980"),n("7bbc"),n("2b79"),n("38ba"),n("00bb"),n("f4ea"),n("aaef"),n("4ba9"),n("81bf"),n("a817"),n("a11b"),n("8cef"),n("2a66"),n("b86c"),n("6d08"),n("c198"),n("a40e"),n("c3b6"),n("1382"),n("3d5a"))})(0,(function(e){return e}))},"34d5":function(e,t,n){t=e.exports=n("cf35"),t.Stream=t,t.Readable=t,t.Writable=n("49ce"),t.Duplex=n("5e7d"),t.Transform=n("f1c8"),t.PassThrough=n("9d28"),t.finished=n("42a7"),t.pipeline=n("ac4f")},3505:function(e,t,n){var r=n("8707").Buffer,i=n("8c8a");function o(e,t,n){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:a]),a}t.encrypt=function(e,t,n){var i,a=r.allocUnsafe(0);while(t.length){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){a=r.concat([a,o(e,t,n)]);break}i=e._cache.length,a=r.concat([a,o(e,t.slice(0,i),n)]),t=t.slice(i)}return a}},"35a1":function(e,t,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),a=o("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[r(e)]}},"362e":function(e,t,n){"use strict";var r=e.exports=function(e){var t={},n=this._getOverriddenMethods(this,t);Object.keys(n).forEach((function(r){"function"===typeof n[r]&&(t[r]=e[r],e[r]=n[r])}))};r.prototype._getOverriddenMethods=function(){throw new Error("Not implemented")}},"36cc":function(e,t,n){var r=n("4d1e"),i=/\s+/g,o=n("01d0"),a=n("66ec");function s(e,t,n){"object"===typeof e?(n=t,t=e,e=null):"function"===typeof t&&(n=t,t=u),this._callback=e,this._options=t||u,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var u={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"===typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(a):Object.create(o),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else{n&&(e=e.replace(i," "));var o=this._createDomElement({data:e,type:r.Text});this._addDomElement(o)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=s},3768:function(e,t,n){"use strict";const r=n("3fb5"),i=n("c591").Buffer,o=n("8360"),a=n("8b71");function s(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.call(this,"der",e)}function l(e){return e<10?"0"+e:e}function c(e,t,n,r){let i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),a.tagByName.hasOwnProperty(e))i=a.tagByName[e];else{if("number"!==typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}return i>=31?r.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=a.tagClassByName[n||"universal"]<<6,i)}e.exports=s,s.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(u,o),u.prototype._encodeComposite=function(e,t,n,r){const o=c(e,t,n,this.reporter);if(r.length<128){const e=i.alloc(2);return e[0]=o,e[1]=r.length,this._createEncoderBuffer([e,r])}let a=1;for(let i=r.length;i>=256;i>>=8)a++;const s=i.alloc(2+a);s[0]=o,s[1]=128|a;for(let i=1+a,u=r.length;u>0;i--,u>>=8)s[i]=255&u;return this._createEncoderBuffer([s,r])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let i=0;i=128;t>>=7)r++}const o=i.alloc(r);let a=o.length-1;for(let i=e.length-1;i>=0;i--){let t=e[i];o[a--]=127&t;while((t>>=7)>0)o[a--]=128|127&t}return this._createEncoderBuffer(o)},u.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[l(r.getUTCFullYear()),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[l(r.getUTCFullYear()%100),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"===typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!==typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=i.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let i=e;i>=256;i>>=8)n++;const r=new Array(n);for(let i=r.length-1;i>=0;i--)r[i]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"===typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r["default"])return!1;const o=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r["default"],t,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,o+=24,o>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],a=i*o+h,c+=a/67108864|0,h=67108863&a}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,n=0!==o||a!==this.length-1?l[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,a--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var f=c[e],d=h[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:l[f-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===t,l=new e(o),c=this.clone();if(u){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,_=b>>>13,x=0|a[4],E=8191&x,C=x>>>13,D=0|a[5],S=8191&D,k=D>>>13,T=0|a[6],A=8191&T,M=T>>>13,O=0|a[7],N=8191&O,I=O>>>13,F=0|a[8],P=8191&F,L=F>>>13,R=0|a[9],B=8191&R,j=R>>>13,H=0|s[0],$=8191&H,q=H>>>13,U=0|s[1],z=8191&U,V=U>>>13,W=0|s[2],G=8191&W,K=W>>>13,X=0|s[3],Y=8191&X,J=X>>>13,Z=0|s[4],Q=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],he=8191&ce,fe=ce>>>13,de=0|s[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,$),i=Math.imul(h,q),i=i+Math.imul(f,$)|0,o=Math.imul(f,q);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,$),i=Math.imul(p,q),i=i+Math.imul(m,$)|0,o=Math.imul(m,q),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,$),i=Math.imul(v,q),i=i+Math.imul(y,$)|0,o=Math.imul(y,q),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,$),i=Math.imul(w,q),i=i+Math.imul(_,$)|0,o=Math.imul(_,q),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(E,$),i=Math.imul(E,q),i=i+Math.imul(C,$)|0,o=Math.imul(C,q),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(S,$),i=Math.imul(S,q),i=i+Math.imul(k,$)|0,o=Math.imul(k,q),r=r+Math.imul(E,z)|0,i=i+Math.imul(E,V)|0,i=i+Math.imul(C,z)|0,o=o+Math.imul(C,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(A,$),i=Math.imul(A,q),i=i+Math.imul(M,$)|0,o=Math.imul(M,q),r=r+Math.imul(S,z)|0,i=i+Math.imul(S,V)|0,i=i+Math.imul(k,z)|0,o=o+Math.imul(k,V)|0,r=r+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,ae)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,ae)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(N,$),i=Math.imul(N,q),i=i+Math.imul(I,$)|0,o=Math.imul(I,q),r=r+Math.imul(A,z)|0,i=i+Math.imul(A,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(S,G)|0,i=i+Math.imul(S,K)|0,i=i+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,J)|0,i=i+Math.imul(C,Y)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,ae)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(P,$),i=Math.imul(P,q),i=i+Math.imul(L,$)|0,o=Math.imul(L,q),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,V)|0,r=r+Math.imul(A,G)|0,i=i+Math.imul(A,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(k,Y)|0,o=o+Math.imul(k,J)|0,r=r+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,ae)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,q),i=i+Math.imul(j,$)|0,o=Math.imul(j,q),r=r+Math.imul(P,z)|0,i=i+Math.imul(P,V)|0,i=i+Math.imul(L,z)|0,o=o+Math.imul(L,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(I,G)|0,o=o+Math.imul(I,K)|0,r=r+Math.imul(A,Y)|0,i=i+Math.imul(A,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(S,Q)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,ae)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(P,G)|0,i=i+Math.imul(P,K)|0,i=i+Math.imul(L,G)|0,o=o+Math.imul(L,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,J)|0,r=r+Math.imul(A,Q)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(S,ne)|0,i=i+Math.imul(S,re)|0,i=i+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,ae)|0,i=i+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(P,Y)|0,i=i+Math.imul(P,J)|0,i=i+Math.imul(L,Y)|0,o=o+Math.imul(L,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(S,oe)|0,i=i+Math.imul(S,ae)|0,i=i+Math.imul(k,oe)|0,o=o+Math.imul(k,ae)|0,r=r+Math.imul(E,ue)|0,i=i+Math.imul(E,le)|0,i=i+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(P,Q)|0,i=i+Math.imul(P,ee)|0,i=i+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(A,oe)|0,i=i+Math.imul(A,ae)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(S,ue)|0,i=i+Math.imul(S,le)|0,i=i+Math.imul(k,ue)|0,o=o+Math.imul(k,le)|0,r=r+Math.imul(E,he)|0,i=i+Math.imul(E,fe)|0,i=i+Math.imul(C,he)|0,o=o+Math.imul(C,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(P,ne)|0,i=i+Math.imul(P,re)|0,i=i+Math.imul(L,ne)|0,o=o+Math.imul(L,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,ae)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(A,ue)|0,i=i+Math.imul(A,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(S,he)|0,i=i+Math.imul(S,fe)|0,i=i+Math.imul(k,he)|0,o=o+Math.imul(k,fe)|0,r=r+Math.imul(E,pe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(C,pe)|0,o=o+Math.imul(C,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(P,oe)|0,i=i+Math.imul(P,ae)|0,i=i+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(I,ue)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(A,he)|0,i=i+Math.imul(A,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(S,pe)|0,i=i+Math.imul(S,me)|0,i=i+Math.imul(k,pe)|0,o=o+Math.imul(k,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,ae),i=i+Math.imul(j,oe)|0,o=Math.imul(j,ae),r=r+Math.imul(P,ue)|0,i=i+Math.imul(P,le)|0,i=i+Math.imul(L,ue)|0,o=o+Math.imul(L,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(I,he)|0,o=o+Math.imul(I,fe)|0,r=r+Math.imul(A,pe)|0,i=i+Math.imul(A,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(P,he)|0,i=i+Math.imul(P,fe)|0,i=i+Math.imul(L,he)|0,o=o+Math.imul(L,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(I,pe)|0,o=o+Math.imul(I,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(P,pe)|0,i=i+Math.imul(P,me)|0,i=i+Math.imul(L,pe)|0,o=o+Math.imul(L,me)|0;var Ie=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Fe=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=_e,u[6]=xe,u[7]=Ee,u[8]=Ce,u[9]=De,u[10]=Se,u[11]=ke,u[12]=Te,u[13]=Ae,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Ie,u[18]=Fe,0!==l&&(u[19]=l,n.length++),n};function m(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=a>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new v;return r.mulp(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(p=d),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?p(this,e,t):r<63?d(this,e,t):r<1024?m(this,e,t):g(this,e,t),n},v.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},v.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=f(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);n=26-s,0!==n&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(h)),s.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(u)):(n.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function D(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new _;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return y[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;while(0!==d.cmp(s)){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;a!==r[0]&&(a=this.sqr(a)),0!==f||0!==s?(s<<=1,s|=f,u++,(u===n||0===i&&0===h)&&(a=this.mul(a,r[s]),u=0,s=0)):u=0}l=26}return a},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new D(e)},i(D,C),D.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},D.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},D.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},D.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},D.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"37e8":function(e,t,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=a(t),s=r.length,u=0;while(s>u)i.f(e,n=r[u++],t[n]);return e}},"380f":function(e,t,n){"use strict";var r=n("f3a3"),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function s(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},s.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=s},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},"38ba":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("2b79"))})(0,(function(e){e.lib.Cipher||function(t){var n=e,r=n.lib,i=r.Base,o=r.WordArray,a=r.BufferedBlockAlgorithm,s=n.enc,u=(s.Utf8,s.Base64),l=n.algo,c=l.EvpKDF,h=r.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){e&&this._append(e);var t=this._doFinalize();return t},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?E:w}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),f=(r.StreamCipher=h.extend({_doFinalize:function(){var e=this._process(!0);return e},blockSize:1}),n.mode={}),d=r.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=f.CBC=function(){var e=d.extend();function n(e,n,r){var i,o=this._iv;o?(i=o,this._iv=t):i=this._prevBlock;for(var a=0;a>>2];e.sigBytes-=t}},v=(r.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:g}),reset:function(){var e;h.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=n.format={},b=y.OpenSSL={stringify:function(e){var t,n=e.ciphertext,r=e.salt;return t=r?o.create([1398893684,1701076831]).concat(r).concat(n):n,t.toString(u)},parse:function(e){var t,n=u.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),v.create({ciphertext:n,salt:t})}},w=r.SerializableCipher=i.extend({cfg:i.extend({format:b}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),a=i.cfg;return v.create({ciphertext:o,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=e.createDecryptor(n,r).finalize(t.ciphertext);return i},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),_=n.kdf={},x=_.OpenSSL={execute:function(e,t,n,r){r||(r=o.random(8));var i=c.create({keySize:t+n}).compute(e,r),a=o.create(i.words.slice(t),4*n);return i.sigBytes=4*t,v.create({key:i,iv:a,salt:r})}},E=r.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:x}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=r.kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var o=w.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);r.iv=i.iv;var o=w.decrypt.call(this,e,t,i.key,r);return o}})}()}))},3934:function(e,t,n){"use strict";var r=n("c532");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"393a":function(e,t,n){"use strict";var r=n("e444"),i=n("512c"),o=n("ba01"),a=n("051b"),s=n("8a0d"),u=n("26dd"),l=n("92f0"),c=n("ce7a"),h=n("cc15")("iterator"),f=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",m="values",g=function(){return this};e.exports=function(e,t,n,v,y,b,w){u(n,t,v);var _,x,E,C=function(e){if(!f&&e in T)return T[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},D=t+" Iterator",S=y==m,k=!1,T=e.prototype,A=T[h]||T[d]||y&&T[y],M=A||C(y),O=y?S?C("entries"):M:void 0,N="Array"==t&&T.entries||A;if(N&&(E=c(N.call(new e)),E!==Object.prototype&&E.next&&(l(E,D,!0),r||"function"==typeof E[h]||a(E,h,g))),S&&A&&A.name!==m&&(k=!0,M=function(){return A.call(this)}),r&&!w||!f&&!k&&T[h]||a(T,h,M),s[t]=M,s[D]=g,y)if(_={values:S?M:C(m),keys:b?M:C(p),entries:O},w)for(x in _)x in T||o(T,x,_[x]);else i(i.P+i.F*(f||k),t,_);return _}},"399f":function(e,t,n){(function(e){(function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=n(11).Buffer}catch(A){}function s(e,t,n){for(var i=0,o=Math.min(e.length,n),a=0,s=t;s=49&&l<=54?l-49+10:l>=17&&l<=22?l-17+10:l,i|=u,a|=u}return r(!(240&a),"Invalid character in "+e),i}function u(e,t,n,i){for(var o=0,a=0,s=Math.min(e.length,n),u=t;u=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&a0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this._strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,o+=24,o>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=c}catch(A){o.prototype.inspect=c}else o.prototype.inspect=c;function c(){return(this.red?""}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,n=0!==o||a!==this.length-1?h[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,a--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=f[e],c=d[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modrn(c).toString(e);p=p.idivn(c),n=p.isZero()?m+n:h[l-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var p=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function m(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}function g(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],a=i*o+h,c+=a/67108864|0,h=67108863&a}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=p(e,o),s="le"===t?"LE":"BE";return this["_toArrayLike"+s](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n=0&&(e[n--]=a>>8&255),n>=0&&(e[n--]=a>>16&255),6===o?(n>=0&&(e[n--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(n>=0){e[n--]=r;while(n>=0)e[n--]=0}},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,_=b>>>13,x=0|a[4],E=8191&x,C=x>>>13,D=0|a[5],S=8191&D,k=D>>>13,T=0|a[6],A=8191&T,M=T>>>13,O=0|a[7],N=8191&O,I=O>>>13,F=0|a[8],P=8191&F,L=F>>>13,R=0|a[9],B=8191&R,j=R>>>13,H=0|s[0],$=8191&H,q=H>>>13,U=0|s[1],z=8191&U,V=U>>>13,W=0|s[2],G=8191&W,K=W>>>13,X=0|s[3],Y=8191&X,J=X>>>13,Z=0|s[4],Q=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],he=8191&ce,fe=ce>>>13,de=0|s[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,$),i=Math.imul(h,q),i=i+Math.imul(f,$)|0,o=Math.imul(f,q);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,$),i=Math.imul(p,q),i=i+Math.imul(m,$)|0,o=Math.imul(m,q),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,$),i=Math.imul(v,q),i=i+Math.imul(y,$)|0,o=Math.imul(y,q),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,$),i=Math.imul(w,q),i=i+Math.imul(_,$)|0,o=Math.imul(_,q),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(E,$),i=Math.imul(E,q),i=i+Math.imul(C,$)|0,o=Math.imul(C,q),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(S,$),i=Math.imul(S,q),i=i+Math.imul(k,$)|0,o=Math.imul(k,q),r=r+Math.imul(E,z)|0,i=i+Math.imul(E,V)|0,i=i+Math.imul(C,z)|0,o=o+Math.imul(C,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(A,$),i=Math.imul(A,q),i=i+Math.imul(M,$)|0,o=Math.imul(M,q),r=r+Math.imul(S,z)|0,i=i+Math.imul(S,V)|0,i=i+Math.imul(k,z)|0,o=o+Math.imul(k,V)|0,r=r+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,ae)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,ae)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(N,$),i=Math.imul(N,q),i=i+Math.imul(I,$)|0,o=Math.imul(I,q),r=r+Math.imul(A,z)|0,i=i+Math.imul(A,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(S,G)|0,i=i+Math.imul(S,K)|0,i=i+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,J)|0,i=i+Math.imul(C,Y)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,ae)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(P,$),i=Math.imul(P,q),i=i+Math.imul(L,$)|0,o=Math.imul(L,q),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,V)|0,r=r+Math.imul(A,G)|0,i=i+Math.imul(A,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(k,Y)|0,o=o+Math.imul(k,J)|0,r=r+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,ae)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,q),i=i+Math.imul(j,$)|0,o=Math.imul(j,q),r=r+Math.imul(P,z)|0,i=i+Math.imul(P,V)|0,i=i+Math.imul(L,z)|0,o=o+Math.imul(L,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(I,G)|0,o=o+Math.imul(I,K)|0,r=r+Math.imul(A,Y)|0,i=i+Math.imul(A,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(S,Q)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,ae)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(P,G)|0,i=i+Math.imul(P,K)|0,i=i+Math.imul(L,G)|0,o=o+Math.imul(L,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,J)|0,r=r+Math.imul(A,Q)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(S,ne)|0,i=i+Math.imul(S,re)|0,i=i+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,ae)|0,i=i+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(P,Y)|0,i=i+Math.imul(P,J)|0,i=i+Math.imul(L,Y)|0,o=o+Math.imul(L,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(S,oe)|0,i=i+Math.imul(S,ae)|0,i=i+Math.imul(k,oe)|0,o=o+Math.imul(k,ae)|0,r=r+Math.imul(E,ue)|0,i=i+Math.imul(E,le)|0,i=i+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(P,Q)|0,i=i+Math.imul(P,ee)|0,i=i+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(A,oe)|0,i=i+Math.imul(A,ae)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(S,ue)|0,i=i+Math.imul(S,le)|0,i=i+Math.imul(k,ue)|0,o=o+Math.imul(k,le)|0,r=r+Math.imul(E,he)|0,i=i+Math.imul(E,fe)|0,i=i+Math.imul(C,he)|0,o=o+Math.imul(C,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(P,ne)|0,i=i+Math.imul(P,re)|0,i=i+Math.imul(L,ne)|0,o=o+Math.imul(L,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,ae)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(A,ue)|0,i=i+Math.imul(A,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(S,he)|0,i=i+Math.imul(S,fe)|0,i=i+Math.imul(k,he)|0,o=o+Math.imul(k,fe)|0,r=r+Math.imul(E,pe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(C,pe)|0,o=o+Math.imul(C,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(P,oe)|0,i=i+Math.imul(P,ae)|0,i=i+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(I,ue)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(A,he)|0,i=i+Math.imul(A,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(S,pe)|0,i=i+Math.imul(S,me)|0,i=i+Math.imul(k,pe)|0,o=o+Math.imul(k,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,ae),i=i+Math.imul(j,oe)|0,o=Math.imul(j,ae),r=r+Math.imul(P,ue)|0,i=i+Math.imul(P,le)|0,i=i+Math.imul(L,ue)|0,o=o+Math.imul(L,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(I,he)|0,o=o+Math.imul(I,fe)|0,r=r+Math.imul(A,pe)|0,i=i+Math.imul(A,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(P,he)|0,i=i+Math.imul(P,fe)|0,i=i+Math.imul(L,he)|0,o=o+Math.imul(L,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(I,pe)|0,o=o+Math.imul(I,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(P,pe)|0,i=i+Math.imul(P,me)|0,i=i+Math.imul(L,pe)|0,o=o+Math.imul(L,me)|0;var Ie=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Fe=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=_e,u[6]=xe,u[7]=Ee,u[8]=Ce,u[9]=De,u[10]=Se,u[11]=ke,u[12]=Te,u[13]=Ae,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Ie,u[18]=Fe,0!==l&&(u[19]=l,n.length++),n};function y(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=a>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function b(e,t,n){return y(e,t,n)}function w(e,t){this.x=e,this.y=t}Math.imul||(v=g),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?v(this,e,t):r<63?g(this,e,t):r<1024?y(this,e,t):b(this,e,t),n},w.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},w.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,n+=o/67108864|0,n+=a>>>26,this.words[i]=67108863&a}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=m(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this._strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);n=26-s,0!==n&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(h)),s.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(u)):(n.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new k(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function x(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function D(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},x.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},i(E,x),E.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},E.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new E;else if("p224"===e)t=new C;else if("p192"===e)t=new D;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return _[e]=t,t},k.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},k.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;while(0!==d.cmp(s)){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;a!==r[0]&&(a=this.sqr(a)),0!==f||0!==s?(s<<=1,s|=f,u++,(u===n||0===i&&0===h)&&(a=this.mul(a,r[s]),u=0,s=0)):u=0}l=26}return a},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new T(e)},i(T,k),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},T.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"39a9":function(e,t,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ var r=n("b639"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"39ad":function(e,t,n){var r=n("6ca1"),i=n("d16a"),o=n("9d11");e.exports=function(e){return function(t,n,a){var s,u=r(t),l=i(u.length),c=o(a,l);if(e&&n!=n){while(l>c)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},"39f5":function(e,t,n){var r=n("8707").Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i>>24]^c[p>>>16&255]^h[m>>>8&255]^f[255&g]^t[v++],a=l[p>>>24]^c[m>>>16&255]^h[g>>>8&255]^f[255&d]^t[v++],s=l[m>>>24]^c[g>>>16&255]^h[d>>>8&255]^f[255&p]^t[v++],u=l[g>>>24]^c[d>>>16&255]^h[p>>>8&255]^f[255&m]^t[v++],d=o,p=a,m=s,g=u;return o=(r[d>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[v++],a=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&d])^t[v++],s=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[d>>>8&255]<<8|r[255&p])^t[v++],u=(r[g>>>24]<<24|r[d>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[v++],o>>>=0,a>>>=0,s>>>=0,u>>>=0,[o,a,s,u]}var s=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,u=0;u<256;++u){var l=s^s<<1^s<<2^s<<3^s<<4;l=l>>>8^255&l^99,n[a]=l,r[l]=a;var c=e[a],h=e[c],f=e[h],d=257*e[l]^16843008*l;i[0][a]=d<<24|d>>>8,i[1][a]=d<<16|d>>>16,i[2][a]=d<<8|d>>>24,i[3][a]=d,d=16843009*f^65537*h^257*c^16843008*a,o[0][l]=d<<24|d>>>8,o[1][l]=d<<16|d>>>16,o[2][l]=d<<8|d>>>24,o[3][l]=d,0===a?a=s=1:(a=c^e[e[e[f^c]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function l(e){this._key=i(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t===4&&(a=u.SBOX[a>>>24]<<24|u.SBOX[a>>>16&255]<<16|u.SBOX[a>>>8&255]<<8|u.SBOX[255&a]),i[o]=i[o-t]^a}for(var l=[],c=0;c>>24]]^u.INV_SUB_MIX[1][u.SBOX[f>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[f>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return e=i(e),a(e,this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){e=i(e);var t=e[1];e[1]=e[3],e[3]=t;var n=a(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},l.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=l},"3a7c":function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"===typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return"number"===typeof e}function s(e){return"string"===typeof e}function u(e){return"symbol"===typeof e}function l(e){return void 0===e}function c(e){return"[object RegExp]"===g(e)}function h(e){return"object"===typeof e&&null!==e}function f(e){return"[object Date]"===g(e)}function d(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"===typeof e}function m(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=a,t.isString=s,t.isSymbol=u,t.isUndefined=l,t.isRegExp=c,t.isObject=h,t.isDate=f,t.isError=d,t.isFunction=p,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(this,n("b639").Buffer)},"3ac1":function(e,t,n){var r=n("a023");function i(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=i},"3b84":function(e,t,n){(function(e){var r=n("858c"),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a&&r.process,u=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=u}).call(this,n("62e4")(e))},"3bbe":function(e,t,n){var r=n("861d");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},"3c35":function(e,t){(function(t){e.exports=t}).call(this,{})},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!o(e)};function i(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||u(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function u(e){return e.$$typeof===s}function l(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&r(e)?d(l(e),e,t):e}function h(e,t,n){var i=e.slice();return t.forEach((function(t,o){"undefined"===typeof i[o]?i[o]=c(t,n):r(t)?i[o]=d(e[o],t,n):-1===e.indexOf(t)&&i.push(c(t,n))})),i}function f(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){r(t[o])&&e[o]?i[o]=d(e[o],t[o],n):i[o]=c(t[o],n)})),i}function d(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),o=n||{arrayMerge:h},a=r===i;if(a){if(r){var s=o.arrayMerge||h;return s(e,t,n)}return f(e,t,n)}return c(t,n)}d.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return d(e,n,t)}))};var p=d;e.exports=p},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),a="String Iterator",s=i.set,u=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3cc0":function(e,t,n){"use strict";var r=n("d485").Transform,i=n("ddcd"),o=n("3022").inherits,a=n("b1dc"),s=n("7180"),u=n("6fb2"),l=n("de90"),c={locationInfo:!1},h=e.exports=function(e){r.call(this),this.options=l(c,e),this.tokenizer=new a(e),this.options.locationInfo&&new s(this.tokenizer),this.parserFeedbackSimulator=new u(this.tokenizer),this.pendingText=null,this.currentTokenLocation=void 0,this.lastChunkWritten=!1,this.stopped=!1,this.pipe(new i)};o(h,r),h.prototype._transform=function(e,t,n){this.stopped||(this.tokenizer.write(e.toString("utf8"),this.lastChunkWritten),this._runParsingLoop()),this.push(e),n()},h.prototype._flush=function(e){e()},h.prototype.end=function(e,t,n){this.lastChunkWritten=!0,r.prototype.end.call(this,e,t,n)},h.prototype.stop=function(){this.stopped=!0},h.prototype._runParsingLoop=function(){do{var e=this.parserFeedbackSimulator.getNextToken();if(e.type===a.HIBERNATION_TOKEN)break;e.type===a.CHARACTER_TOKEN||e.type===a.WHITESPACE_CHARACTER_TOKEN||e.type===a.NULL_CHARACTER_TOKEN?(this.options.locationInfo&&(null===this.pendingText?this.currentTokenLocation=e.location:this.currentTokenLocation.endOffset=e.location.endOffset),this.pendingText=(this.pendingText||"")+e.chars):(this._emitPendingText(),this._handleToken(e))}while(!this.stopped&&e.type!==a.EOF_TOKEN)},h.prototype._handleToken=function(e){this.options.locationInfo&&(this.currentTokenLocation=e.location),e.type===a.START_TAG_TOKEN?this.emit("startTag",e.tagName,e.attrs,e.selfClosing,this.currentTokenLocation):e.type===a.END_TAG_TOKEN?this.emit("endTag",e.tagName,this.currentTokenLocation):e.type===a.COMMENT_TOKEN?this.emit("comment",e.data,this.currentTokenLocation):e.type===a.DOCTYPE_TOKEN&&this.emit("doctype",e.name,e.publicId,e.systemId,this.currentTokenLocation)},h.prototype._emitPendingText=function(){null!==this.pendingText&&(this.emit("text",this.pendingText,this.currentTokenLocation),this.pendingText=null)}},"3cf8":function(e,t,n){"use strict";var r=n("f30b"),i=r.TAG_NAMES,o=r.NAMESPACES;function a(e){switch(e.length){case 1:return e===i.P;case 2:return e===i.RB||e===i.RP||e===i.RT||e===i.DD||e===i.DT||e===i.LI;case 3:return e===i.RTC;case 6:return e===i.OPTION;case 8:return e===i.OPTGROUP||e===i.MENUITEM}return!1}function s(e,t){switch(e.length){case 2:if(e===i.TD||e===i.TH)return t===o.HTML;if(e===i.MI||e===i.MO||e===i.MN||e===i.MS)return t===o.MATHML;break;case 4:if(e===i.HTML)return t===o.HTML;if(e===i.DESC)return t===o.SVG;break;case 5:if(e===i.TABLE)return t===o.HTML;if(e===i.MTEXT)return t===o.MATHML;if(e===i.TITLE)return t===o.SVG;break;case 6:return(e===i.APPLET||e===i.OBJECT)&&t===o.HTML;case 7:return(e===i.CAPTION||e===i.MARQUEE)&&t===o.HTML;case 8:return e===i.TEMPLATE&&t===o.HTML;case 13:return e===i.FOREIGN_OBJECT&&t===o.SVG;case 14:return e===i.ANNOTATION_XML&&t===o.MATHML}return!1}var u=e.exports=function(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t};u.prototype._indexOf=function(e){for(var t=-1,n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t},u.prototype._isInTemplate=function(){return this.currentTagName===i.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===o.HTML},u.prototype._updateCurrentElement=function(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null},u.prototype.push=function(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++},u.prototype.pop=function(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()},u.prototype.replace=function(e,t){var n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()},u.prototype.insertAfter=function(e,t){var n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()},u.prototype.popUntilTagNamePopped=function(e){while(this.stackTop>-1){var t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===o.HTML)break}},u.prototype.popUntilElementPopped=function(e){while(this.stackTop>-1){var t=this.current;if(this.pop(),t===e)break}},u.prototype.popUntilNumberedHeaderPopped=function(){while(this.stackTop>-1){var e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.H1||e===i.H2||e===i.H3||e===i.H4||e===i.H5||e===i.H6&&t===o.HTML)break}},u.prototype.popUntilTableCellPopped=function(){while(this.stackTop>-1){var e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===i.TD||e===i.TH&&t===o.HTML)break}},u.prototype.popAllUpToHtmlElement=function(){this.stackTop=0,this._updateCurrentElement()},u.prototype.clearBackToTableContext=function(){while(this.currentTagName!==i.TABLE&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML)this.pop()},u.prototype.clearBackToTableBodyContext=function(){while(this.currentTagName!==i.TBODY&&this.currentTagName!==i.TFOOT&&this.currentTagName!==i.THEAD&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML)this.pop()},u.prototype.clearBackToTableRowContext=function(){while(this.currentTagName!==i.TR&&this.currentTagName!==i.TEMPLATE&&this.currentTagName!==i.HTML||this.treeAdapter.getNamespaceURI(this.current)!==o.HTML)this.pop()},u.prototype.remove=function(e){for(var t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}},u.prototype.tryPeekProperlyNestedBodyElement=function(){var e=this.items[1];return e&&this.treeAdapter.getTagName(e)===i.BODY?e:null},u.prototype.contains=function(e){return this._indexOf(e)>-1},u.prototype.getCommonAncestor=function(e){var t=this._indexOf(e);return--t>=0?this.items[t]:null},u.prototype.isRootHtmlElementCurrent=function(){return 0===this.stackTop&&this.currentTagName===i.HTML},u.prototype.hasInScope=function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(s(n,r))return!1}return!0},u.prototype.hasNumberedHeaderInScope=function(){for(var e=this.stackTop;e>=0;e--){var t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===i.H1||t===i.H2||t===i.H3||t===i.H4||t===i.H5||t===i.H6)&&n===o.HTML)return!0;if(s(t,n))return!1}return!0},u.prototype.hasInListItemScope=function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if((n===i.UL||n===i.OL)&&r===o.HTML||s(n,r))return!1}return!0},u.prototype.hasInButtonScope=function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===o.HTML)return!0;if(n===i.BUTTON&&r===o.HTML||s(n,r))return!1}return!0},u.prototype.hasInTableScope=function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===o.HTML){if(n===e)return!0;if(n===i.TABLE||n===i.TEMPLATE||n===i.HTML)return!1}}return!0},u.prototype.hasTableBodyContextInTableScope=function(){for(var e=this.stackTop;e>=0;e--){var t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===o.HTML){if(t===i.TBODY||t===i.THEAD||t===i.TFOOT)return!0;if(t===i.TABLE||t===i.HTML)return!1}}return!0},u.prototype.hasInSelectScope=function(e){for(var t=this.stackTop;t>=0;t--){var n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===o.HTML){if(n===e)return!0;if(n!==i.OPTION&&n!==i.OPTGROUP)return!1}}return!0},u.prototype.generateImpliedEndTags=function(){while(a(this.currentTagName))this.pop()},u.prototype.generateImpliedEndTagsWithExclusion=function(e){while(a(this.currentTagName)&&this.currentTagName!==e)this.pop()}},"3d5a":function(e,t,n){(function(t,r,i){e.exports=r(n("21bf"),n("1132"),n("72fe"),n("2b79"),n("38ba"))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.StreamCipher,i=t.algo,o=[],a=[],s=[],u=i.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],r=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)l.call(this);for(i=0;i<8;i++)r[i]^=n[i+4&7];if(t){var o=t.words,a=o[0],s=o[1],u=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),h=u>>>16|4294901760&c,f=c<<16|65535&u;r[0]^=u,r[1]^=h,r[2]^=c,r[3]^=f,r[4]^=u,r[5]^=h,r[6]^=c,r[7]^=f;for(i=0;i<4;i++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),o[0]=n[0]^n[5]>>>16^n[3]<<16,o[1]=n[2]^n[7]>>>16^n[5]<<16,o[2]=n[4]^n[1]>>>16^n[7]<<16,o[3]=n[6]^n[3]>>>16^n[1]<<16;for(var r=0;r<4;r++)o[r]=16711935&(o[r]<<8|o[r]>>>24)|4278255360&(o[r]<<24|o[r]>>>8),e[t+r]^=o[r]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)a[n]=t[n];t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0;for(n=0;n<8;n++){var r=e[n]+t[n],i=65535&r,o=r>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&r)*r|0)+((65535&r)*r|0);s[n]=u^l}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}t.RabbitLegacy=r._createHelper(u)}(),e.RabbitLegacy}))},"3daf":function(e,t,n){"use strict";var r=n("f3a3"),i=n("80af"),o=n("3fb5"),a=n("ea53"),s=r.assert;function u(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function l(e,t,n,r,o){a.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(u,a),e.exports=u,u.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},u.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},u.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},u.prototype.pointFromX=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var u=s.fromRed().isOdd();return(t&&!u||!t&&u)&&(s=s.redNeg()),this.point(e,s)},u.prototype.pointFromY=function(e,t){e=new i(e,16),e.red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},u.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},o(l,a.BasePoint),u.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},u.prototype.point=function(e,t,n,r){return new l(this,e,t,n,r)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),a=o.redSub(n),s=r.redSub(t),u=i.redMul(a),l=o.redMul(s),c=i.redMul(s),h=a.redMul(o);return this.curve.point(u,l,h,c)},l.prototype._projDbl=function(){var e,t,n,r=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var a=this.curve._mulA(i),s=a.redAdd(o);if(this.zOne)e=r.redSub(i).redSub(o).redMul(s.redSub(this.curve.two)),t=s.redMul(a.redSub(o)),n=s.redSqr().redSub(s).redSub(s);else{var u=this.z.redSqr(),l=s.redSub(u).redISub(u);e=r.redSub(i).redISub(o).redMul(l),t=s.redMul(a.redSub(o)),n=s.redMul(l)}}else{a=i.redAdd(o),u=this.curve._mulC(this.z).redSqr(),l=a.redSub(u).redSub(u);e=this.curve._mulC(r.redISub(a)).redMul(l),t=this.curve._mulC(a).redMul(i.redISub(o)),n=a.redMul(l)}return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),a=i.redSub(r),s=i.redAdd(r),u=n.redAdd(t),l=o.redMul(a),c=s.redMul(u),h=o.redMul(u),f=a.redMul(s);return this.curve.point(l,c,f,h)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),u=i.redSub(s),l=i.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),h=r.redMul(u).redMul(c);return this.curve.twisted?(t=r.redMul(l).redMul(a.redSub(this.curve._mulA(o))),n=u.redMul(l)):(t=r.redMul(l).redMul(a.redSub(o)),n=this.curve._mulC(u).redMul(l)),this.curve.point(h,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},"3e2a":function(e,t,n){var r=n("8a7a"),i=n("ecbb"),o=n("f56c"),a=n("f4d2"),s=n("7914"),u=n("5117"),l=Object.prototype,c=l.hasOwnProperty;function h(e){if(s(e)&&!a(e)&&!(e instanceof r)){if(e instanceof i)return e;if(c.call(e,"__wrapped__"))return u(e)}return new i(e)}h.prototype=o.prototype,h.prototype.constructor=h,e.exports=h},"3e8b":function(e,t,n){"use strict";var r=n("362e"),i=n("3022").inherits,o=n("5182"),a=o.CODE_POINTS,s=e.exports=function(e){return e.__locTracker||(e.__locTracker=this,r.call(this,e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.col=-1,this.line=1),e.__locTracker};i(s,r),Object.defineProperty(s.prototype,"offset",{get:function(){return this.droppedBufferSize+this.preprocessor.pos}}),s.prototype._getOverriddenMethods=function(e,t){return{advance:function(){var n=t.advance.call(this);return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=e.offset),n===a.LINE_FEED&&(e.isEol=!0),e.col=e.offset-e.lineStartPos+1,n},retreat:function(){t.retreat.call(this),e.isEol=!1,e.col=e.offset-e.lineStartPos+1},dropParsedChunk:function(){var n=this.pos;t.dropParsedChunk.call(this),e.droppedBufferSize+=n-this.pos}}}},"3f62":function(e,t,n){var r=n("8707").Buffer,i=r.alloc(16,0);function o(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function a(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(e){var t=-1;while(++t0;e--)r[e]=r[e]>>>1|(1&r[e-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=a(i)},s.prototype.update=function(e){var t;this.cache=r.concat([this.cache,e]);while(this.cache.length>=16)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=s},"3f6b":function(e,t,n){e.exports={default:n("b9c7"),__esModule:!0}},"3f8c":function(e,t){e.exports={}},"3fb5":function(e,t){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},4010:function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r=n("6dd8"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var a="undefined"===typeof window,s=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i,a=o.target.__resizeListeners__||[];a.length&&a.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){a||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new i.default(s),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},4017:function(e,t,n){var r=n("bb96"),i=n("739c"),o=n("979d");function a(e,t){return o(i(e,t,r),e+"")}e.exports=a},"409b":function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},"40ec":function(e,t,n){var r=n("adc7");function i(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e.exports=i},4111:function(e,t,n){"use strict";var r=n("7f7a");t.certificate=n("56b5");var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));t.PublicKey=a;var s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),u=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=u;var l=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=l;var c=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=c,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var h=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(f),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=h;var f=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},4136:function(e,t,n){"use strict";var r=t;r.base=n("ea53"),r.short=n("3300"),r.mont=n("676f"),r.edwards=n("3daf")},4160:function(e,t,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"417f":function(e,t,n){"use strict";t.__esModule=!0;var r=n("2b0e"),i=a(r),o=n("5924");function a(e){return e&&e.__esModule?e:{default:e}}var s=[],u="@@clickoutsideContext",l=void 0,c=0;function h(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[u].methodName&&n.context[e[u].methodName]?n.context[e[u].methodName]():e[u].bindingFn&&e[u].bindingFn())}}!i.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return l=e})),!i.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){s.forEach((function(t){return t[u].documentHandler(e,l)}))})),t.default={bind:function(e,t,n){s.push(e);var r=c++;e[u]={id:r,documentHandler:h(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[u].documentHandler=h(e,t,n),e[u].methodName=t.expression,e[u].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n16)throw new Error("unable to decrypt data");var n=-1;while(++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=m,t.createDecipheriv=p},4250:function(e,t,n){"use strict";(function(t,r){var i;e.exports=A,A.ReadableState=T;n("faa1").EventEmitter;var o=function(e,t){return e.listeners(t).length},a=n("5bbb"),s=n("b639").Buffer,u=t.Uint8Array||function(){};function l(e){return s.from(e)}function c(e){return s.isBuffer(e)||e instanceof u}var h,f=n(4);h=f&&f.debuglog?f.debuglog("stream"):function(){};var d,p,m,g=n("96a5"),v=n("493f"),y=n("b9b5"),b=y.getHighWaterMark,w=n("9d8a").codes,_=w.ERR_INVALID_ARG_TYPE,x=w.ERR_STREAM_PUSH_AFTER_EOF,E=w.ERR_METHOD_NOT_IMPLEMENTED,C=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("3fb5")(A,a);var D=v.errorOrDestroy,S=["error","close","destroy","pause","resume"];function k(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function T(e,t,r){i=i||n("e666"),e=e||{},"boolean"!==typeof r&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=b(this,e,"readableHighWaterMark",r),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n("7d72").StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function A(e){if(i=i||n("e666"),!(this instanceof A))return new A(e);var t=this instanceof i;this._readableState=new T(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function M(e,t,n,r,i){h("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,L(e,a);else if(i||(o=N(a,t)),o)D(e,o);else if(a.objectMode||t&&t.length>0)if("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=l(t)),r)a.endEmitted?D(e,new C):O(e,a,t,!0);else if(a.ended)D(e,new x);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?O(e,a,t,!1):j(e,a)):O(e,a,t,!1)}else r||(a.reading=!1,j(e,a));return!a.ended&&(a.length=I?e=I:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function P(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=F(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function L(e,t){if(h("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?R(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,B(e)))}}function R(e){var t=e._readableState;h("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(B,e))}function B(e){var t=e._readableState;h("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,W(e)}function j(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(H,e,t))}function H(e,t){while(!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function U(e){h("readable nexttick read 0"),e.read(0)}function z(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(V,e,t))}function V(e,t){h("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),W(e),t.flowing&&!t.reading&&e.read(0)}function W(e){var t=e._readableState;h("flow",t.flowing);while(t.flowing&&null!==e.read());}function G(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function K(e){var t=e._readableState;h("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(X,t,e))}function X(e,t){if(h("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Y(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?K(this):R(this),null;if(e=P(e,t),0===e&&t.ended)return 0===t.length&&K(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?G(e,t):null,null===r?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&K(this)),null!==r&&this.emit("data",r),r},A.prototype._read=function(e){D(this,new E("_read()"))},A.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,s=a?l:y;function u(e,t){h("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,d())}function l(){h("onend"),e.end()}i.endEmitted?r.nextTick(s):n.once("end",s),e.on("unpipe",u);var c=$(n);e.on("drain",c);var f=!1;function d(){h("cleanup"),e.removeListener("close",g),e.removeListener("finish",v),e.removeListener("drain",c),e.removeListener("error",m),e.removeListener("unpipe",u),n.removeListener("end",l),n.removeListener("end",y),n.removeListener("data",p),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c()}function p(t){h("ondata");var r=e.write(t);h("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Y(i.pipes,e))&&!f&&(h("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function m(t){h("onerror",t),y(),e.removeListener("error",m),0===o(e,"error")&&D(e,t)}function g(){e.removeListener("finish",v),y()}function v(){h("onfinish"),e.removeListener("close",g),y()}function y(){h("unpipe"),n.unpipe(e)}return n.on("data",p),k(e,"error",m),e.once("close",g),e.once("finish",v),e.emit("pipe",n),i.flowing||(h("pipe resume"),n.resume()),e},A.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,h("on readable",i.length,i.reading),i.length?R(this):i.reading||r.nextTick(U,this))),n},A.prototype.addListener=A.prototype.on,A.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(q,this),n},A.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(q,this),t},A.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!e.readableListening,z(this,e)),e.paused=!1,this},A.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=t.push(i);o||(r=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o=0;r--){var i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function K(e,t,n){for(var r=t,i=e.openElements.getCommonAncestor(t),o=0,a=i;a!==n;o++,a=i){i=e.openElements.getCommonAncestor(a);var s=e.activeFormattingElements.getElementEntry(a),u=s&&o>=b,l=!s||u;l?(u&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(a)):(a=X(e,s),r===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function X(e,t){var n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Y(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{var r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===d.TEMPLATE&&i===p.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function J(e,t,n){var r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function Z(e,t){for(var n,r=0;r0&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode())}function me(e,t){e.openElements.pop(),e.insertionMode=C,e._processToken(t)}function ge(e,t){var n=t.tagName;n===d.HTML?et(e,t):n===d.BODY?(e._insertElement(t,p.HTML),e.framesetOk=!1,e.insertionMode=D):n===d.FRAMESET?(e._insertElement(t,p.HTML),e.insertionMode=B):n===d.BASE||n===d.BASEFONT||n===d.BGSOUND||n===d.LINK||n===d.META||n===d.NOFRAMES||n===d.SCRIPT||n===d.STYLE||n===d.TEMPLATE||n===d.TITLE?(e.openElements.push(e.headElement),de(e,t),e.openElements.remove(e.headElement)):n!==d.HEAD&&ye(e,t)}function ve(e,t){var n=t.tagName;n===d.BODY||n===d.HTML||n===d.BR?ye(e,t):n===d.TEMPLATE&&pe(e,t)}function ye(e,t){e._insertFakeElement(d.BODY),e.insertionMode=D,e._processToken(t)}function be(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function we(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function _e(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function xe(e,t){var n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Ee(e,t){var n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,p.HTML),e.insertionMode=B)}function Ce(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,p.HTML)}function De(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement();var n=e.openElements.currentTagName;n!==d.H1&&n!==d.H2&&n!==d.H3&&n!==d.H4&&n!==d.H5&&n!==d.H6||e.openElements.pop(),e._insertElement(t,p.HTML)}function Se(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,p.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function ke(e,t){var n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,p.HTML),n||(e.formElement=e.openElements.current))}function Te(e,t){e.framesetOk=!1;for(var n=t.tagName,r=e.openElements.stackTop;r>=0;r--){var i=e.openElements.items[r],o=e.treeAdapter.getTagName(i),a=null;if(n===d.LI&&o===d.LI?a=d.LI:n!==d.DD&&n!==d.DT||o!==d.DD&&o!==d.DT||(a=o),a){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(o!==d.ADDRESS&&o!==d.DIV&&o!==d.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,p.HTML)}function Ae(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,p.HTML),e.tokenizer.state=r.MODE.PLAINTEXT}function Me(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.framesetOk=!1}function Oe(e,t){var n=e.activeFormattingElements.getElementEntryInScopeWithTagName(d.A);n&&(Z(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ne(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ie(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(Z(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,p.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Fe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Pe(e,t){e.treeAdapter.getDocumentMode(e.document)!==f.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,p.HTML),e.framesetOk=!1,e.insertionMode=k}function Le(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,p.HTML),e.framesetOk=!1}function Re(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,p.HTML);var n=r.getTokenAttr(t,m.TYPE);n&&n.toLowerCase()===v||(e.framesetOk=!1)}function Be(e,t){e._appendElement(t,p.HTML)}function je(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagName===d.MENUITEM&&e.openElements.pop(),e._appendElement(t,p.HTML),e.framesetOk=!1}function He(e,t){t.tagName=d.IMG,Le(e,t)}function $e(e,t){e._insertElement(t,p.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=S}function qe(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Ue(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}function ze(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function Ve(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML),e.framesetOk=!1,e.insertionMode===k||e.insertionMode===A||e.insertionMode===O||e.insertionMode===N||e.insertionMode===I?e.insertionMode=P:e.insertionMode=F}function We(e,t){e.openElements.currentTagName===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML)}function Ge(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,p.HTML)}function Ke(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,p.HTML)}function Xe(e,t){e.openElements.currentTagName===d.MENUITEM&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML)}function Ye(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagName===d.MENUITEM&&e.openElements.pop(),e._insertElement(t,p.HTML)}function Je(e,t){e._reconstructActiveFormattingElements(),c.adjustTokenMathMLAttrs(t),c.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,p.MATHML):e._insertElement(t,p.MATHML)}function Ze(e,t){e._reconstructActiveFormattingElements(),c.adjustTokenSVGAttrs(t),c.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,p.SVG):e._insertElement(t,p.SVG)}function Qe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,p.HTML)}function et(e,t){var n=t.tagName;switch(n.length){case 1:n===d.I||n===d.S||n===d.B||n===d.U?Ne(e,t):n===d.P?Ce(e,t):n===d.A?Oe(e,t):Qe(e,t);break;case 2:n===d.DL||n===d.OL||n===d.UL?Ce(e,t):n===d.H1||n===d.H2||n===d.H3||n===d.H4||n===d.H5||n===d.H6?De(e,t):n===d.LI||n===d.DD||n===d.DT?Te(e,t):n===d.EM||n===d.TT?Ne(e,t):n===d.BR?Le(e,t):n===d.HR?je(e,t):n===d.RB?Ge(e,t):n===d.RT||n===d.RP?Ke(e,t):n!==d.TH&&n!==d.TD&&n!==d.TR&&Qe(e,t);break;case 3:n===d.DIV||n===d.DIR||n===d.NAV?Ce(e,t):n===d.PRE?Se(e,t):n===d.BIG?Ne(e,t):n===d.IMG||n===d.WBR?Le(e,t):n===d.XMP?qe(e,t):n===d.SVG?Ze(e,t):n===d.RTC?Ge(e,t):n!==d.COL&&Qe(e,t);break;case 4:n===d.HTML?_e(e,t):n===d.BASE||n===d.LINK||n===d.META?de(e,t):n===d.BODY?xe(e,t):n===d.MAIN?Ce(e,t):n===d.FORM?ke(e,t):n===d.CODE||n===d.FONT?Ne(e,t):n===d.NOBR?Ie(e,t):n===d.AREA?Le(e,t):n===d.MATH?Je(e,t):n===d.MENU?Ye(e,t):n!==d.HEAD&&Qe(e,t);break;case 5:n===d.STYLE||n===d.TITLE?de(e,t):n===d.ASIDE?Ce(e,t):n===d.SMALL?Ne(e,t):n===d.TABLE?Pe(e,t):n===d.EMBED?Le(e,t):n===d.INPUT?Re(e,t):n===d.PARAM||n===d.TRACK?Be(e,t):n===d.IMAGE?He(e,t):n!==d.FRAME&&n!==d.TBODY&&n!==d.TFOOT&&n!==d.THEAD&&Qe(e,t);break;case 6:n===d.SCRIPT?de(e,t):n===d.CENTER||n===d.FIGURE||n===d.FOOTER||n===d.HEADER||n===d.HGROUP?Ce(e,t):n===d.BUTTON?Me(e,t):n===d.STRIKE||n===d.STRONG?Ne(e,t):n===d.APPLET||n===d.OBJECT?Fe(e,t):n===d.KEYGEN?Le(e,t):n===d.SOURCE?Be(e,t):n===d.IFRAME?Ue(e,t):n===d.SELECT?Ve(e,t):n===d.OPTION?We(e,t):Qe(e,t);break;case 7:n===d.BGSOUND?de(e,t):n===d.DETAILS||n===d.ADDRESS||n===d.ARTICLE||n===d.SECTION||n===d.SUMMARY?Ce(e,t):n===d.LISTING?Se(e,t):n===d.MARQUEE?Fe(e,t):n===d.NOEMBED?ze(e,t):n!==d.CAPTION&&Qe(e,t);break;case 8:n===d.BASEFONT?de(e,t):n===d.MENUITEM?Xe(e,t):n===d.FRAMESET?Ee(e,t):n===d.FIELDSET?Ce(e,t):n===d.TEXTAREA?$e(e,t):n===d.TEMPLATE?de(e,t):n===d.NOSCRIPT?ze(e,t):n===d.OPTGROUP?We(e,t):n!==d.COLGROUP&&Qe(e,t);break;case 9:n===d.PLAINTEXT?Ae(e,t):Qe(e,t);break;case 10:n===d.BLOCKQUOTE||n===d.FIGCAPTION?Ce(e,t):Qe(e,t);break;default:Qe(e,t)}}function tt(e){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=R)}function nt(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=R,e._processToken(t))}function rt(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function it(e){var t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):e.openElements.remove(n))}function ot(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(d.P),e._closePElement()}function at(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function st(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function ut(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function lt(e,t){var n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function ct(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(d.BR),e.openElements.pop(),e.framesetOk=!1}function ht(e,t){for(var n=t.tagName,r=e.openElements.stackTop;r>0;r--){var i=e.openElements.items[r];if(e.treeAdapter.getTagName(i)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function ft(e,t){var n=t.tagName;switch(n.length){case 1:n===d.A||n===d.B||n===d.I||n===d.S||n===d.U?Z(e,t):n===d.P?ot(e,t):ht(e,t);break;case 2:n===d.DL||n===d.UL||n===d.OL?rt(e,t):n===d.LI?at(e,t):n===d.DD||n===d.DT?st(e,t):n===d.H1||n===d.H2||n===d.H3||n===d.H4||n===d.H5||n===d.H6?ut(e,t):n===d.BR?ct(e,t):n===d.EM||n===d.TT?Z(e,t):ht(e,t);break;case 3:n===d.BIG?Z(e,t):n===d.DIR||n===d.DIV||n===d.NAV?rt(e,t):ht(e,t);break;case 4:n===d.BODY?tt(e,t):n===d.HTML?nt(e,t):n===d.FORM?it(e,t):n===d.CODE||n===d.FONT||n===d.NOBR?Z(e,t):n===d.MAIN||n===d.MENU?rt(e,t):ht(e,t);break;case 5:n===d.ASIDE?rt(e,t):n===d.SMALL?Z(e,t):ht(e,t);break;case 6:n===d.CENTER||n===d.FIGURE||n===d.FOOTER||n===d.HEADER||n===d.HGROUP?rt(e,t):n===d.APPLET||n===d.OBJECT?lt(e,t):n===d.STRIKE||n===d.STRONG?Z(e,t):ht(e,t);break;case 7:n===d.ADDRESS||n===d.ARTICLE||n===d.DETAILS||n===d.SECTION||n===d.SUMMARY?rt(e,t):n===d.MARQUEE?lt(e,t):ht(e,t);break;case 8:n===d.FIELDSET?rt(e,t):n===d.TEMPLATE?pe(e,t):ht(e,t);break;case 10:n===d.BLOCKQUOTE||n===d.FIGCAPTION?rt(e,t):ht(e,t);break;default:ht(e,t)}}function dt(e,t){e.tmplInsertionModeStackTop>-1?Kt(e,t):e.stopped=!0}function pt(e,t){t.tagName===d.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function mt(e,t){e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function gt(e,t){var n=e.openElements.currentTagName;n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=T,e._processToken(t)):kt(e,t)}function vt(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,p.HTML),e.insertionMode=A}function yt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,p.HTML),e.insertionMode=M}function bt(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(d.COLGROUP),e.insertionMode=M,e._processToken(t)}function wt(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,p.HTML),e.insertionMode=O}function _t(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(d.TBODY),e.insertionMode=O,e._processToken(t)}function xt(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processToken(t))}function Et(e,t){var n=r.getTokenAttr(t,m.TYPE);n&&n.toLowerCase()===v?e._appendElement(t,p.HTML):kt(e,t)}function Ct(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,p.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Dt(e,t){var n=t.tagName;switch(n.length){case 2:n===d.TD||n===d.TH||n===d.TR?_t(e,t):kt(e,t);break;case 3:n===d.COL?bt(e,t):kt(e,t);break;case 4:n===d.FORM?Ct(e,t):kt(e,t);break;case 5:n===d.TABLE?xt(e,t):n===d.STYLE?de(e,t):n===d.TBODY||n===d.TFOOT||n===d.THEAD?wt(e,t):n===d.INPUT?Et(e,t):kt(e,t);break;case 6:n===d.SCRIPT?de(e,t):kt(e,t);break;case 7:n===d.CAPTION?vt(e,t):kt(e,t);break;case 8:n===d.COLGROUP?yt(e,t):n===d.TEMPLATE?de(e,t):kt(e,t);break;default:kt(e,t)}}function St(e,t){var n=t.tagName;n===d.TABLE?e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode()):n===d.TEMPLATE?pe(e,t):n!==d.BODY&&n!==d.CAPTION&&n!==d.COL&&n!==d.COLGROUP&&n!==d.HTML&&n!==d.TBODY&&n!==d.TD&&n!==d.TFOOT&&n!==d.TH&&n!==d.THEAD&&n!==d.TR&&kt(e,t)}function kt(e,t){var n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Tt(e,t){e.pendingCharacterTokens.push(t)}function At(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Mt(e,t){var n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Xt(e,t){t.tagName===d.HTML?et(e,t):Jt(e,t)}function Yt(e,t){t.tagName===d.HTML?e.fragmentContext||(e.insertionMode=H):Jt(e,t)}function Jt(e,t){e.insertionMode=D,e._processToken(t)}function Zt(e,t){var n=t.tagName;n===d.HTML?et(e,t):n===d.FRAMESET?e._insertElement(t,p.HTML):n===d.FRAME?e._appendElement(t,p.HTML):n===d.NOFRAMES&&de(e,t)}function Qt(e,t){t.tagName!==d.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===d.FRAMESET||(e.insertionMode=j))}function en(e,t){var n=t.tagName;n===d.HTML?et(e,t):n===d.NOFRAMES&&de(e,t)}function tn(e,t){t.tagName===d.HTML&&(e.insertionMode=$)}function nn(e,t){t.tagName===d.HTML?et(e,t):rn(e,t)}function rn(e,t){e.insertionMode=D,e._processToken(t)}function on(e,t){var n=t.tagName;n===d.HTML?et(e,t):n===d.NOFRAMES&&de(e,t)}function an(e,t){t.chars=h.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function sn(e,t){e._insertCharacters(t),e.framesetOk=!1}function un(e,t){if(c.causesExit(t)&&!e.fragmentContext){while(e.treeAdapter.getNamespaceURI(e.openElements.current)!==p.HTML&&!e._isIntegrationPoint(e.openElements.current))e.openElements.pop();e._processToken(t)}else{var n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===p.MATHML?c.adjustTokenMathMLAttrs(t):r===p.SVG&&(c.adjustTokenSVGTagName(t),c.adjustTokenSVGAttrs(t)),c.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r)}}function ln(e,t){for(var n=e.openElements.stackTop;n>0;n--){var r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===p.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}V.prototype.parse=function(e){var t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t},V.prototype.parseFragment=function(e,t){t||(t=this.treeAdapter.createElement(d.TEMPLATE,p.HTML,[]));var n=this.treeAdapter.createElement("documentmock",p.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===d.TEMPLATE&&this._pushTmplInsertionMode(L),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);var r=this.treeAdapter.getFirstChild(n),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,i),i},V.prototype._bootstrap=function(e,t){this.tokenizer=new r(this.options),this.stopped=!1,this.insertionMode=w,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new i(this.document,this.treeAdapter),this.activeFormattingElements=new o(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1},V.prototype._runParsingLoop=function(e){while(!this.stopped){this._setupTokenizerCDATAMode();var t=this.tokenizer.getNextToken();if(t.type===r.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===r.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}},V.prototype.runParsingLoopForCurrentChunk=function(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){var n=this.pendingScript;return this.pendingScript=null,void t(n)}e&&e()},V.prototype._setupTokenizerCDATAMode=function(){var e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==p.HTML&&!this._isIntegrationPoint(e)},V.prototype._switchToTextParsing=function(e,t){this._insertElement(e,p.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=S},V.prototype.switchToPlaintextParsing=function(){this.insertionMode=S,this.originalInsertionMode=D,this.tokenizer.state=r.MODE.PLAINTEXT},V.prototype._getAdjustedCurrentElement=function(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current},V.prototype._findFormInFragmentContext=function(){var e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===d.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)},V.prototype._initTokenizerForFragmentParsing=function(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===p.HTML){var e=this.treeAdapter.getTagName(this.fragmentContext);e===d.TITLE||e===d.TEXTAREA?this.tokenizer.state=r.MODE.RCDATA:e===d.STYLE||e===d.XMP||e===d.IFRAME||e===d.NOEMBED||e===d.NOFRAMES||e===d.NOSCRIPT?this.tokenizer.state=r.MODE.RAWTEXT:e===d.SCRIPT?this.tokenizer.state=r.MODE.SCRIPT_DATA:e===d.PLAINTEXT&&(this.tokenizer.state=r.MODE.PLAINTEXT)}},V.prototype._setDocumentType=function(e){this.treeAdapter.setDocumentType(this.document,e.name,e.publicId,e.systemId)},V.prototype._attachElementToTree=function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}},V.prototype._appendElement=function(e,t){var n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)},V.prototype._insertElement=function(e,t){var n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)},V.prototype._insertFakeElement=function(e){var t=this.treeAdapter.createElement(e,p.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)},V.prototype._insertTemplate=function(e){var t=this.treeAdapter.createElement(e.tagName,p.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)},V.prototype._insertFakeRootElement=function(){var e=this.treeAdapter.createElement(d.HTML,p.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)},V.prototype._appendCommentNode=function(e,t){var n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)},V.prototype._insertCharacters=function(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{var t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}},V.prototype._adoptNodes=function(e,t){while(1){var n=this.treeAdapter.getFirstChild(e);if(!n)break;this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}},V.prototype._shouldProcessTokenInForeignContent=function(e){var t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;var n=this.treeAdapter.getNamespaceURI(t);if(n===p.HTML)return!1;if(this.treeAdapter.getTagName(t)===d.ANNOTATION_XML&&n===p.MATHML&&e.type===r.START_TAG_TOKEN&&e.tagName===d.SVG)return!1;var i=e.type===r.CHARACTER_TOKEN||e.type===r.NULL_CHARACTER_TOKEN||e.type===r.WHITESPACE_CHARACTER_TOKEN,o=e.type===r.START_TAG_TOKEN&&e.tagName!==d.MGLYPH&&e.tagName!==d.MALIGNMARK;return(!o&&!i||!this._isIntegrationPoint(t,p.MATHML))&&((e.type!==r.START_TAG_TOKEN&&!i||!this._isIntegrationPoint(t,p.HTML))&&e.type!==r.EOF_TOKEN)},V.prototype._processToken=function(e){z[this.insertionMode][e.type](this,e)},V.prototype._processTokenInBodyMode=function(e){z[D][e.type](this,e)},V.prototype._processTokenInForeignContent=function(e){e.type===r.CHARACTER_TOKEN?sn(this,e):e.type===r.NULL_CHARACTER_TOKEN?an(this,e):e.type===r.WHITESPACE_CHARACTER_TOKEN?re(this,e):e.type===r.COMMENT_TOKEN?ee(this,e):e.type===r.START_TAG_TOKEN?un(this,e):e.type===r.END_TAG_TOKEN&&ln(this,e)},V.prototype._processInputToken=function(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e)},V.prototype._isIntegrationPoint=function(e,t){var n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),i=this.treeAdapter.getAttrList(e);return c.isIntegrationPoint(n,r,i,t)},V.prototype._reconstructActiveFormattingElements=function(){var e=this.activeFormattingElements.length;if(e){var t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===o.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(var r=t;r=0;e--){var n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));var r=this.treeAdapter.getTagName(n),i=q[r];if(i){this.insertionMode=i;break}if(!(t||r!==d.TD&&r!==d.TH)){this.insertionMode=I;break}if(!t&&r===d.HEAD){this.insertionMode=E;break}if(r===d.SELECT){this._resetInsertionModeForSelect(e);break}if(r===d.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===d.HTML){this.insertionMode=this.headElement?C:x;break}if(t){this.insertionMode=D;break}}},V.prototype._resetInsertionModeForSelect=function(e){if(e>0)for(var t=e-1;t>0;t--){var n=this.openElements.items[t],r=this.treeAdapter.getTagName(n);if(r===d.TEMPLATE)break;if(r===d.TABLE)return void(this.insertionMode=P)}this.insertionMode=F},V.prototype._pushTmplInsertionMode=function(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e},V.prototype._popTmplInsertionMode=function(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]},V.prototype._isElementCausesFosterParenting=function(e){var t=this.treeAdapter.getTagName(e);return t===d.TABLE||t===d.TBODY||t===d.TFOOT||t===d.THEAD||t===d.TR},V.prototype._shouldFosterParentOnInsertion=function(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)},V.prototype._findFosterParentingLocation=function(){for(var e={parent:null,beforeElement:null},t=this.openElements.stackTop;t>=0;t--){var n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),i=this.treeAdapter.getNamespaceURI(n);if(r===d.TEMPLATE&&i===p.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===d.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e},V.prototype._fosterParentElement=function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)},V.prototype._fosterParentText=function(e){var t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)},V.prototype._isSpecialElement=function(e){var t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return f.SPECIAL_ELEMENTS[n][t]}},4356:function(e,t,n){var r=n("4d3e"),i=r&&new r;e.exports=i},4362:function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("df7c")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"43aa":function(e,t,n){var r=n("cb57e"),i=n("2015");e.exports=function(e){return i(r(e))},e.exports.parse=r,e.exports.compile=i},"44a3":function(e,t,n){"use strict";var r=n("80af"),i=n("f3a3"),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function u(e,t){this.eddsa=e,"object"!==typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(u,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(u,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(u,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(u,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),u.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},u.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=u},"44ad":function(e,t,n){var r=n("d039"),i=n("c6b6"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},"44d1":function(e,t,n){"use strict";var r=n("4ed0"),i=n("eb6a"),o=n("d9b2");t.Selector=i,t.Property=o, /** * Returns an array of the selectors. * * @license Sizzle CSS Selector Engine - MIT * @param {String} selectorText from mensch * @api public */ t.extract=function(e){for(var t=0,n=[],r="",i=0,o=e.length;i=0;s--)(t.fontFaces&&"font-face"===o[s].type||t.mediaQueries&&"media"===o[s].type||t.keyFrames&&"keyframes"===o[s].type||t.pseudos&&o[s].selectors&&this.matchesPseudo(o[s].selectors[0],n))&&a.unshift(r.stringify({stylesheet:{rules:[o[s]]}},{comments:!1,indentation:" "})),o[s].position.start;return 0!==a.length&&"\n"+a.join("\n")+"\n"},t.normalizeLineEndings=function(e){return e.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n")},t.matchesPseudo=function(e,t){return t.find((function(t){return e.indexOf(t)>-1}))},t.compareFunc=function(e,t){for(var n=Math.min(e.length,t.length),r=0;rt[r]?1:-1;return e.length-t.length},t.compare=function(e,n){return 1==t.compareFunc(e,n)?e:n},t.getDefaultOptions=function(e){var t=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},e);return t.webResources=t.webResources||{},t}},"44d2":function(e,t,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),i=n("c6b6"),o=n("b622"),a=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},4550:function(e,t,n){var r=n("7543"),i=n("0577"),o=n("c029"),a=n("f4d2"),s=n("6b9e");function u(e,t){var n=a(e)?r:i;return n(e,s(o(t,3)))}e.exports=u},"466b":function(e,t,n){"use strict";var r=n("33b7"),i=n("492c"),o=i((function(e,t){return r(e,{xmlMode:t&&t.xmlMode},a,[t])})),a=function(e,t){return o.juiceDocument(e,t)};o.inlineContent=function(e,t,n){return r(e,{xmlMode:n&&n.xmlMode},o.inlineDocument,[t,n])},e.exports=o},"467f":function(e,t,n){"use strict";var r=n("2d83");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},4681:function(e,t,n){"use strict";var r=n("966d");function i(e,t){var n=this,i=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return i||o?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(a,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(a,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(e,t){e.emit("error",t)}e.exports={destroy:i,undestroy:o}},4726:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=59)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var u,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(u=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__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(e,t){return u.call(t),c(e,t)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,u):[u]}return{exports:e,options:l}}n.d(t,"a",(function(){return r}))},14:function(e,t){e.exports=n("14e9")},18:function(e,t){e.exports=n("dcdc")},21:function(e,t){e.exports=n("d397")},26:function(e,t){e.exports=n("92fa")},3:function(e,t){e.exports=n("8122")},31:function(e,t){e.exports=n("2a5e")},32:function(e,t){e.exports=n("e452")},51:function(e,t){e.exports=n("f494")},59:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},i=[];r._withStripped=!0;var o,a,s=n(26),u=n.n(s),l=n(14),c=n.n(l),h=n(18),f=n.n(h),d=n(51),p=n.n(d),m=n(3),g=function(e){return e.stopPropagation()},v={inject:["panel"],components:{ElCheckbox:f.a,ElRadio:p.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,r=this.isDisabled,i=this.config,o=i.multiple,a=i.checkStrictly;!a&&r||n.loading||(i.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var r=!!t&&n.checked;e.handleMultiCheckChange(r)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,r=this.config,i=r.checkStrictly,o=r.multiple;return o?this.renderCheckbox(e):i?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,r=this.isDisabled,i={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(i.nativeOn.click=g),e("el-checkbox",u()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:r}},i]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,r=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:r},on:{change:this.handleCheckChange},nativeOn:{click:g}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,r=t.renderLabelFn,i=r?r({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[i||n.label])}},render:function(e){var t=this,n=this.inActivePath,r=this.inCheckedPath,i=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,l=this.nodeId,c=s.expandTrigger,h=s.checkStrictly,f=s.multiple,d=!h&&a,p={on:{}};return"click"===c?p.on.click=this.handleExpand:(p.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},p.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||h||f||(p.on.click=this.handleCheckChange),e("li",u()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:d?null:-1},class:{"el-cascader-node":!0,"is-selectable":h,"in-active-path":n,"in-checked-path":r,"is-active":i,"is-disabled":d}},p]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},y=v,b=n(0),w=Object(b["a"])(y,o,a,!1,null,null,null);w.options.__file="packages/cascader-panel/src/cascader-node.vue";var _,x,E=w.exports,C=n(6),D=n.n(C),S={name:"ElCascaderMenu",mixins:[D.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:E},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,r=this.$refs.hoverZone;if(t&&r)if(t.contains(e.target)){clearTimeout(n);var i=this.$el.getBoundingClientRect(),o=i.left,a=e.clientX-o,s=this.$el,u=s.offsetWidth,l=s.offsetHeight,c=t.offsetTop,h=c+t.offsetHeight;r.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,r={on:{}};n&&(r.on.expand=this.handleExpand);var i=this.nodes.map((function(n,i){var o=n.hasChildren;return e("cascader-node",u()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+i,"aria-haspopup":o,"aria-owns":o?t:null}},r]))}));return[].concat(i,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,r={nativeOn:{}};return this.panel.isHoverMenu&&(r.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",u()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},r]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},k=S,T=Object(b["a"])(k,_,x,!1,null,null,null);T.options.__file="packages/cascader-panel/src/cascader-menu.vue";var A=T.exports,M=n(21),O=function(){function e(e,t){for(var n=0;n1?t-1:0),r=1;r1?r-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},O(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,r=n.disabled,i=n.checkStrictly;return e[r]||!i&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,r=this.children,i=this.config,o=i.lazy,a=i.leaf;if(o){var s=Object(M["isDef"])(e[a])?e[a]:!!t&&!r.length;return this.hasChildren=!s,s}return!n}}]),e}(),P=F;function L(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var R=function e(t,n){return t.reduce((function(t,r){return r.isLeaf?t.push(r):(!n&&t.push(r),t=t.concat(e(r.children,n))),t}),[])},B=function(){function e(t,n){L(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new P(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new P(e,this.config,t),r=t?t.children:this.nodes;r.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:R(this.nodes,e)},e.prototype.getNodeByValue=function(e){if(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null}return null},e}(),j=B,H=n(9),$=n.n(H),q=n(32),U=n.n(q),z=n(31),V=n.n(z),W=Object.assign||function(e){for(var t=1;t0){var u=n.store.getNodeByValue(o);u.data[s]||n.lazyLoad(u,(function(){n.handleExpand(u)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(r)};r.lazyLoad(e,i)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),r=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");V()(n,r)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var r=this.getFlattedNodes(e);return r.filter((function(e){return e.checked}))}return Object(m["isEmpty"])(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,r=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=r?[]:null}}},te=ee,ne=Object(b["a"])(te,r,i,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var re=ne.exports;re.install=function(e){e.component(re.name,re)};t["default"]=re},6:function(e,t){e.exports=n("6b7c")},9:function(e,t){e.exports=n("7f4d")}})},4776:function(e,t){function n(e,t){return e.has(t)}e.exports=n},4840:function(e,t,n){var r=n("825a"),i=n("1c0b"),o=n("b622"),a=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[a])?t:i(n)}},4897:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=n("f0d9"),i=h(r),o=n("2b0e"),a=h(o),s=n("3c4e"),u=h(s),l=n("9d7e"),c=h(l);function h(e){return e&&e.__esModule?e:{default:e}}var f=(0,c.default)(a.default),d=i.default,p=!1,m=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return p||(p=!0,a.default.locale(a.default.config.lang,(0,u.default)(d,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),i=d,o=0,a=r.length;o=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-s&67108863,s+=24,s>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<>>26-o&4194303,o+=24,o>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,c=n;c1&&0===this.words[this.length-1])this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,u=a/67108864|0;n.words[0]=s;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,t.length-1),d=Math.max(0,l-e.length+1);d<=f;d++){var p=l-d|0;i=0|e.words[p],o=0|t.words[d],a=i*o+h,c+=a/67108864|0,h=67108863&a}n.words[l]=0|h,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(e=e||10,t=0|t||1,16===e||"hex"===e){n="";for(var i=0,o=0,a=0;a>>24-i&16777215,n=0!==o||a!==this.length-1?l[6-u.length]+u+n:u+n,i+=2,i>=26&&(i-=26,a--)}0!==o&&(n=o.toString(16)+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var f=c[e],d=h[e];n="";var p=this.clone();p.negative=0;while(!p.isZero()){var m=p.modn(d).toString(e);p=p.idivn(d),n=p.isZero()?m+n:l[f-m.length]+m+n}this.isZero()&&(n="0"+n);while(n.length%t!==0)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r("undefined"!==typeof a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,u="le"===t,l=new e(o),c=this.clone();if(u){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),l[s]=a;for(;s=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0===(8191&t)&&(n+=13,t>>>=13),0===(127&t)&&(n+=7,t>>>=7),0===(15&t)&&(n+=4,t>>>=4),0===(3&t)&&(n+=2,t>>>=2),0===(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"===typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a>26,this.words[a]=67108863&t;for(;0!==o&&a>26,this.words[a]=67108863&t;if(0===o&&a>>13,d=0|a[1],p=8191&d,m=d>>>13,g=0|a[2],v=8191&g,y=g>>>13,b=0|a[3],w=8191&b,_=b>>>13,x=0|a[4],E=8191&x,C=x>>>13,D=0|a[5],S=8191&D,k=D>>>13,T=0|a[6],A=8191&T,M=T>>>13,O=0|a[7],N=8191&O,I=O>>>13,F=0|a[8],P=8191&F,L=F>>>13,R=0|a[9],B=8191&R,j=R>>>13,H=0|s[0],$=8191&H,q=H>>>13,U=0|s[1],z=8191&U,V=U>>>13,W=0|s[2],G=8191&W,K=W>>>13,X=0|s[3],Y=8191&X,J=X>>>13,Z=0|s[4],Q=8191&Z,ee=Z>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ue=8191&se,le=se>>>13,ce=0|s[8],he=8191&ce,fe=ce>>>13,de=0|s[9],pe=8191&de,me=de>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(h,$),i=Math.imul(h,q),i=i+Math.imul(f,$)|0,o=Math.imul(f,q);var ge=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,$),i=Math.imul(p,q),i=i+Math.imul(m,$)|0,o=Math.imul(m,q),r=r+Math.imul(h,z)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(f,z)|0,o=o+Math.imul(f,V)|0;var ve=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,$),i=Math.imul(v,q),i=i+Math.imul(y,$)|0,o=Math.imul(y,q),r=r+Math.imul(p,z)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,z)|0,o=o+Math.imul(m,V)|0,r=r+Math.imul(h,G)|0,i=i+Math.imul(h,K)|0,i=i+Math.imul(f,G)|0,o=o+Math.imul(f,K)|0;var ye=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(w,$),i=Math.imul(w,q),i=i+Math.imul(_,$)|0,o=Math.imul(_,q),r=r+Math.imul(v,z)|0,i=i+Math.imul(v,V)|0,i=i+Math.imul(y,z)|0,o=o+Math.imul(y,V)|0,r=r+Math.imul(p,G)|0,i=i+Math.imul(p,K)|0,i=i+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0,r=r+Math.imul(h,Y)|0,i=i+Math.imul(h,J)|0,i=i+Math.imul(f,Y)|0,o=o+Math.imul(f,J)|0;var be=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(E,$),i=Math.imul(E,q),i=i+Math.imul(C,$)|0,o=Math.imul(C,q),r=r+Math.imul(w,z)|0,i=i+Math.imul(w,V)|0,i=i+Math.imul(_,z)|0,o=o+Math.imul(_,V)|0,r=r+Math.imul(v,G)|0,i=i+Math.imul(v,K)|0,i=i+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,r=r+Math.imul(p,Y)|0,i=i+Math.imul(p,J)|0,i=i+Math.imul(m,Y)|0,o=o+Math.imul(m,J)|0,r=r+Math.imul(h,Q)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(f,Q)|0,o=o+Math.imul(f,ee)|0;var we=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(S,$),i=Math.imul(S,q),i=i+Math.imul(k,$)|0,o=Math.imul(k,q),r=r+Math.imul(E,z)|0,i=i+Math.imul(E,V)|0,i=i+Math.imul(C,z)|0,o=o+Math.imul(C,V)|0,r=r+Math.imul(w,G)|0,i=i+Math.imul(w,K)|0,i=i+Math.imul(_,G)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(v,Y)|0,i=i+Math.imul(v,J)|0,i=i+Math.imul(y,Y)|0,o=o+Math.imul(y,J)|0,r=r+Math.imul(p,Q)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(f,ne)|0,o=o+Math.imul(f,re)|0;var _e=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(A,$),i=Math.imul(A,q),i=i+Math.imul(M,$)|0,o=Math.imul(M,q),r=r+Math.imul(S,z)|0,i=i+Math.imul(S,V)|0,i=i+Math.imul(k,z)|0,o=o+Math.imul(k,V)|0,r=r+Math.imul(E,G)|0,i=i+Math.imul(E,K)|0,i=i+Math.imul(C,G)|0,o=o+Math.imul(C,K)|0,r=r+Math.imul(w,Y)|0,i=i+Math.imul(w,J)|0,i=i+Math.imul(_,Y)|0,o=o+Math.imul(_,J)|0,r=r+Math.imul(v,Q)|0,i=i+Math.imul(v,ee)|0,i=i+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0,r=r+Math.imul(h,oe)|0,i=i+Math.imul(h,ae)|0,i=i+Math.imul(f,oe)|0,o=o+Math.imul(f,ae)|0;var xe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(N,$),i=Math.imul(N,q),i=i+Math.imul(I,$)|0,o=Math.imul(I,q),r=r+Math.imul(A,z)|0,i=i+Math.imul(A,V)|0,i=i+Math.imul(M,z)|0,o=o+Math.imul(M,V)|0,r=r+Math.imul(S,G)|0,i=i+Math.imul(S,K)|0,i=i+Math.imul(k,G)|0,o=o+Math.imul(k,K)|0,r=r+Math.imul(E,Y)|0,i=i+Math.imul(E,J)|0,i=i+Math.imul(C,Y)|0,o=o+Math.imul(C,J)|0,r=r+Math.imul(w,Q)|0,i=i+Math.imul(w,ee)|0,i=i+Math.imul(_,Q)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(v,ne)|0,i=i+Math.imul(v,re)|0,i=i+Math.imul(y,ne)|0,o=o+Math.imul(y,re)|0,r=r+Math.imul(p,oe)|0,i=i+Math.imul(p,ae)|0,i=i+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0,r=r+Math.imul(h,ue)|0,i=i+Math.imul(h,le)|0,i=i+Math.imul(f,ue)|0,o=o+Math.imul(f,le)|0;var Ee=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(P,$),i=Math.imul(P,q),i=i+Math.imul(L,$)|0,o=Math.imul(L,q),r=r+Math.imul(N,z)|0,i=i+Math.imul(N,V)|0,i=i+Math.imul(I,z)|0,o=o+Math.imul(I,V)|0,r=r+Math.imul(A,G)|0,i=i+Math.imul(A,K)|0,i=i+Math.imul(M,G)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(S,Y)|0,i=i+Math.imul(S,J)|0,i=i+Math.imul(k,Y)|0,o=o+Math.imul(k,J)|0,r=r+Math.imul(E,Q)|0,i=i+Math.imul(E,ee)|0,i=i+Math.imul(C,Q)|0,o=o+Math.imul(C,ee)|0,r=r+Math.imul(w,ne)|0,i=i+Math.imul(w,re)|0,i=i+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(v,oe)|0,i=i+Math.imul(v,ae)|0,i=i+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,r=r+Math.imul(p,ue)|0,i=i+Math.imul(p,le)|0,i=i+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0,r=r+Math.imul(h,he)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(f,he)|0,o=o+Math.imul(f,fe)|0;var Ce=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,$),i=Math.imul(B,q),i=i+Math.imul(j,$)|0,o=Math.imul(j,q),r=r+Math.imul(P,z)|0,i=i+Math.imul(P,V)|0,i=i+Math.imul(L,z)|0,o=o+Math.imul(L,V)|0,r=r+Math.imul(N,G)|0,i=i+Math.imul(N,K)|0,i=i+Math.imul(I,G)|0,o=o+Math.imul(I,K)|0,r=r+Math.imul(A,Y)|0,i=i+Math.imul(A,J)|0,i=i+Math.imul(M,Y)|0,o=o+Math.imul(M,J)|0,r=r+Math.imul(S,Q)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(E,ne)|0,i=i+Math.imul(E,re)|0,i=i+Math.imul(C,ne)|0,o=o+Math.imul(C,re)|0,r=r+Math.imul(w,oe)|0,i=i+Math.imul(w,ae)|0,i=i+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,r=r+Math.imul(v,ue)|0,i=i+Math.imul(v,le)|0,i=i+Math.imul(y,ue)|0,o=o+Math.imul(y,le)|0,r=r+Math.imul(p,he)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,he)|0,o=o+Math.imul(m,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(f,pe)|0,o=o+Math.imul(f,me)|0;var De=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(B,z),i=Math.imul(B,V),i=i+Math.imul(j,z)|0,o=Math.imul(j,V),r=r+Math.imul(P,G)|0,i=i+Math.imul(P,K)|0,i=i+Math.imul(L,G)|0,o=o+Math.imul(L,K)|0,r=r+Math.imul(N,Y)|0,i=i+Math.imul(N,J)|0,i=i+Math.imul(I,Y)|0,o=o+Math.imul(I,J)|0,r=r+Math.imul(A,Q)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(M,Q)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(S,ne)|0,i=i+Math.imul(S,re)|0,i=i+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(E,oe)|0,i=i+Math.imul(E,ae)|0,i=i+Math.imul(C,oe)|0,o=o+Math.imul(C,ae)|0,r=r+Math.imul(w,ue)|0,i=i+Math.imul(w,le)|0,i=i+Math.imul(_,ue)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(v,he)|0,i=i+Math.imul(v,fe)|0,i=i+Math.imul(y,he)|0,o=o+Math.imul(y,fe)|0,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,o=o+Math.imul(m,me)|0;var Se=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(B,G),i=Math.imul(B,K),i=i+Math.imul(j,G)|0,o=Math.imul(j,K),r=r+Math.imul(P,Y)|0,i=i+Math.imul(P,J)|0,i=i+Math.imul(L,Y)|0,o=o+Math.imul(L,J)|0,r=r+Math.imul(N,Q)|0,i=i+Math.imul(N,ee)|0,i=i+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0,i=i+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(S,oe)|0,i=i+Math.imul(S,ae)|0,i=i+Math.imul(k,oe)|0,o=o+Math.imul(k,ae)|0,r=r+Math.imul(E,ue)|0,i=i+Math.imul(E,le)|0,i=i+Math.imul(C,ue)|0,o=o+Math.imul(C,le)|0,r=r+Math.imul(w,he)|0,i=i+Math.imul(w,fe)|0,i=i+Math.imul(_,he)|0,o=o+Math.imul(_,fe)|0,r=r+Math.imul(v,pe)|0,i=i+Math.imul(v,me)|0,i=i+Math.imul(y,pe)|0,o=o+Math.imul(y,me)|0;var ke=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(B,Y),i=Math.imul(B,J),i=i+Math.imul(j,Y)|0,o=Math.imul(j,J),r=r+Math.imul(P,Q)|0,i=i+Math.imul(P,ee)|0,i=i+Math.imul(L,Q)|0,o=o+Math.imul(L,ee)|0,r=r+Math.imul(N,ne)|0,i=i+Math.imul(N,re)|0,i=i+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(A,oe)|0,i=i+Math.imul(A,ae)|0,i=i+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(S,ue)|0,i=i+Math.imul(S,le)|0,i=i+Math.imul(k,ue)|0,o=o+Math.imul(k,le)|0,r=r+Math.imul(E,he)|0,i=i+Math.imul(E,fe)|0,i=i+Math.imul(C,he)|0,o=o+Math.imul(C,fe)|0,r=r+Math.imul(w,pe)|0,i=i+Math.imul(w,me)|0,i=i+Math.imul(_,pe)|0,o=o+Math.imul(_,me)|0;var Te=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,Q),i=Math.imul(B,ee),i=i+Math.imul(j,Q)|0,o=Math.imul(j,ee),r=r+Math.imul(P,ne)|0,i=i+Math.imul(P,re)|0,i=i+Math.imul(L,ne)|0,o=o+Math.imul(L,re)|0,r=r+Math.imul(N,oe)|0,i=i+Math.imul(N,ae)|0,i=i+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(A,ue)|0,i=i+Math.imul(A,le)|0,i=i+Math.imul(M,ue)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(S,he)|0,i=i+Math.imul(S,fe)|0,i=i+Math.imul(k,he)|0,o=o+Math.imul(k,fe)|0,r=r+Math.imul(E,pe)|0,i=i+Math.imul(E,me)|0,i=i+Math.imul(C,pe)|0,o=o+Math.imul(C,me)|0;var Ae=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,o=Math.imul(j,re),r=r+Math.imul(P,oe)|0,i=i+Math.imul(P,ae)|0,i=i+Math.imul(L,oe)|0,o=o+Math.imul(L,ae)|0,r=r+Math.imul(N,ue)|0,i=i+Math.imul(N,le)|0,i=i+Math.imul(I,ue)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(A,he)|0,i=i+Math.imul(A,fe)|0,i=i+Math.imul(M,he)|0,o=o+Math.imul(M,fe)|0,r=r+Math.imul(S,pe)|0,i=i+Math.imul(S,me)|0,i=i+Math.imul(k,pe)|0,o=o+Math.imul(k,me)|0;var Me=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(B,oe),i=Math.imul(B,ae),i=i+Math.imul(j,oe)|0,o=Math.imul(j,ae),r=r+Math.imul(P,ue)|0,i=i+Math.imul(P,le)|0,i=i+Math.imul(L,ue)|0,o=o+Math.imul(L,le)|0,r=r+Math.imul(N,he)|0,i=i+Math.imul(N,fe)|0,i=i+Math.imul(I,he)|0,o=o+Math.imul(I,fe)|0,r=r+Math.imul(A,pe)|0,i=i+Math.imul(A,me)|0,i=i+Math.imul(M,pe)|0,o=o+Math.imul(M,me)|0;var Oe=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,ue),i=Math.imul(B,le),i=i+Math.imul(j,ue)|0,o=Math.imul(j,le),r=r+Math.imul(P,he)|0,i=i+Math.imul(P,fe)|0,i=i+Math.imul(L,he)|0,o=o+Math.imul(L,fe)|0,r=r+Math.imul(N,pe)|0,i=i+Math.imul(N,me)|0,i=i+Math.imul(I,pe)|0,o=o+Math.imul(I,me)|0;var Ne=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,he),i=Math.imul(B,fe),i=i+Math.imul(j,he)|0,o=Math.imul(j,fe),r=r+Math.imul(P,pe)|0,i=i+Math.imul(P,me)|0,i=i+Math.imul(L,pe)|0,o=o+Math.imul(L,me)|0;var Ie=(l+r|0)+((8191&i)<<13)|0;l=(o+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,o=Math.imul(j,me);var Fe=(l+r|0)+((8191&i)<<13)|0;return l=(o+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,u[0]=ge,u[1]=ve,u[2]=ye,u[3]=be,u[4]=we,u[5]=_e,u[6]=xe,u[7]=Ee,u[8]=Ce,u[9]=De,u[10]=Se,u[11]=ke,u[12]=Te,u[13]=Ae,u[14]=Me,u[15]=Oe,u[16]=Ne,u[17]=Ie,u[18]=Fe,0!==l&&(u[19]=l,n.length++),n};function m(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0,i+=a>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}function g(e,t,n){var r=new v;return r.mulp(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(p=d),o.prototype.mulTo=function(e,t){var n,r=this.length+e.length;return n=10===this.length&&10===e.length?p(this,e,t):r<63?d(this,e,t):r<1024?m(this,e,t):g(this,e,t),n},v.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},v.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a>>=1)i++;return 1<>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=f(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<a)for(this.length-=a,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&s}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"===typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"===typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=this.length-e.length,r=this.clone(),i=e,a=0|i.words[i.length-1],s=this._countBits(a);n=26-s,0!==n&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var u,l=r.length-i.length;if("mod"!==t){u=new o(null),u.length=l+1,u.words=new Array(u.length);for(var c=0;c=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,f);while(0!==r.negative)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);u&&(u.words[f]=d)}return u&&u.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:u||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i=new o(1),a=new o(0),s=new o(0),u=new o(1),l=0;while(t.isEven()&&n.isEven())t.iushrn(1),n.iushrn(1),++l;var c=n.clone(),h=t.clone();while(!t.isZero()){for(var f=0,d=1;0===(t.words[0]&d)&&f<26;++f,d<<=1);if(f>0){t.iushrn(f);while(f-- >0)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(h)),i.iushrn(1),a.iushrn(1)}for(var p=0,m=1;0===(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0){n.iushrn(p);while(p-- >0)(s.isOdd()||u.isOdd())&&(s.iadd(c),u.isub(h)),s.iushrn(1),u.iushrn(1)}t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(u)):(n.isub(t),s.isub(i),u.isub(a))}return{a:s,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();var i,a=new o(1),s=new o(0),u=n.clone();while(t.cmpn(1)>0&&n.cmpn(1)>0){for(var l=0,c=1;0===(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0){t.iushrn(l);while(l-- >0)a.isOdd()&&a.iadd(u),a.iushrn(1)}for(var h=0,f=1;0===(n.words[0]&f)&&h<26;++h,f<<=1);if(h>0){n.iushrn(h);while(h-- >0)s.isOdd()&&s.iadd(u),s.iushrn(1)}t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return i=0===t.cmpn(1)?a:s,i.cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);do{while(t.isEven())t.iushrn(1);while(n.isEven())n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}while(1);return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0===(1&this.words[0])},o.prototype.isOdd=function(){return 1===(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"===typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new C(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function b(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){b.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){b.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){b.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){b.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(e){if("string"===typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function D(e){C.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}b.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},b.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},b.prototype.split=function(e,t){e.iushrn(this.n,0,t)},b.prototype.imulK=function(e){return e.imul(this.k)},i(w,b),w.prototype.split=function(e,t){for(var n=4194303,r=Math.min(e.length,9),i=0;i>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new w;else if("p224"===e)t=new _;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new E}return y[e]=t,t},C.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},C.prototype._verify2=function(e,t){r(0===(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},C.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},C.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},C.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},C.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},C.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},C.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},C.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},C.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},C.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},C.prototype.isqr=function(e){return this.imul(e,e.clone())},C.prototype.sqr=function(e){return this.mul(e,e)},C.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2===1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}var i=this.m.subn(1),a=0;while(!i.isZero()&&0===i.andln(1))a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),u=s.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();c=new o(2*c*c).toRed(this);while(0!==this.pow(c,l).cmp(u))c.redIAdd(u);var h=this.pow(c,i),f=this.pow(e,i.addn(1).iushrn(1)),d=this.pow(e,i),p=a;while(0!==d.cmp(s)){for(var m=d,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;i--){for(var c=t.words[i],h=l-1;h>=0;h--){var f=c>>h&1;a!==r[0]&&(a=this.sqr(a)),0!==f||0!==s?(s<<=1,s|=f,u++,(u===n||0===i&&0===h)&&(a=this.mul(a,r[s]),u=0,s=0)):u=0}l=26}return a},C.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},C.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new D(e)},i(D,C),D.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},D.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},D.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},D.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},D.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}})(e,this)}).call(this,n("62e4")(e))},"492c":function(e,t,n){"use strict";var r=n("44d1");e.exports=function(e){function t(t,o,s){s=s||{};var u=r.parseCSS(o),l=[],c="style";if(s.styleAttributeName&&(c=s.styleAttributeName),u.forEach(d),l.forEach(p),s.inlinePseudoElements&&l.forEach(m),s.applyWidthAttributes&&l.forEach((function(e){g(e,"width")})),s.applyHeightAttributes&&l.forEach((function(e){g(e,"height")})),s.applyAttributesTableElements&&l.forEach(y),s.insertPreservedExtraCss&&s.extraCss){var h=r.getPreservedText(s.extraCss,{mediaQueries:s.preserveMediaQueries,fontFaces:s.preserveFontFaces,keyFrames:s.preserveKeyFrames});if(h){var f=null;!0!==s.insertPreservedExtraCss?f=t(s.insertPreservedExtraCss):(f=t("head"),f.length||(f=t("body")),f.length||(f=t.root())),f.first().append("")}}function d(n){var o=n[0],u=n[1],h=new r.Selector(o),f=h.parsed();if(f){for(var d,p=i(f),m=0;m=0)return}}if(p){var b=f[f.length-1],w=b.pseudos;b.pseudos=a(b.pseudos),o=f.toString(),b.pseudos=w}try{d=t(o)}catch(_){return}d.each((function(){var n=this;if(!(n.name&&e.nonVisualElements.indexOf(n.name.toUpperCase())>=0)){if(p){var i="pseudo"+p,o=n[i];o||(o=n[i]=t("").get(0),o.pseudoElementType=p,o.pseudoElementParent=n,n[i]=o),n=o}if(!n.styleProps){if(n.styleProps={},t(n).attr(c)){var a="* { "+t(n).attr(c)+" } ";f(r.parseCSS(a)[0][1],new r.Selector("