UNPKG

389 kBJavaScriptView Raw
1/*
2 @license
3 Rollup.js v1.9.2
4 Wed, 10 Apr 2019 06:30:34 GMT - commit 479bf73377fbdae7dd666c56370255ad94c6b11e
5
6
7 https://github.com/rollup/rollup
8
9 Released under the MIT License.
10*/
11!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).rollup={})}(this,function(t){"use strict";var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,n)};function n(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var r,i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},s="1.9.2",o=a;function a(t,e){if(!t)throw new Error(e||"Assertion failed")}function u(t,e){return 55296==(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function h(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function c(t){return 1===t.length?"0"+t:t}function p(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}a.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)};var l={inherits:(function(t){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}(r={exports:{}},r.exports),r.exports),toArray:function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)n.push(parseInt(t[i]+t[i+1],16))}else for(var r=0,i=0;i<t.length;i++){var s=t.charCodeAt(i);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):u(t,i)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i<t.length;i++)n[i]=0|t[i];return n},toHex:function(t){for(var e="",n=0;n<t.length;n++)e+=c(t[n].toString(16));return e},htonl:h,toHex32:function(t,e){for(var n="",r=0;r<t.length;r++){var i=t[r];"little"===e&&(i=h(i)),n+=p(i.toString(16))}return n},zero2:c,zero8:p,join32:function(t,e,n,r){var i=n-e;o(i%4==0);for(var s=new Array(i/4),a=0,u=e;a<s.length;a++,u+=4){var h;h="big"===r?t[u]<<24|t[u+1]<<16|t[u+2]<<8|t[u+3]:t[u+3]<<24|t[u+2]<<16|t[u+1]<<8|t[u],s[a]=h>>>0}return s},split32:function(t,e){for(var n=new Array(4*t.length),r=0,i=0;r<t.length;r++,i+=4){var s=t[r];"big"===e?(n[i]=s>>>24,n[i+1]=s>>>16&255,n[i+2]=s>>>8&255,n[i+3]=255&s):(n[i+3]=s>>>24,n[i+2]=s>>>16&255,n[i+1]=s>>>8&255,n[i]=255&s)}return n},rotr32:function(t,e){return t>>>e|t<<32-e},rotl32:function(t,e){return t<<e|t>>>32-e},sum32:function(t,e){return t+e>>>0},sum32_3:function(t,e,n){return t+e+n>>>0},sum32_4:function(t,e,n,r){return t+e+n+r>>>0},sum32_5:function(t,e,n,r,i){return t+e+n+r+i>>>0},sum64:function(t,e,n,r){var i=t[e],s=r+t[e+1]>>>0,o=(s<r?1:0)+n+i;t[e]=o>>>0,t[e+1]=s},sum64_hi:function(t,e,n,r){return(e+r>>>0<e?1:0)+t+n>>>0},sum64_lo:function(t,e,n,r){return e+r>>>0},sum64_4_hi:function(t,e,n,r,i,s,o,a){var u=0,h=e;return u+=(h=h+r>>>0)<e?1:0,u+=(h=h+s>>>0)<s?1:0,t+n+i+o+(u+=(h=h+a>>>0)<a?1:0)>>>0},sum64_4_lo:function(t,e,n,r,i,s,o,a){return e+r+s+a>>>0},sum64_5_hi:function(t,e,n,r,i,s,o,a,u,h){var c=0,p=e;return c+=(p=p+r>>>0)<e?1:0,c+=(p=p+s>>>0)<s?1:0,c+=(p=p+a>>>0)<a?1:0,t+n+i+o+u+(c+=(p=p+h>>>0)<h?1:0)>>>0},sum64_5_lo:function(t,e,n,r,i,s,o,a,u,h){return e+r+s+a+h>>>0},rotr64_hi:function(t,e,n){return(e<<32-n|t>>>n)>>>0},rotr64_lo:function(t,e,n){return(t<<32-n|e>>>n)>>>0},shr64_hi:function(t,e,n){return t>>>n},shr64_lo:function(t,e,n){return(t<<32-n|e>>>n)>>>0}};function d(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var f=d;d.prototype.update=function(t,e){if(t=l.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=l.join32(t,0,t.length-n,this.endian);for(var r=0;r<t.length;r+=this._delta32)this._update(t,r,r+this._delta32)}return this},d.prototype.digest=function(t){return this.update(this._pad()),o(null===this.pending),this._digest(t)},d.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,n=e-(t+this.padLength)%e,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(t<<=3,"big"===this.endian){for(var s=8;s<this.padLength;s++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=t>>>24&255,r[i++]=t>>>16&255,r[i++]=t>>>8&255,r[i++]=255&t}else for(r[i++]=255&t,r[i++]=t>>>8&255,r[i++]=t>>>16&255,r[i++]=t>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,s=8;s<this.padLength;s++)r[i++]=0;return r};var m={BlockHash:f},g=l.rotr32;function v(t,e,n){return t&e^~t&n}function y(t,e,n){return t&e^t&n^e&n}function x(t,e,n){return t^e^n}var _={ft_1:function(t,e,n,r){return 0===t?v(e,n,r):1===t||3===t?x(e,n,r):2===t?y(e,n,r):void 0},ch32:v,maj32:y,p32:x,s0_256:function(t){return g(t,2)^g(t,13)^g(t,22)},s1_256:function(t){return g(t,6)^g(t,11)^g(t,25)},g0_256:function(t){return g(t,7)^g(t,18)^t>>>3},g1_256:function(t){return g(t,17)^g(t,19)^t>>>10}},E=l.sum32,b=l.sum32_4,A=l.sum32_5,S=_.ch32,w=_.maj32,I=_.s0_256,P=_.s1_256,k=_.g0_256,C=_.g1_256,N=m.BlockHash,R=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function O(){if(!(this instanceof O))return new O;N.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=R,this.W=new Array(64)}l.inherits(O,N);var M=O;O.blockSize=512,O.outSize=256,O.hmacStrength=192,O.padLength=64,O.prototype._update=function(t,e){for(var n=this.W,r=0;r<16;r++)n[r]=t[e+r];for(;r<n.length;r++)n[r]=b(C(n[r-2]),n[r-7],k(n[r-15]),n[r-16]);var i=this.h[0],s=this.h[1],a=this.h[2],u=this.h[3],h=this.h[4],c=this.h[5],p=this.h[6],l=this.h[7];for(o(this.k.length===n.length),r=0;r<n.length;r++){var d=A(l,P(h),S(h,c,p),this.k[r],n[r]),f=E(I(i),w(i,s,a));l=p,p=c,c=h,h=E(u,d),u=a,a=s,s=i,i=E(d,f)}this.h[0]=E(this.h[0],i),this.h[1]=E(this.h[1],s),this.h[2]=E(this.h[2],a),this.h[3]=E(this.h[3],u),this.h[4]=E(this.h[4],h),this.h[5]=E(this.h[5],c),this.h[6]=E(this.h[6],p),this.h[7]=E(this.h[7],l)},O.prototype._digest=function(t){return"hex"===t?l.toHex32(this.h,"big"):l.split32(this.h,"big")};for(var T={},L="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",D=0;D<L.length;D++)T[L.charCodeAt(D)]=D;function V(t){for(var e=0,n=0,r=0,i=0,s=0,o=[],a=[],u=[],h=0,c=0,p=0,l=0,d=t.length;h<d;h++){var f=t.charCodeAt(h);if(44===f)u.length&&a.push(new Int32Array(u)),u=[],c=0;else if(59===f)u.length&&a.push(new Int32Array(u)),u=[],c=0,o.push(a),a=[],e=0;else{var m=T[f];if(void 0===m)throw new Error("Invalid character ("+String.fromCharCode(f)+")");var g=32&m;if(l+=(m&=31)<<p,g)p+=5;else{var v=1&l;l>>=1;var y=v?-l:l;0==c?(e+=y,u.push(e)):1===c?(n+=y,u.push(n)):2===c?(r+=y,u.push(r)):3===c?(i+=y,u.push(i)):4===c&&(s+=y,u.push(s)),c++,l=p=0}}}return u.length&&a.push(new Int32Array(u)),o.push(a),o}function B(t){var e="";t=t<0?-t<<1|1:t<<1;do{var n=31&t;(t>>=5)>0&&(n|=32),e+=L[n]}while(t>0);return e}var z=function(t,e,n){this.start=t,this.end=e,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};z.prototype.appendLeft=function(t){this.outro+=t},z.prototype.appendRight=function(t){this.intro=this.intro+t},z.prototype.clone=function(){var t=new z(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t},z.prototype.contains=function(t){return this.start<t&&t<this.end},z.prototype.eachNext=function(t){for(var e=this;e;)t(e),e=e.next},z.prototype.eachPrevious=function(t){for(var e=this;e;)t(e),e=e.previous},z.prototype.edit=function(t,e,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=e,this.edited=!0,this},z.prototype.prependLeft=function(t){this.outro=t+this.outro},z.prototype.prependRight=function(t){this.intro=t+this.intro},z.prototype.split=function(t){var e=t-this.start,n=this.original.slice(0,e),r=this.original.slice(e);this.original=n;var i=new z(t,this.end,r);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i},z.prototype.toString=function(){return this.intro+this.content+this.outro},z.prototype.trimEnd=function(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;var e=this.content.replace(t,"");return e.length?(e!==this.content&&this.split(this.start+e.length).edit("",void 0,!0),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),!!this.intro.length||void 0)},z.prototype.trimStart=function(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;var e=this.content.replace(t,"");return e.length?(e!==this.content&&(this.split(this.end-e.length),this.edit("",void 0,!0)),!0):(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),!!this.outro.length||void 0)};var j=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};"undefined"!=typeof window&&"function"==typeof window.btoa?j=function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"function"==typeof Buffer&&(j=function(t){return Buffer.from(t,"utf-8").toString("base64")});var W=function(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=function(t){for(var e=0,n=0,r=0,i=0,s="",o=0;o<t.length;o++){var a=t[o];if(o>0&&(s+=";"),0!==a.length){for(var u=0,h=[],c=0,p=a;c<p.length;c++){var l=p[c],d=B(l[0]-u);u=l[0],l.length>1&&(d+=B(l[1]-e)+B(l[2]-n)+B(l[3]-r),e=l[1],n=l[2],r=l[3]),5===l.length&&(d+=B(l[4]-i),i=l[4]),h.push(d)}s+=h.join(",")}}return s}(t.mappings)};function U(t){var e=t.split("\n"),n=e.filter(function(t){return/^\t+/.test(t)}),r=e.filter(function(t){return/^ {2,}/.test(t)});if(0===n.length&&0===r.length)return null;if(n.length>=r.length)return"\t";var i=r.reduce(function(t,e){var n=/^ +/.exec(e)[0].length;return Math.min(n,t)},1/0);return new Array(i+1).join(" ")}function F(t,e){var n=t.split(/[\/\\]/),r=e.split(/[\/\\]/);for(n.pop();n[0]===r[0];)n.shift(),r.shift();if(n.length)for(var i=n.length;i--;)n[i]="..";return n.concat(r).join("/")}W.prototype.toString=function(){return JSON.stringify(this)},W.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+j(this.toString())};var q=Object.prototype.toString;function G(t){return"[object Object]"===q.call(t)}function H(t){for(var e=t.split("\n"),n=[],r=0,i=0;r<e.length;r++)n.push(i),i+=e[r].length+1;return function(t){for(var e=0,r=n.length;e<r;){var i=e+r>>1;t<n[i]?r=i:e=i+1}var s=e-1;return{line:s,column:t-n[s]}}}var K=function(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null};K.prototype.addEdit=function(t,e,n,r){if(e.length){var i=[this.generatedCodeColumn,t,n.line,n.column];r>=0&&i.push(r),this.rawSegments.push(i)}else this.pending&&this.rawSegments.push(this.pending);this.advance(e),this.pending=null},K.prototype.addUneditedChunk=function(t,e,n,r,i){for(var s=e.start,o=!0;s<e.end;)(this.hires||o||i[s])&&this.rawSegments.push([this.generatedCodeColumn,t,r.line,r.column]),"\n"===n[s]?(r.line+=1,r.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0):(r.column+=1,this.generatedCodeColumn+=1),s+=1,o=!1;this.pending=[this.generatedCodeColumn,t,r.line,r.column]},K.prototype.advance=function(t){if(t){var e=t.split("\n");if(e.length>1){for(var n=0;n<e.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=e[e.length-1].length}};var Y="\n",X={insertLeft:!1,insertRight:!1,storeName:!1},Q=function(t,e){void 0===e&&(e={});var n=new z(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:e.filename},indentExclusionRanges:{writable:!0,value:e.indentExclusionRanges},sourcemapLocations:{writable:!0,value:{}},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:U(t)}}),this.byStart[0]=n,this.byEnd[t.length]=n};Q.prototype.addSourcemapLocation=function(t){this.sourcemapLocations[t]=!0},Q.prototype.append=function(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.outro+=t,this},Q.prototype.appendLeft=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var n=this.byEnd[t];return n?n.appendLeft(e):this.intro+=e,this},Q.prototype.appendRight=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var n=this.byStart[t];return n?n.appendRight(e):this.outro+=e,this},Q.prototype.clone=function(){for(var t=new Q(this.original,{filename:this.filename}),e=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=e.clone();e;){t.byStart[n.start]=n,t.byEnd[n.end]=n;var r=e.next,i=r&&r.clone();i&&(n.next=i,i.previous=n,n=i),e=r}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),Object.keys(this.sourcemapLocations).forEach(function(e){t.sourcemapLocations[e]=!0}),t},Q.prototype.generateDecodedMap=function(t){var e=this;t=t||{};var n=Object.keys(this.storedNames),r=new K(t.hires),i=H(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext(function(t){var s=i(t.start);t.intro.length&&r.advance(t.intro),t.edited?r.addEdit(0,t.content,s,t.storeName?n.indexOf(t.original):-1):r.addUneditedChunk(0,t,e.original,s,e.sourcemapLocations),t.outro.length&&r.advance(t.outro)}),{file:t.file?t.file.split(/[\/\\]/).pop():null,sources:[t.source?F(t.file||"",t.source):null],sourcesContent:t.includeContent?[this.original]:[null],names:n,mappings:r.raw}},Q.prototype.generateMap=function(t){return new W(this.generateDecodedMap(t))},Q.prototype.getIndentString=function(){return null===this.indentStr?"\t":this.indentStr},Q.prototype.indent=function(t,e){var n=/^[^\r\n]/gm;if(G(t)&&(e=t,t=void 0),""===(t=void 0!==t?t:this.indentStr||"\t"))return this;var r={};(e=e||{}).exclude&&("number"==typeof e.exclude[0]?[e.exclude]:e.exclude).forEach(function(t){for(var e=t[0];e<t[1];e+=1)r[e]=!0});var i=!1!==e.indentStart,s=function(e){return i?""+t+e:(i=!0,e)};this.intro=this.intro.replace(n,s);for(var o=0,a=this.firstChunk;a;){var u=a.end;if(a.edited)r[o]||(a.content=a.content.replace(n,s),a.content.length&&(i="\n"===a.content[a.content.length-1]));else for(o=a.start;o<u;){if(!r[o]){var h=this.original[o];"\n"===h?i=!0:"\r"!==h&&i&&(i=!1,o===a.start?a.prependRight(t):(this._splitChunk(a,o),(a=a.next).prependRight(t)))}o+=1}o=a.end,a=a.next}return this.outro=this.outro.replace(n,s),this},Q.prototype.insert=function(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")},Q.prototype.insertLeft=function(t,e){return X.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),X.insertLeft=!0),this.appendLeft(t,e)},Q.prototype.insertRight=function(t,e){return X.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),X.insertRight=!0),this.prependRight(t,e)},Q.prototype.move=function(t,e,n){if(n>=t&&n<=e)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(e),this._split(n);var r=this.byStart[t],i=this.byEnd[e],s=r.previous,o=i.next,a=this.byStart[n];if(!a&&i===this.lastChunk)return this;var u=a?a.previous:this.lastChunk;return s&&(s.next=o),o&&(o.previous=s),u&&(u.next=r),a&&(a.previous=i),r.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=u,i.next=a||null,u||(this.firstChunk=r),a||(this.lastChunk=i),this},Q.prototype.overwrite=function(t,e,n,r){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length;if(e>this.original.length)throw new Error("end is out of bounds");if(t===e)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(e),!0===r&&(X.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),X.storeName=!0),r={storeName:!0});var i=void 0!==r&&r.storeName,s=void 0!==r&&r.contentOnly;if(i){var o=this.original.slice(t,e);this.storedNames[o]=!0}var a=this.byStart[t],u=this.byEnd[e];if(a){if(e>a.end&&a.next!==this.byStart[a.end])throw new Error("Cannot overwrite across a split point");if(a.edit(n,i,s),a!==u){for(var h=a.next;h!==u;)h.edit("",!1),h=h.next;h.edit("",!1)}}else{var c=new z(t,e,"").edit(n,i);u.next=c,c.previous=u}return this},Q.prototype.prepend=function(t){if("string"!=typeof t)throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this},Q.prototype.prependLeft=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var n=this.byEnd[t];return n?n.prependLeft(e):this.intro=e+this.intro,this},Q.prototype.prependRight=function(t,e){if("string"!=typeof e)throw new TypeError("inserted content must be a string");this._split(t);var n=this.byStart[t];return n?n.prependRight(e):this.outro=e+this.outro,this},Q.prototype.remove=function(t,e){for(;t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length;if(t===e)return this;if(t<0||e>this.original.length)throw new Error("Character is out of bounds");if(t>e)throw new Error("end must be greater than start");this._split(t),this._split(e);for(var n=this.byStart[t];n;)n.intro="",n.outro="",n.edit(""),n=e>n.end?this.byStart[n.end]:null;return this},Q.prototype.lastChar=function(){if(this.outro.length)return this.outro[this.outro.length-1];var t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""},Q.prototype.lastLine=function(){var t=this.outro.lastIndexOf(Y);if(-1!==t)return this.outro.substr(t+1);var e=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(-1!==(t=n.outro.lastIndexOf(Y)))return n.outro.substr(t+1)+e;e=n.outro+e}if(n.content.length>0){if(-1!==(t=n.content.lastIndexOf(Y)))return n.content.substr(t+1)+e;e=n.content+e}if(n.intro.length>0){if(-1!==(t=n.intro.lastIndexOf(Y)))return n.intro.substr(t+1)+e;e=n.intro+e}}while(n=n.previous);return-1!==(t=this.intro.lastIndexOf(Y))?this.intro.substr(t+1)+e:this.intro+e},Q.prototype.slice=function(t,e){for(void 0===t&&(t=0),void 0===e&&(e=this.original.length);t<0;)t+=this.original.length;for(;e<0;)e+=this.original.length;for(var n="",r=this.firstChunk;r&&(r.start>t||r.end<=t);){if(r.start<e&&r.end>=e)return n;r=r.next}if(r&&r.edited&&r.start!==t)throw new Error("Cannot use replaced character "+t+" as slice start anchor.");for(var i=r;r;){!r.intro||i===r&&r.start!==t||(n+=r.intro);var s=r.start<e&&r.end>=e;if(s&&r.edited&&r.end!==e)throw new Error("Cannot use replaced character "+e+" as slice end anchor.");var o=i===r?t-r.start:0,a=s?r.content.length+e-r.end:r.content.length;if(n+=r.content.slice(o,a),!r.outro||s&&r.end!==e||(n+=r.outro),s)break;r=r.next}return n},Q.prototype.snip=function(t,e){var n=this.clone();return n.remove(0,t),n.remove(e,n.original.length),n},Q.prototype._split=function(t){if(!this.byStart[t]&&!this.byEnd[t])for(var e=this.lastSearchedChunk,n=t>e.end;e;){if(e.contains(t))return this._splitChunk(e,t);e=n?this.byStart[e.end]:this.byEnd[e.start]}},Q.prototype._splitChunk=function(t,e){if(t.edited&&t.content.length){var n=H(this.original)(e);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+t.original+'")')}var r=t.split(e);return this.byEnd[e]=t,this.byStart[e]=r,this.byEnd[r.end]=r,t===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=t,!0},Q.prototype.toString=function(){for(var t=this.intro,e=this.firstChunk;e;)t+=e.toString(),e=e.next;return t+this.outro},Q.prototype.isEmpty=function(){var t=this.firstChunk;do{if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1}while(t=t.next);return!0},Q.prototype.length=function(){var t=this.firstChunk,e=0;do{e+=t.intro.length+t.content.length+t.outro.length}while(t=t.next);return e},Q.prototype.trimLines=function(){return this.trim("[\\r\\n]")},Q.prototype.trim=function(t){return this.trimStart(t).trimEnd(t)},Q.prototype.trimEndAborted=function(t){var e=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var n=this.lastChunk;do{var r=n.end,i=n.trimEnd(e);if(n.end!==r&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1},Q.prototype.trimEnd=function(t){return this.trimEndAborted(t),this},Q.prototype.trimStartAborted=function(t){var e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var n=this.firstChunk;do{var r=n.end,i=n.trimStart(e);if(n.end!==r&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1},Q.prototype.trimStart=function(t){return this.trimStartAborted(t),this};var $=Object.prototype.hasOwnProperty,J=function(t){void 0===t&&(t={}),this.intro=t.intro||"",this.separator=void 0!==t.separator?t.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}};J.prototype.addSource=function(t){if(t instanceof Q)return this.addSource({content:t,filename:t.filename,separator:this.separator});if(!G(t)||!t.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(e){$.call(t,e)||(t[e]=t.content[e])}),void 0===t.separator&&(t.separator=this.separator),t.filename)if($.call(this.uniqueSourceIndexByFilename,t.filename)){var e=this.uniqueSources[this.uniqueSourceIndexByFilename[t.filename]];if(t.content.original!==e.content)throw new Error("Illegal source: same filename ("+t.filename+"), different contents")}else this.uniqueSourceIndexByFilename[t.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:t.filename,content:t.content.original});return this.sources.push(t),this},J.prototype.append=function(t,e){return this.addSource({content:new Q(t),separator:e&&e.separator||""}),this},J.prototype.clone=function(){var t=new J({intro:this.intro,separator:this.separator});return this.sources.forEach(function(e){t.addSource({filename:e.filename,content:e.content.clone(),separator:e.separator})}),t},J.prototype.generateDecodedMap=function(t){var e=this;void 0===t&&(t={});var n=[];this.sources.forEach(function(t){Object.keys(t.content.storedNames).forEach(function(t){~n.indexOf(t)||n.push(t)})});var r=new K(t.hires);return this.intro&&r.advance(this.intro),this.sources.forEach(function(t,i){i>0&&r.advance(e.separator);var s=t.filename?e.uniqueSourceIndexByFilename[t.filename]:-1,o=t.content,a=H(o.original);o.intro&&r.advance(o.intro),o.firstChunk.eachNext(function(e){var i=a(e.start);e.intro.length&&r.advance(e.intro),t.filename?e.edited?r.addEdit(s,e.content,i,e.storeName?n.indexOf(e.original):-1):r.addUneditedChunk(s,e,o.original,i,o.sourcemapLocations):r.advance(e.content),e.outro.length&&r.advance(e.outro)}),o.outro&&r.advance(o.outro)}),{file:t.file?t.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(e){return t.file?F(t.file,e.filename):e.filename}),sourcesContent:this.uniqueSources.map(function(e){return t.includeContent?e.content:null}),names:n,mappings:r.raw}},J.prototype.generateMap=function(t){return new W(this.generateDecodedMap(t))},J.prototype.getIndentString=function(){var t={};return this.sources.forEach(function(e){var n=e.content.indentStr;null!==n&&(t[n]||(t[n]=0),t[n]+=1)}),Object.keys(t).sort(function(e,n){return t[e]-t[n]})[0]||"\t"},J.prototype.indent=function(t){var e=this;if(arguments.length||(t=this.getIndentString()),""===t)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(r,i){var s=void 0!==r.separator?r.separator:e.separator,o=n||i>0&&/\r?\n$/.test(s);r.content.indent(t,{exclude:r.indentExclusionRanges,indentStart:o}),n="\n"===r.content.lastChar()}),this.intro&&(this.intro=t+this.intro.replace(/^[^\n]/gm,function(e,n){return n>0?t+e:e})),this},J.prototype.prepend=function(t){return this.intro=t+this.intro,this},J.prototype.toString=function(){var t=this,e=this.sources.map(function(e,n){var r=void 0!==e.separator?e.separator:t.separator;return(n>0?r:"")+e.content.toString()}).join("");return this.intro+e},J.prototype.isEmpty=function(){return(!this.intro.length||!this.intro.trim())&&!this.sources.some(function(t){return!t.content.isEmpty()})},J.prototype.length=function(){return this.sources.reduce(function(t,e){return t+e.content.length()},this.intro.length)},J.prototype.trimLines=function(){return this.trim("[\\r\\n]")},J.prototype.trim=function(t){return this.trimStart(t).trimEnd(t)},J.prototype.trimStart=function(t){var e=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(e,""),!this.intro){var n,r=0;do{if(!(n=this.sources[r++]))break}while(!n.content.trimStartAborted(t))}return this},J.prototype.trimEnd=function(t){var e,n=new RegExp((t||"\\s")+"+$"),r=this.sources.length-1;do{if(!(e=this.sources[r--])){this.intro=this.intro.replace(n,"");break}}while(!e.content.trimEndAborted(t));return this};var Z="ClassDeclaration",tt="ExportDefaultDeclaration",et="ExpressionStatement",nt="FunctionDeclaration",rt="Identifier",it="Literal",st="MemberExpression",ot="TemplateLiteral",at=function(){function t(t){var e=void 0===t?{}:t,n=e.withNew,r=void 0!==n&&n,i=e.args,s=void 0===i?[]:i,o=e.callIdentifier,a=void 0===o?void 0:o;this.withNew=r,this.args=s,this.callIdentifier=a}return t.create=function(t){return new this(t)},t.prototype.equals=function(t){return t&&this.callIdentifier===t.callIdentifier},t}(),ut={UNKNOWN_KEY:!0},ht=[],ct=[ut];function pt(t,e){return void 0===e&&(e=null),Object.create(e,t)}var lt={UNKNOWN_VALUE:!0},dt={deoptimizePath:function(){},getLiteralValueAtPath:function(){return lt},getReturnExpressionWhenCalledAtPath:function(){return dt},hasEffectsWhenAccessedAtPath:function(t){return t.length>0},hasEffectsWhenAssignedAtPath:function(t){return t.length>0},hasEffectsWhenCalledAtPath:function(){return!0},include:function(){},included:!0,toString:function(){return"[[UNKNOWN]]"}},ft={deoptimizePath:function(){},getLiteralValueAtPath:function(){},getReturnExpressionWhenCalledAtPath:function(){return dt},hasEffectsWhenAccessedAtPath:function(t){return t.length>0},hasEffectsWhenAssignedAtPath:function(t){return t.length>0},hasEffectsWhenCalledAtPath:function(){return!0},include:function(){},included:!0,toString:function(){return"undefined"}},mt={value:{callsArgs:null,mutatesSelf:!1,returns:null,returnsPrimitive:dt}},gt={value:{returns:null,returnsPrimitive:dt,callsArgs:null,mutatesSelf:!0}},vt={value:{returns:null,returnsPrimitive:dt,callsArgs:[0],mutatesSelf:!1}},yt=function(){function t(){this.included=!1}return t.prototype.deoptimizePath=function(){},t.prototype.getLiteralValueAtPath=function(){return lt},t.prototype.getReturnExpressionWhenCalledAtPath=function(t){return 1===t.length?zt(Tt,t[0]):dt},t.prototype.hasEffectsWhenAccessedAtPath=function(t){return t.length>1},t.prototype.hasEffectsWhenAssignedAtPath=function(t){return t.length>1},t.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return 1!==t.length||Bt(Tt,t[0],this.included,e,n)},t.prototype.include=function(){this.included=!0},t.prototype.toString=function(){return"[[UNKNOWN ARRAY]]"},t}(),xt={value:{callsArgs:null,mutatesSelf:!1,returns:yt,returnsPrimitive:null}},_t={value:{callsArgs:null,mutatesSelf:!0,returns:yt,returnsPrimitive:null}},Et={value:{callsArgs:[0],mutatesSelf:!1,returns:yt,returnsPrimitive:null}},bt={value:{callsArgs:[0],mutatesSelf:!0,returns:yt,returnsPrimitive:null}},At={deoptimizePath:function(){},getLiteralValueAtPath:function(){return lt},getReturnExpressionWhenCalledAtPath:function(t){return 1===t.length?zt(Lt,t[0]):dt},hasEffectsWhenAccessedAtPath:function(t){return t.length>1},hasEffectsWhenAssignedAtPath:function(t){return t.length>0},hasEffectsWhenCalledAtPath:function(t){if(1===t.length){var e=t[0];return"string"!=typeof e||!Lt[e]}return!0},include:function(){},included:!0,toString:function(){return"[[UNKNOWN BOOLEAN]]"}},St={value:{callsArgs:null,mutatesSelf:!1,returns:null,returnsPrimitive:At}},wt={value:{callsArgs:[0],mutatesSelf:!1,returns:null,returnsPrimitive:At}},It={deoptimizePath:function(){},getLiteralValueAtPath:function(){return lt},getReturnExpressionWhenCalledAtPath:function(t){return 1===t.length?zt(Dt,t[0]):dt},hasEffectsWhenAccessedAtPath:function(t){return t.length>1},hasEffectsWhenAssignedAtPath:function(t){return t.length>0},hasEffectsWhenCalledAtPath:function(t){if(1===t.length){var e=t[0];return"string"!=typeof e||!Dt[e]}return!0},include:function(){},included:!0,toString:function(){return"[[UNKNOWN NUMBER]]"}},Pt={value:{callsArgs:null,mutatesSelf:!1,returns:null,returnsPrimitive:It}},kt={value:{callsArgs:null,mutatesSelf:!0,returns:null,returnsPrimitive:It}},Ct={value:{callsArgs:[0],mutatesSelf:!1,returns:null,returnsPrimitive:It}},Nt={deoptimizePath:function(){},getLiteralValueAtPath:function(){return lt},getReturnExpressionWhenCalledAtPath:function(t){return 1===t.length?zt(Vt,t[0]):dt},hasEffectsWhenAccessedAtPath:function(t){return t.length>1},hasEffectsWhenAssignedAtPath:function(t){return t.length>0},hasEffectsWhenCalledAtPath:function(t,e,n){return 1!==t.length||Bt(Vt,t[0],!0,e,n)},include:function(){},included:!0,toString:function(){return"[[UNKNOWN STRING]]"}},Rt={value:{callsArgs:null,mutatesSelf:!1,returns:null,returnsPrimitive:Nt}},Ot=function(){function t(){this.included=!1}return t.prototype.deoptimizePath=function(){},t.prototype.getLiteralValueAtPath=function(){return lt},t.prototype.getReturnExpressionWhenCalledAtPath=function(t){return 1===t.length?zt(Mt,t[0]):dt},t.prototype.hasEffectsWhenAccessedAtPath=function(t){return t.length>1},t.prototype.hasEffectsWhenAssignedAtPath=function(t){return t.length>1},t.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return 1!==t.length||Bt(Mt,t[0],this.included,e,n)},t.prototype.include=function(){this.included=!0},t.prototype.toString=function(){return"[[UNKNOWN OBJECT]]"},t}(),Mt=pt({hasOwnProperty:St,isPrototypeOf:St,propertyIsEnumerable:St,toLocaleString:Rt,toString:Rt,valueOf:mt}),Tt=pt({concat:xt,copyWithin:_t,every:wt,fill:_t,filter:Et,find:vt,findIndex:Ct,forEach:vt,includes:St,indexOf:Pt,join:Rt,lastIndexOf:Pt,map:Et,pop:gt,push:kt,reduce:vt,reduceRight:vt,reverse:_t,shift:gt,slice:xt,some:wt,sort:bt,splice:_t,unshift:kt},Mt),Lt=pt({valueOf:St},Mt),Dt=pt({toExponential:Rt,toFixed:Rt,toLocaleString:Rt,toPrecision:Rt,valueOf:Pt},Mt),Vt=pt({charAt:Rt,charCodeAt:Pt,codePointAt:Pt,concat:Rt,endsWith:St,includes:St,indexOf:Pt,lastIndexOf:Pt,localeCompare:Pt,match:St,normalize:Rt,padEnd:Rt,padStart:Rt,repeat:Rt,replace:{value:{callsArgs:[1],mutatesSelf:!1,returns:null,returnsPrimitive:Nt}},search:Pt,slice:Rt,split:xt,startsWith:St,substr:Rt,substring:Rt,toLocaleLowerCase:Rt,toLocaleUpperCase:Rt,toLowerCase:Rt,toUpperCase:Rt,trim:Rt,valueOf:Rt},Mt);function Bt(t,e,n,r,i){if("string"!=typeof e||!t[e])return!0;if(t[e].mutatesSelf&&n)return!0;if(!t[e].callsArgs)return!1;for(var s=0,o=t[e].callsArgs;s<o.length;s++){var a=o[s];if(r.args[a]&&r.args[a].hasEffectsWhenCalledAtPath(ht,at.create({args:[],callIdentifier:{},withNew:!1}),i.getHasEffectsWhenCalledOptions()))return!0}return!1}function zt(t,e){return"string"==typeof e&&t[e]?null!==t[e].returnsPrimitive?t[e].returnsPrimitive:new t[e].returns:dt}var jt=function(){function t(t){this.exportName=null,this.included=!1,this.isId=!1,this.isReassigned=!1,this.reexported=!1,this.renderBaseName=null,this.renderName=null,this.safeExportName=null,this.name=t}return t.prototype.addReference=function(t){},t.prototype.deoptimizePath=function(t){},t.prototype.getBaseVariableName=function(){return this.renderBaseName||this.renderName||this.name},t.prototype.getLiteralValueAtPath=function(t,e,n){return lt},t.prototype.getName=function(){var t=this.renderName||this.name;return this.renderBaseName?this.renderBaseName+"."+t:t},t.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){return dt},t.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>0},t.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return!0},t.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return!0},t.prototype.include=function(){this.included=!0},t.prototype.setRenderNames=function(t,e){this.renderBaseName=t,this.renderName=e},t.prototype.setSafeName=function(t){this.renderName=t},t.prototype.toString=function(){return this.name},t}(),Wt=function(t){function e(e,n,r,i){var s=t.call(this,e)||this;return s.additionalInitializers=null,s.expressionsToBeDeoptimized=[],s.declarations=n?[n]:[],s.init=r,s.deoptimizationTracker=i.deoptimizationTracker,s.module=i.module,s}return n(e,t),e.prototype.addDeclaration=function(t,e){this.declarations.push(t),null===this.additionalInitializers&&(this.additionalInitializers=null===this.init?[]:[this.init],this.init=dt,this.isReassigned=!0),null!==e&&this.additionalInitializers.push(e)},e.prototype.consolidateInitializers=function(){if(null!==this.additionalInitializers){for(var t=0,e=this.additionalInitializers;t<e.length;t++){e[t].deoptimizePath(ct)}this.additionalInitializers=null}},e.prototype.deoptimizePath=function(t){if(!(t.length>7||this.isReassigned||this.deoptimizationTracker.track(this,t)))if(0===t.length){if(!this.isReassigned){this.isReassigned=!0;for(var e=0,n=this.expressionsToBeDeoptimized;e<n.length;e++){n[e].deoptimizeCache()}this.init&&this.init.deoptimizePath(ct)}}else this.init&&this.init.deoptimizePath(t)},e.prototype.getLiteralValueAtPath=function(t,e,n){return this.isReassigned||!this.init||t.length>7||e.isTracked(this.init,t)?lt:(this.expressionsToBeDeoptimized.push(n),this.init.getLiteralValueAtPath(t,e.track(this.init,t),n))},e.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){return this.isReassigned||!this.init||t.length>7||e.isTracked(this.init,t)?dt:(this.expressionsToBeDeoptimized.push(n),this.init.getReturnExpressionWhenCalledAtPath(t,e.track(this.init,t),n))},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return 0!==t.length&&(this.isReassigned||t.length>7||this.init&&!e.hasNodeBeenAccessedAtPath(t,this.init)&&this.init.hasEffectsWhenAccessedAtPath(t,e.addAccessedNodeAtPath(t,this.init)))},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return!!(this.included||t.length>7)||0!==t.length&&(this.isReassigned||this.init&&!e.hasNodeBeenAssignedAtPath(t,this.init)&&this.init.hasEffectsWhenAssignedAtPath(t,e.addAssignedNodeAtPath(t,this.init)))},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return t.length>7||(this.isReassigned||this.init&&!n.hasNodeBeenCalledAtPathWithOptions(t,this.init,e)&&this.init.hasEffectsWhenCalledAtPath(t,e,n.addCalledNodeAtPathWithOptions(t,this.init,e)))},e.prototype.include=function(){if(!this.included){this.included=!0;for(var t=0,e=this.declarations;t<e.length;t++){var n=e[t];n.included||n.include(!1);for(var r=n.parent;!r.included&&(r.included=!0,"Program"!==r.type);)r=r.parent}}},e}(jt);Wt.prototype.isLocal=!0;var Ut=function(t){function e(e,n,r){var i=t.call(this,e,n,n.declaration,r)||this;i.originalId=null;var s=n.declaration;return s.type!==nt&&s.type!==Z||!s.id?s.type===rt&&(i.originalId=s):(i.hasId=!0,i.originalId=s.id),i}return n(e,t),e.prototype.addReference=function(t){this.hasId||(this.name=t.name)},e.prototype.getName=function(){return this.referencesOriginal()?this.originalId.variable.getName():t.prototype.getName.call(this)},e.prototype.getOriginalVariable=function(){return this.originalId&&this.originalId.variable||null},e.prototype.getOriginalVariableName=function(){return this.originalId&&this.originalId.name||null},e.prototype.referencesOriginal=function(){return this.originalId&&(this.hasId||!this.originalId.variable.isReassigned)},e.prototype.setRenderNames=function(e,n){this.referencesOriginal()?this.originalId.variable.setRenderNames(e,n):t.prototype.setRenderNames.call(this,e,n)},e.prototype.setSafeName=function(e){this.referencesOriginal()?this.originalId.variable.setSafeName(e):t.prototype.setSafeName.call(this,e)},e}(Wt);Ut.prototype.getBaseVariableName=Ut.prototype.getName,Ut.prototype.isDefault=!0;var Ft="_missingExportShim",qt="_interopDefault",Gt=function(t){function e(e){var n=t.call(this,Ft)||this;return n.module=e,n}return n(e,t),e}(jt),Ht={},Kt="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),Yt="Int8x16 Int16x8 Int32x4 Float32x4 Float64x2".split(" "),Xt="abs add and bool check div equal extractLane fromFloat32x4 fromFloat32x4Bits fromFloat64x2 fromFloat64x2Bits fromInt16x8Bits fromInt32x4 fromInt32x4Bits fromInt8x16Bits greaterThan greaterThanOrEqual lessThan lessThanOrEqual load max maxNum min minNum mul neg not notEqual or reciprocalApproximation reciprocalSqrtApproximation replaceLane select selectBits shiftLeftByScalar shiftRightArithmeticByScalar shiftRightLogicalByScalar shuffle splat sqrt store sub swizzle xor".split(" "),Qt=[];Yt.forEach(function(t){Xt.forEach(function(e){Qt.push("SIMD."+t+"."+e)})}),["Array.isArray","Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape","Object","Object.create","Object.getNotifier","Object.getOwn","Object.getOwnPropertyDescriptor","Object.getOwnPropertyNames","Object.getOwnPropertySymbols","Object.getPrototypeOf","Object.is","Object.isExtensible","Object.isFrozen","Object.isSealed","Object.keys","Boolean","Number","Number.isFinite","Number.isInteger","Number.isNaN","Number.isSafeInteger","Number.parseFloat","Number.parseInt","Symbol","Symbol.for","Symbol.keyFor","Math.abs","Math.acos","Math.acosh","Math.asin","Math.asinh","Math.atan","Math.atan2","Math.atanh","Math.cbrt","Math.ceil","Math.clz32","Math.cos","Math.cosh","Math.exp","Math.expm1","Math.floor","Math.fround","Math.hypot","Math.imul","Math.log","Math.log10","Math.log1p","Math.log2","Math.max","Math.min","Math.pow","Math.random","Math.round","Math.sign","Math.sin","Math.sinh","Math.sqrt","Math.tan","Math.tanh","Math.trunc","Date","Date.UTC","Date.now","Date.parse","String","String.fromCharCode","String.fromCodePoint","String.raw","RegExp","Map","Set","WeakMap","WeakSet","ArrayBuffer","ArrayBuffer.isView","DataView","Promise.all","Promise.race","Promise.resolve","Intl.Collator","Intl.Collator.supportedLocalesOf","Intl.DateTimeFormat","Intl.DateTimeFormat.supportedLocalesOf","Intl.NumberFormat","Intl.NumberFormat.supportedLocalesOf"].concat(Kt,Kt.map(function(t){return t+".from"}),Kt.map(function(t){return t+".of"}),Yt.map(function(t){return"SIMD."+t}),Qt).forEach(function(t){return Ht[t]=!0});var $t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffectsWhenAccessedAtPath=function(t){return t.length>0&&!this.isPureFunctionMember(t)&&!("Reflect"===this.name&&1===t.length)},e.prototype.hasEffectsWhenCalledAtPath=function(t){return!Ht[[this.name].concat(t).join(".")]},e.prototype.isPureFunctionMember=function(t){return Ht[[this.name].concat(t).join(".")]||t.length>=1&&Ht[[this.name].concat(t.slice(0,-1)).join(".")]||t.length>=2&&Ht[[this.name].concat(t.slice(0,-2)).join(".")]&&"prototype"===t[t.length-2]},e}(jt),Jt=function(t){function e(e){var n=t.call(this,e.getModuleName())||this;n.memberVariables=Object.create(null),n.containsExternalNamespace=!1,n.referencedEarly=!1,n.references=[],n.context=e,n.module=e.module;for(var r=0,i=n.context.getExports().concat(n.context.getReexports());r<i.length;r++){var s=i[r];"*"===s[0]&&s.length>1&&(n.containsExternalNamespace=!0),n.memberVariables[s]=n.context.traceExport(s)}return n}return n(e,t),e.prototype.addReference=function(t){this.references.push(t),this.name=t.name},e.prototype.deoptimizePath=function(){for(var t in this.memberVariables)this.memberVariables[t].deoptimizePath(ct)},e.prototype.include=function(){if(!this.included){this.containsExternalNamespace&&this.context.error({code:"NAMESPACE_CANNOT_CONTAIN_EXTERNAL",id:this.module.id,message:'Cannot create an explicit namespace object for module "'+this.context.getModuleName()+'" because it contains a reexported external namespace'},void 0),this.included=!0;for(var t=0,e=this.references;t<e.length;t++){if(e[t].context.getModuleExecIndex()<=this.context.getModuleExecIndex()){this.referencedEarly=!0;break}}if(this.context.preserveModules)for(var n=0,r=Object.keys(this.memberVariables);n<r.length;n++){var i=r[n];this.memberVariables[i].include()}else for(var s=0,o=Object.keys(this.memberVariables);s<o.length;s++){i=o[s];this.context.includeVariable(this.memberVariables[i])}}},e.prototype.renderBlock=function(t){var e=this,n=t.compact?"":" ",r=t.compact?"":"\n",i=t.indent,s=Object.keys(this.memberVariables).map(function(r){var s=e.memberVariables[r];return e.referencedEarly||s.isReassigned?i+"get "+r+n+"()"+n+"{"+n+"return "+s.getName()+(t.compact?"":";")+n+"}":""+i+r+": "+s.getName()}),o=this.getName(),a=t.freeze?"/*#__PURE__*/Object.freeze":"",u=t.varOrConst+" "+o+" = "+(t.namespaceToStringTag?"{"+r+s.join(","+r)+r+"};":a+"({"+r+s.join(","+r)+r+"});");return t.namespaceToStringTag&&(u+=r+"if"+n+"(typeof Symbol"+n+"!=="+n+"'undefined'"+n+"&&"+n+"Symbol.toStringTag)"+r,u+=i+"Object.defineProperty("+o+","+n+"Symbol.toStringTag,"+n+"{"+n+"value:"+n+"'Module'"+n+"});"+r,u+="else"+(r||" "),u+=i+"Object.defineProperty("+o+","+n+"'toString',"+n+"{"+n+"value:"+n+"function"+n+"()"+n+"{"+n+"return"+n+"'[object Module]'"+(t.compact?";":"")+n+"}"+n+"});"+r,u+=a+"("+o+");"),"system"===t.format&&this.exportName&&(u+=r+"exports('"+this.exportName+"',"+n+o+");"),u},e.prototype.renderFirst=function(){return this.referencedEarly},e}(jt);Jt.prototype.isNamespace=!0;var Zt=function(t){function e(e,n){var r=t.call(this,n)||this;return r.module=e,r.isNamespace="*"===n,r.referenced=!1,r}return n(e,t),e.prototype.addReference=function(t){this.referenced=!0,"default"!==this.name&&"*"!==this.name||this.module.suggestName(t.name)},e.prototype.include=function(){this.included||(this.included=!0,this.module.used=!0)},e}(jt);Zt.prototype.isExternal=!0;var te="break case class catch const continue debugger default delete do else export extends finally for function if import in instanceof let new return super switch this throw try typeof var void while with yield enum await implements package protected static interface private public".split(" "),ee="Infinity NaN undefined null true false eval uneval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Symbol Error EvalError InternalError RangeError ReferenceError SyntaxError TypeError URIError Number Math Date String RegExp Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array Map Set WeakMap WeakSet SIMD ArrayBuffer DataView JSON Promise Generator GeneratorFunction Reflect Proxy Intl".split(" "),ne=Object.create(null);te.concat(ee).forEach(function(t){return ne[t]=!0});var re=/[^$_a-zA-Z0-9]/g,ie=function(t){return/\d/.test(t[0])};function se(t){return t=t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()}).replace(re,"_"),(ie(t)||ne[t])&&(t="_"+t),t}var oe=/^(?:\/|(?:[A-Za-z]:)?[\\|\/])/,ae=/^\.?\.\//;function ue(t){return oe.test(t)}function he(t){return ae.test(t)}function ce(t){return t.replace(/\\/g,"/")}function pe(t){return t.split(/(\/|\\)/).pop()}function le(t){var e=/(\/|\\)[^\/\\]*$/.exec(t);if(!e)return".";var n=t.slice(0,-e[0].length);return n||"/"}function de(t){var e=/\.[^.]+$/.exec(pe(t));return e?e[0]:""}function fe(t,e){for(var n=t.split(/[\/\\]/).filter(Boolean),r=e.split(/[\/\\]/).filter(Boolean);n[0]&&r[0]&&n[0]===r[0];)n.shift(),r.shift();for(;"."===r[0]||".."===r[0];){".."===r.shift()&&n.pop()}for(;n.pop();)r.unshift("..");return r.join("/")}function me(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.shift().split(/[\/\\]/);return t.forEach(function(t){if(ue(t))n=t.split(/[\/\\]/);else{for(var e=t.split(/[\/\\]/);"."===e[0]||".."===e[0];){".."===e.shift()&&n.pop()}n.push.apply(n,e)}}),n.join("/")}var ge=function(){function t(t){var e=t.graph,n=t.id;this.exportsNames=!1,this.exportsNamespace=!1,this.isEntryPoint=!1,this.isExternal=!0,this.mostCommonSuggestion=0,this.reexported=!1,this.renderPath=void 0,this.renormalizeRenderPath=!1,this.used=!1,this.graph=e,this.id=n,this.execIndex=1/0;var r=n.split(/[\\\/]/);this.variableName=se(r.pop()),this.nameSuggestions=Object.create(null),this.declarations=Object.create(null),this.exportedVariables=new Map}return t.prototype.getVariableForExportName=function(t,e){"default"!==t&&"*"!==t&&(this.exportsNames=!0),"*"===t&&(this.exportsNamespace=!0);var n=this.declarations[t];return n||(this.declarations[t]=n=new Zt(this,t),this.exportedVariables.set(n,t),n)},t.prototype.setRenderPath=function(t,e){return this.renderPath="",t.paths&&(this.renderPath="function"==typeof t.paths?t.paths(this.id):t.paths[this.id]),this.renderPath||(ue(this.id)?(this.renderPath=ce(fe(e,this.id)),this.renormalizeRenderPath=!0):this.renderPath=this.id),this.renderPath},t.prototype.suggestName=function(t){this.nameSuggestions[t]||(this.nameSuggestions[t]=0),this.nameSuggestions[t]+=1,this.nameSuggestions[t]>this.mostCommonSuggestion&&(this.mostCommonSuggestion=this.nameSuggestions[t],this.variableName=t)},t.prototype.warnUnusedImports=function(){var t=this,e=Object.keys(this.declarations).filter(function(e){if("*"===e)return!1;var n=t.declarations[e];return!n.included&&!t.reexported&&!n.referenced});if(0!==e.length){var n=1===e.length?"'"+e[0]+"' is":e.slice(0,-1).map(function(t){return"'"+t+"'"}).join(", ")+" and '"+e.slice(-1)+"' are";this.graph.warn({code:"UNUSED_EXTERNAL_IMPORT",message:n+" imported from external module '"+this.id+"' but never used",names:e,source:this.id})}},t}(),ve="Object.defineProperty(exports, '__esModule', { value: true });",ye="Object.defineProperty(exports,'__esModule',{value:true});";function xe(t,e,n,r,i,s,o){void 0===o&&(o="return ");var a,u=i?"":" ",h=i?"":"\n";if(!n)return t.some(function(t){return"default"===t.exported&&(a=t.local,!0)}),a||e.some(function(t){return!!t.reexports&&t.reexports.some(function(e){return"default"===e.reexported&&(a=t.namedExportsMode?t.name+"."+e.imported:t.name,!0)})}),""+o+a+";";var c="";return e.forEach(function(t){var e=t.name,r=t.reexports;r&&n&&r.forEach(function(t){"*"===t.reexported&&(!i&&c&&(c+="\n"),c+="Object.keys("+e+").forEach(function"+u+"(key)"+u+"{"+h+s+"Object.defineProperty(exports,"+u+"key,"+u+"{"+h+s+s+"enumerable:"+u+"true,"+h+s+s+"get:"+u+"function"+u+"()"+u+"{"+h+s+s+s+"return "+e+"[key];"+h+s+s+"}"+h+s+"});"+h+"});")})}),e.forEach(function(t){var e=t.name,o=t.imports,a=t.reexports,p=t.isChunk,l=t.namedExportsMode;a&&n&&a.forEach(function(t){if("default"!==t.imported||p)if("*"!==t.imported){c&&!i&&(c+="\n");var n="default"!==t.imported||l?e+"."+t.imported:e;c+=t.needsLiveBinding?"Object.defineProperty(exports,"+u+"'"+t.reexported+"',"+u+"{"+h+s+"enumerable:"+u+"true,"+h+s+"get:"+u+"function"+u+"()"+u+"{"+h+s+s+"return "+n+";"+h+s+"}"+h+"});":"exports."+t.reexported+u+"="+u+n+";"}else"*"!==t.reexported&&(c&&!i&&(c+="\n"),c+="exports."+t.reexported+u+"="+u+e+";");else{var d=o&&o.some(function(t){return"default"!==t.imported})||a&&a.some(function(t){return"default"!==t.imported&&"*"!==t.imported}),f=a&&a.some(function(t){return"default"===t.imported&&"default"===t.reexported});c&&!i&&(c+="\n"),c+=d||f?"exports."+t.reexported+u+"="+u+e+(!1!==r?"__default":".default")+";":"exports."+t.reexported+u+"="+u+e+";"}})}),t.forEach(function(t){var e="exports."+t.exported,n=t.local;e!==n&&(c&&!i&&(c+="\n"),c+=""+e+u+"="+u+n+";")}),c}function _e(t,e,n){return t.map(function(t){var r=t.name,i=t.exportsNames,s=t.exportsDefault;if(t.namedExportsMode)return s&&!1!==e.interop?i?e.compact?n+" "+r+"__default='default'in "+r+"?"+r+"['default']:"+r+";":n+" "+r+"__default = 'default' in "+r+" ? "+r+"['default'] : "+r+";":e.compact?r+"="+r+"&&"+r+".hasOwnProperty('default')?"+r+"['default']:"+r+";":r+" = "+r+" && "+r+".hasOwnProperty('default') ? "+r+"['default'] : "+r+";":null}).filter(Boolean).join(e.compact?"":"\n")}var Ee={assert:!0,buffer:!0,console:!0,constants:!0,domain:!0,events:!0,http:!0,https:!0,os:!0,path:!0,process:!0,punycode:!0,querystring:!0,stream:!0,string_decoder:!0,timers:!0,tty:!0,url:!0,util:!0,vm:!0,zlib:!0};function be(t,e){var n=e.map(function(t){return t.id}).filter(function(t){return t in Ee});n.length&&t({code:"MISSING_NODE_BUILTINS",message:"Creating a browser bundle that depends on Node.js built-in "+(1===n.length?"module ('"+n[0]+"')":"modules ("+n.slice(0,-1).map(function(t){return"'"+t+"'"}).join(", ")+" and '"+n.slice(-1)+"')")+". You might need to include https://www.npmjs.com/package/rollup-plugin-node-builtins",modules:n})}function Ae(t,e,n){if("number"==typeof n)throw new Error("locate takes a { startIndex, offsetLine, offsetColumn } object as the third argument");return function(t,e){void 0===e&&(e={});var n=e.offsetLine||0,r=e.offsetColumn||0,i=t.split("\n"),s=0,o=i.map(function(t,e){var n=s+t.length+1,r={start:s,end:n,line:e};return s=n,r}),a=0;function u(t,e){return t.start<=e&&e<t.end}function h(t,e){return{line:n+t.line,column:r+e-t.start,character:e}}return function(e,n){"string"==typeof e&&(e=t.indexOf(e,n||0));for(var r=o[a],i=e>=r.end?1:-1;r;){if(u(r,e))return h(r,e);r=o[a+=i]}}}(t,n)(e,n&&n.startIndex)}function Se(t){return t.replace(/^\t+/,function(t){return t.split("\t").join(" ")})}function we(t,e,n){var r=t.split("\n"),i=Math.max(0,e-3),s=Math.min(e+2,r.length);for(r=r.slice(i,s);!/\S/.test(r[r.length-1]);)r.pop(),s-=1;var o=String(s).length;return r.map(function(t,r){for(var s=i+r+1===e,a=String(r+i+1);a.length<o;)a=" "+a;if(s){var u=function(t){for(var e="";t--;)e+=" ";return e}(o+2+Se(t.slice(0,n)).length)+"^";return a+": "+Se(t)+"\n"+u}return a+": "+Se(t)}).join("\n")}function Ie(t,e){throw t instanceof Error==!1&&(t=Object.assign(new Error(t.message),t)),e&&Object.assign(t,e),t}function Pe(t,e,n,r){if(void 0!==e.line&&void 0!==e.column){var i=e.line,s=e.column;t.loc={file:r,line:i,column:s}}else{t.pos=e;var o=Ae(n,e,{offsetLine:1});i=o.line,s=o.column;t.loc={file:r,line:i,column:s}}if(void 0===t.frame){var a=t.loc;i=a.line,s=a.column;t.frame=we(n,i,s)}}var ke=/^[a-zA-Z$_][a-zA-Z0-9$_]*$/;function Ce(t){return ke.test(t)?"."+t:"['"+t+"']"}function Ne(t){return t.split(".").map(Ce).join("")}function Re(t,e,n,r,i){var s=r?"":" ",o=t.split(".");n&&(o[0]=("function"==typeof n?n(o[0]):n[o[0]])||o[0]);var a=o.pop(),u=e,h=o.map(function(t){return""+(u+=Ce(t))+s+"="+s+u+s+"||"+s+"{}"}).concat(""+u+Ce(a)).join(","+s).concat(s+"="+s+i);return o.length>0&&(h="("+h+")"),h}function Oe(t){for(var e=t.length;e--;){var n=t[e];if(n.exportsDefault||n.exportsNames)return t.slice(0,e+1)}return[]}var Me=function(t){return"this"+Ne(t)};var Te=function(t,e,n,r,i){return t?""+i+r+e+" _starExcludes"+n+"="+n+"{"+n+Array.from(t).join(":"+n+"1,"+n)+(t.size?":"+n+"1":"")+n+"};":""},Le=function(t,e,n,r){return t.length?""+r+n+"var "+t.join(","+e)+";":""};function De(t,e,n,r){return 0===t.length?"":1===t.length?""+n+n+n+"exports('"+t[0].name+"',"+e+t[0].value+");"+r+r:""+n+n+n+"exports({"+r+t.map(function(t){var r=t.name,i=t.value;return""+n+n+n+n+r+":"+e+i}).join(","+r)+r+n+n+n+"});"+r+r}var Ve=function(t,e,n,r){return De(t.filter(function(t){return t.hoisted||t.uninitialized}).map(function(t){return{name:t.exported,value:t.uninitialized?"void 0":t.local}}),e,n,r)},Be=function(t,e,n,r){return De(t.filter(function(t){return t.local===Ft}).map(function(t){return{name:t.exported,value:Ft}}),e,n,r)};function ze(t,e){return t?""+e+Ne(t):"null"}var je={system:function(t,e,n){var r,i=e.dependencies,s=e.exports,o=e.indentString,a=e.intro,u=e.outro,h=e.usesTopLevelAwait,c=e.varOrConst,p=n.compact?"":"\n",l=n.compact?"":" ",d=i.map(function(t){return"'"+t.id+"'"}),f=[],m=[];i.forEach(function(t){var e=t.imports,n=t.reexports,a=[];if(e&&e.forEach(function(t){f.push(t.local),"*"===t.imported?a.push(""+t.local+l+"="+l+"module;"):a.push(""+t.local+l+"="+l+"module."+t.imported+";")}),n){var u=!1;n.length>1||1===n.length&&("*"===n[0].reexported||"*"===n[0].imported)?(n.forEach(function(t){"*"===t.reexported&&(r||(r=function(t){var e=t.dependencies,n=t.exports,r=new Set(n.map(function(t){return t.exported}));return r.has("default")||r.add("default"),e.forEach(function(t){var e=t.reexports;e&&e.forEach(function(t){"*"===t.imported||r.has(t.reexported)||r.add(t.reexported)})}),r}({dependencies:i,exports:s})),u||(a.push(c+" _setter"+l+"="+l+"{};"),u=!0),a.push("for"+l+"(var _$p"+l+"in"+l+"module)"+l+"{"),a.push(o+"if"+l+"(!_starExcludes[_$p])"+l+"_setter[_$p]"+l+"="+l+"module[_$p];"),a.push("}"))}),n.forEach(function(t){"*"===t.imported&&"*"!==t.reexported&&a.push("exports('"+t.reexported+"',"+l+"module);")}),n.forEach(function(t){"*"!==t.reexported&&"*"!==t.imported&&(u||(a.push(c+" _setter"+l+"="+l+"{};"),u=!0),a.push("_setter."+t.reexported+l+"="+l+"module."+t.imported+";"))}),u&&a.push("exports(_setter);")):n.forEach(function(t){a.push("exports('"+t.reexported+"',"+l+"module."+t.imported+");")})}m.push(a.join(""+p+o+o+o))});var g="System.register("+(n.name?"'"+n.name+"',"+l:"")+"["+d.join(","+l)+"],"+l+"function"+l+"(exports,"+l+"module)"+l+"{"+p+o+"'use strict';"+Te(r,c,l,o,p)+Le(f,l,o,p)+p+o+"return"+l+"{"+(m.length?""+p+o+o+"setters:"+l+"["+m.map(function(t){return t?"function"+l+"(module)"+l+"{"+p+o+o+o+t+p+o+o+"}":"function"+l+"()"+l+"{}"}).join(","+l)+"],":"")+p;g+=""+o+o+"execute:"+l+(h?"async"+l:"")+"function"+l+"()"+l+"{"+p+p+Ve(s,l,o,p);var v=""+p+p+Be(s,l,o,p)+o+o+"}"+p+o+"}"+(n.compact?"":";")+p+"});";return a&&t.prepend(a),u&&t.append(u),t.indent(""+o+o+o).append(v).prepend(g)},amd:function(t,e,n){var r=e.dependencies,i=e.dynamicImport,s=e.exports,o=e.hasExports,a=e.indentString,u=e.intro,h=e.isEntryModuleFacade,c=e.namedExportsMode,p=e.needsAmdModule,l=e.outro,d=e.varOrConst;be(e.warn,r);var f=r.map(function(t){return"'"+t.id+"'"}),m=r.map(function(t){return t.name}),g=n.compact?"":"\n",v=n.compact?"":" ";c&&o&&(m.unshift("exports"),f.unshift("'exports'")),i&&(m.unshift("require"),f.unshift("'require'")),p&&(m.unshift("module"),f.unshift("'module'"));var y=n.amd||{},x=(y.id?"'"+y.id+"',"+v:"")+(f.length?"["+f.join(","+v)+"],"+v:""),_=!1!==n.strict?v+"'use strict';":"",E=(y.define||"define")+"("+x+"function"+v+"("+m.join(","+v)+")"+v+"{"+_+g+g,b=_e(r,n,d);b&&t.prepend(b+g+g),u&&t.prepend(u);var A=xe(s,r,c,n.interop,n.compact,a);return A&&t.append(g+g+A),c&&o&&h&&n.esModule&&t.append(""+g+g+(n.compact?ye:ve)),l&&t.append(l),t.indent(a).append(g+g+"});").prepend(E)},cjs:function(t,e,n){var r=e.dependencies,i=e.exports,s=e.hasExports,o=e.indentString,a=e.intro,u=e.isEntryModuleFacade,h=e.namedExportsMode,c=e.outro,p=e.varOrConst,l=n.compact?"":"\n",d=n.compact?"":" ";a=(!1===n.strict?a:"'use strict';"+l+l+a)+(h&&s&&u&&n.esModule?""+(n.compact?ye:ve)+l+l:"");var f,m=!1,g=!1!==n.interop,v=!1;f="";for(var y=0,x=r;y<x.length;y++){var _=x[y],E=_.id,b=_.namedExportsMode,A=_.isChunk,S=_.name,w=_.reexports,I=_.imports,P=_.exportsNames,k=_.exportsDefault;w||I?(f+=n.compact&&v?",":(f?";"+l:"")+p+" ",v=!0,g&&!A&&k&&b?(m=!0,f+=P?""+S+d+"="+d+"require('"+E+"')"+(n.compact?",":";\n"+p+" ")+S+"__default"+d+"="+d+qt+"("+S+")":""+S+d+"="+d+qt+"(require('"+E+"'))"):f+=""+S+d+"="+d+"require('"+E+"')"):(f&&(f+=!n.compact||v?";"+l:","),v=!1,f+="require('"+E+"')")}if(f&&(f+=";"),m){var C=n.compact?"e":"ex";a+="function "+qt+d+"("+C+")"+d+"{"+d+"return"+d+"("+C+d+"&&"+d+"(typeof "+C+d+"==="+d+"'object')"+d+"&&"+d+"'default'"+d+"in "+C+")"+d+"?"+d+C+"['default']"+d+":"+d+C+(n.compact?"":"; ")+"}"+l+l}f&&(a+=f+l+l);var N=xe(i,r,h,n.interop,n.compact,o,"module.exports"+d+"="+d);return t.prepend(a),N&&t.append(l+l+N),c&&t.append(c),t},es:function(t,e,n){var r=e.intro,i=e.outro,s=e.dependencies,o=e.exports,a=n.compact?"":" ",u=n.compact?"":"\n",h=s.map(function(t){var e=t.id,n=t.reexports,r=t.imports,i=t.name;if(!n&&!r)return"import"+a+"'"+e+"';";var s="";if(r){var o=r.find(function(t){return"default"===t.imported}),h=r.find(function(t){return"*"===t.imported});h&&(s+="import"+a+"*"+a+"as "+h.local+" from"+a+"'"+e+"';",r.length>1&&(s+=u)),o&&1===r.length?s+="import "+o.local+" from"+a+"'"+e+"';":(!h||r.length>1)&&(s+="import "+(o?o.local+","+a:"")+"{"+a+r.filter(function(t){return t!==o&&t!==h}).map(function(t){return t.imported===t.local?t.imported:t.imported+" as "+t.local}).join(","+a)+a+"}"+a+"from"+a+"'"+e+"';")}if(n){r&&(s+=u);var c=n.find(function(t){return"*"===t.reexported}),p=n.find(function(t){return"*"===t.imported&&"*"!==t.reexported});if(c){if(s+="export"+a+"*"+a+"from"+a+"'"+e+"';",1===n.length)return s;s+=u}if(p){if(r&&r.some(function(t){return"*"===t.imported&&t.local===i})||(s+="import"+a+"*"+a+"as "+i+" from"+a+"'"+e+"';"+u),s+="export"+a+"{"+a+(i===p.reexported?i:i+" as "+p.reexported)+" };",n.length===(c?2:1))return s;s+=u}s+="export"+a+"{"+a+n.filter(function(t){return t!==c&&t!==p}).map(function(t){return t.imported===t.reexported?t.imported:t.imported+" as "+t.reexported}).join(","+a)+a+"}"+a+"from"+a+"'"+e+"';"}return s}).join(u);h&&(r+=h+u+u),r&&t.prepend(r);var c=[],p=[];return o.forEach(function(t){"default"===t.exported?c.push("export default "+t.local+";"):p.push(t.exported===t.local?t.local:t.local+" as "+t.exported)}),p.length&&c.push("export"+a+"{"+a+p.join(","+a)+a+"};"),c.length&&t.append(u+u+c.join(u).trim()),i&&t.append(i),t.trim()},iife:function(t,e,n){var r,i=e.dependencies,s=e.exports,o=e.hasExports,a=e.indentString,u=e.intro,h=e.namedExportsMode,c=e.outro,p=e.varOrConst,l=e.warn,d=n.compact?"":" ",f=n.compact?"":"\n",m=n.extend,g=n.name,v=g&&-1!==g.indexOf("."),y=!m&&!v;g&&y&&(ie(r=g)||ne[r]||re.test(r))&&Ie({code:"ILLEGAL_IDENTIFIER_AS_NAME",message:"Given name ("+g+") is not legal JS identifier. If you need this you can try --extend option"}),be(l,i);var x=Oe(i),_=x.map(function(t){return t.globalName||"null"}),E=x.map(function(t){return t.name});o&&!g&&Ie({code:"INVALID_OPTION",message:'You must supply "output.name" for IIFE bundles.'}),h&&o&&(m?(_.unshift(""+Me(g)+d+"="+d+Me(g)+d+"||"+d+"{}"),E.unshift("exports")):(_.unshift("{}"),E.unshift("exports")));var b=!1!==n.strict?a+"'use strict';"+f+f:"",A="(function"+d+"("+E.join(","+d)+")"+d+"{"+f+b;!o||m&&h||(A=(y?p+" "+g:Me(g))+(d+"=")+d+A),v&&o&&(A=function(t,e,n,r){var i=t.split(".");n&&(i[0]=("function"==typeof n?n(i[0]):n[i[0]])||i[0]);var s=r?"":" ";i.pop();var o=e;return i.map(function(t){return""+(o+=Ce(t))+s+"="+s+o+s+"||"+s+"{}"+(r?"":";")}).join(r?",":"\n")+(r&&i.length?";":"\n")}(g,"this",n.globals,n.compact)+A);var S=""+f+f+"}("+_.join(","+d)+"));";!m&&h&&o&&(S=""+f+f+a+"return exports;"+S);var w=_e(i,n,p);w&&t.prepend(w+f+f),u&&t.prepend(u);var I=xe(s,i,h,n.interop,n.compact,a);return I&&t.append(f+f+I),c&&t.append(c),t.indent(a).prepend(A).append(S)},umd:function(t,e,n){var r=e.dependencies,i=e.exports,s=e.hasExports,o=e.indentString,a=e.intro,u=e.namedExportsMode,h=e.outro,c=e.varOrConst,p=e.warn,l=n.compact?"":" ",d=n.compact?"":"\n",f=n.compact?"f":"factory",m=n.compact?"g":"global";s&&!n.name&&Ie({code:"INVALID_OPTION",message:'You must supply "output.name" for UMD bundles.'}),be(p,r);var g=r.map(function(t){return"'"+t.id+"'"}),v=r.map(function(t){return"require('"+t.id+"')"}),y=Oe(r),x=y.map(function(t){return ze(t.globalName,m)}),_=y.map(function(t){return t.name});u&&(s||!0===n.noConflict)&&(g.unshift("'exports'"),v.unshift("exports"),x.unshift(Re(n.name,m,n.globals,n.compact,(n.extend?""+ze(n.name,m)+l+"||"+l:"")+"{}")),_.unshift("exports"));var E,b=n.amd||{},A=(b.id?"'"+b.id+"',"+l:"")+(g.length?"["+g.join(","+l)+"],"+l:""),S=b.define||"define",w=!u&&s?"module.exports"+l+"="+l:"",I=!1!==n.strict?l+"'use strict';"+d:"";if(!0===n.noConflict){var P=n.compact?"e":"exports",k=void 0;!u&&s?k="var "+P+l+"="+l+Re(n.name,m,n.globals,n.compact,f+"("+x.join(","+l)+")")+";":u&&(k="var "+P+l+"="+l+x.shift()+";"+d+o+o+f+"("+[P].concat(x).join(","+l)+");"),E="(function"+l+"()"+l+"{"+d+o+o+"var current"+l+"="+l+function(t,e,n){var r=t.split("."),i=e;return r.map(function(t){return i+=Ce(t)}).join(n+"&&"+n)}(n.name,m,l)+";"+d+o+o+k+d+o+o+P+".noConflict"+l+"="+l+"function"+l+"()"+l+"{"+l+ze(n.name,m)+l+"="+l+"current;"+l+"return "+P+(n.compact?"":"; ")+"};"+d+o+"}())"}else E=f+"("+x.join(","+l)+")",!u&&s&&(E=Re(n.name,m,n.globals,n.compact,E));var C=s||!0===n.noConflict&&u||x.length>0,N=C?"this,"+l:"",R=C?"("+m+l+"="+l+m+l+"||"+l+"self,"+l:"",O=C?")":"",M="(function"+l+"("+(C?m+","+l:"")+f+")"+l+"{"+d+(C?o+"typeof exports"+l+"==="+l+"'object'"+l+"&&"+l+"typeof module"+l+"!=="+l+"'undefined'"+l+"?"+l+w+f+"("+v.join(","+l)+")"+l+":"+d:"")+o+"typeof "+S+l+"==="+l+"'function'"+l+"&&"+l+S+".amd"+l+"?"+l+S+"("+A+f+")"+l+":"+d+o+R+E+O+";"+d+"}("+N+"function"+l+"("+_.join(", ")+")"+l+"{"+I+d,T=d+d+"}));",L=_e(r,n,c);L&&t.prepend(L+d+d),a&&t.prepend(a);var D=xe(i,r,u,n.interop,n.compact,o);return D&&t.append(d+d+D),u&&s&&n.esModule&&t.append(d+d+(n.compact?ye:ve)),h&&t.append(h),t.trim().indent(o).append(T).prepend(M)}},We={ArrayPattern:function(t,e){for(var n=0,r=e.elements;n<r.length;n++){var i=r[n];i&&We[i.type](t,i)}},AssignmentPattern:function(t,e){We[e.left.type](t,e.left)},Identifier:function(t,e){t.push(e.name)},MemberExpression:function(){},ObjectPattern:function(t,e){for(var n=0,r=e.properties;n<r.length;n++){var i=r[n];"RestElement"===i.type?We.RestElement(t,i):We[i.value.type](t,i.value)}},RestElement:function(t,e){We[e.argument.type](t,e.argument)}},Ue=Object.create(null);function Fe(t,e,n,r){if(e.remove(n,r),t.annotations)for(var i=0,s=t.annotations;i<s.length;i++){var o=s[i];if(!(o.start<n))return;e.remove(o.start,o.end)}}function qe(t,e){if(t.annotations||t.parent.type!==et||(t=t.parent),t.annotations)for(var n=0,r=t.annotations;n<r.length;n++){var i=r[n];e.remove(i.start,i.end)}}var Ge={isNoStatement:!0};function He(t,e,n){var r,i;for(void 0===n&&(n=0),r=t.indexOf(e,n);;){if(-1===(n=t.indexOf("/",n))||n>r)return r;if(i=t.charCodeAt(++n),++n,47===i){if(0===(n=t.indexOf("\n",n)+1))return-1;n>r&&(r=t.indexOf(e,n))}else 42===i&&(n=t.indexOf("*/",n)+2)>r&&(r=t.indexOf(e,n))}}function Ke(t,e){var n,r;for(void 0===e&&(e=0),n=t.indexOf("\n",e);;){if(-1===(e=t.indexOf("/",e))||e>n)return n;if(47===(r=t.charCodeAt(++e)))return n;++e,42===r&&(e=t.indexOf("*/",e)+2)>n&&(n=t.indexOf("\n",e))}}function Ye(t,e,n,r,i){if(0!==t.length){var s,o,a,u,h=t[0],c=!h.included||h.needsBoundaries;c&&(u=n+Ke(e.original.slice(n,h.start))+1);for(var p=1;p<=t.length;p++)s=h,o=u,a=c,c=void 0!==(h=t[p])&&(!h.included||h.needsBoundaries),a||c?(u=s.end+Ke(e.original.slice(s.end,void 0===h?r:h.start))+1,s.included?a?s.render(e,i,{end:u,start:o}):s.render(e,i):Fe(s,e,o,u)):s.render(e,i)}}function Xe(t,e,n,r){for(var i,s,o,a,u,h=[],c=n-1,p=0;p<t.length;p++){for(s=t[p],void 0!==i&&(c=i.end+He(e.original.slice(i.end,s.start),",")),o=a=c+2+Ke(e.original.slice(c+1,s.start));32===(u=e.original.charCodeAt(o))||9===u||10===u||13===u;)o++;void 0!==i&&h.push({contentEnd:a,end:o,node:i,separator:c,start:n}),i=s,n=o}return h.push({contentEnd:r,end:r,node:i,separator:null,start:n}),h}var Qe="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$",$e=64;function Je(t){var e="";do{var n=t%$e;t=Math.floor(t/$e),e=Qe[n]+e}while(0!==t);return e}function Ze(t,e){for(var n=t,r=1;e[n];)n=t+"$"+Je(r++);return e[n]=!0,n}var tn=function(){function t(){this.children=[],this.variables=Object.create(null)}return t.prototype.addDeclaration=function(t,e,n,r){void 0===n&&(n=null);var i=t.name;return this.variables[i]?this.variables[i].addDeclaration(t,n):this.variables[i]=new Wt(t.name,t,n||ft,e),this.variables[i]},t.prototype.contains=function(t){return t in this.variables},t.prototype.findVariable=function(t){throw new Error("Internal Error: findVariable needs to be implemented by a subclass")},t}(),en=function(t){function e(e){var n=t.call(this)||this;return n.accessedOutsideVariables=Object.create(null),n.parent=e,e.children.push(n),n}return n(e,t),e.prototype.addNamespaceMemberAccess=function(t,n){this.accessedOutsideVariables[t]=n,this.parent instanceof e&&this.parent.addNamespaceMemberAccess(t,n)},e.prototype.addReturnExpression=function(t){this.parent instanceof e&&this.parent.addReturnExpression(t)},e.prototype.contains=function(t){return t in this.variables||this.parent.contains(t)},e.prototype.deconflict=function(t){for(var e=Object.assign(Object.create(null),t),n=0,r=Object.keys(this.accessedOutsideVariables);n<r.length;n++){var i=r[n];(a=this.accessedOutsideVariables[i]).included&&(e[a.getBaseVariableName()]=!0)}for(var s=0,o=Object.keys(this.variables);s<o.length;s++){var a;i=o[s];(a=this.variables[i]).included&&a.setSafeName(Ze(i,e))}for(var u=0,h=this.children;u<h.length;u++){h[u].deconflict(t)}},e.prototype.findLexicalBoundary=function(){return this.parent instanceof e?this.parent.findLexicalBoundary():this},e.prototype.findVariable=function(t){var e=this.variables[t]||this.accessedOutsideVariables[t];return e||(this.accessedOutsideVariables[t]=this.parent.findVariable(t))},e}(tn),nn=5,rn=1<<nn,sn=rn-1,on={};function an(t){t&&(t.value=!0)}function un(){}function hn(t){return void 0===t.size&&(t.size=t.__iterate(pn)),t.size}function cn(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?hn(t)+e:e}function pn(){return!0}function ln(t,e,n){return(0===t&&!gn(t)||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function dn(t,e){return mn(t,e,0)}function fn(t,e){return mn(t,e,e)}function mn(t,e,n){return void 0===t?n:gn(t)?e===1/0?e:0|Math.max(0,e+t):void 0===e||e===t?t:0|Math.min(e,t)}function gn(t){return t<0||0===t&&1/t==-1/0}var vn="@@__IMMUTABLE_ITERABLE__@@";function yn(t){return Boolean(t&&t[vn])}var xn="@@__IMMUTABLE_KEYED__@@";function _n(t){return Boolean(t&&t[xn])}var En="@@__IMMUTABLE_INDEXED__@@";function bn(t){return Boolean(t&&t[En])}function An(t){return _n(t)||bn(t)}var Sn=function(t){return yn(t)?t:Qn(t)},wn=function(t){function e(t){return _n(t)?t:$n(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Sn),In=function(t){function e(t){return bn(t)?t:Jn(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Sn),Pn=function(t){function e(t){return yn(t)&&!An(t)?t:Zn(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Sn);Sn.Keyed=wn,Sn.Indexed=In,Sn.Set=Pn;var kn="@@__IMMUTABLE_SEQ__@@";function Cn(t){return Boolean(t&&t[kn])}var Nn="@@__IMMUTABLE_RECORD__@@";function Rn(t){return Boolean(t&&t[Nn])}function On(t){return yn(t)||Rn(t)}var Mn="@@__IMMUTABLE_ORDERED__@@";function Tn(t){return Boolean(t&&t[Mn])}var Ln=0,Dn=1,Vn=2,Bn="function"==typeof Symbol&&Symbol.iterator,zn="@@iterator",jn=Bn||zn,Wn=function(t){this.next=t};function Un(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function Fn(){return{value:void 0,done:!0}}function qn(t){return!!Kn(t)}function Gn(t){return t&&"function"==typeof t.next}function Hn(t){var e=Kn(t);return e&&e.call(t)}function Kn(t){var e=t&&(Bn&&t[Bn]||t[zn]);if("function"==typeof e)return e}Wn.prototype.toString=function(){return"[Iterator]"},Wn.KEYS=Ln,Wn.VALUES=Dn,Wn.ENTRIES=Vn,Wn.prototype.inspect=Wn.prototype.toSource=function(){return this.toString()},Wn.prototype[jn]=function(){return this};var Yn=Object.prototype.hasOwnProperty;function Xn(t){return!(!Array.isArray(t)&&"string"!=typeof t)||t&&"object"==typeof t&&Number.isInteger(t.length)&&t.length>=0&&(0===t.length?1===Object.keys(t).length:t.hasOwnProperty(t.length-1))}var Qn=function(t){function e(t){return null==t?ir():On(t)?t.toSeq():function(t){var e=ar(t);if(e)return e;if("object"==typeof t)return new er(t);throw new TypeError("Expected Array or collection object of values, or keyed object: "+t)}(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq {","}")},e.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},e.prototype.__iterate=function(t,e){var n=this._cache;if(n){for(var r=n.length,i=0;i!==r;){var s=n[e?r-++i:i++];if(!1===t(s[1],s[0],this))break}return i}return this.__iterateUncached(t,e)},e.prototype.__iterator=function(t,e){var n=this._cache;if(n){var r=n.length,i=0;return new Wn(function(){if(i===r)return{value:void 0,done:!0};var s=n[e?r-++i:i++];return Un(t,s[0],s[1])})}return this.__iteratorUncached(t,e)},e}(Sn),$n=function(t){function e(t){return null==t?ir().toKeyedSeq():yn(t)?_n(t)?t.toSeq():t.fromEntrySeq():Rn(t)?t.toSeq():sr(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toKeyedSeq=function(){return this},e}(Qn),Jn=function(t){function e(t){return null==t?ir():yn(t)?_n(t)?t.entrySeq():t.toIndexedSeq():Rn(t)?t.toSeq().entrySeq():or(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toIndexedSeq=function(){return this},e.prototype.toString=function(){return this.__toString("Seq [","]")},e}(Qn),Zn=function(t){function e(t){return(yn(t)&&!An(t)?t:Jn(t)).toSetSeq()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return e(arguments)},e.prototype.toSetSeq=function(){return this},e}(Qn);Qn.isSeq=Cn,Qn.Keyed=$n,Qn.Set=Zn,Qn.Indexed=Jn,Qn.prototype[kn]=!0;var tr=function(t){function e(t){this._array=t,this.size=t.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this.has(t)?this._array[cn(this,t)]:e},e.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length,i=0;i!==r;){var s=e?r-++i:i++;if(!1===t(n[s],s,this))break}return i},e.prototype.__iterator=function(t,e){var n=this._array,r=n.length,i=0;return new Wn(function(){if(i===r)return{value:void 0,done:!0};var s=e?r-++i:i++;return Un(t,s,n[s])})},e}(Jn),er=function(t){function e(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},e.prototype.has=function(t){return Yn.call(this._object,t)},e.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length,s=0;s!==i;){var o=r[e?i-++s:s++];if(!1===t(n[o],o,this))break}return s},e.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length,s=0;return new Wn(function(){if(s===i)return{value:void 0,done:!0};var o=r[e?i-++s:s++];return Un(t,o,n[o])})},e}($n);er.prototype[Mn]=!0;var nr,rr=function(t){function e(t){this._collection=t,this.size=t.length||t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=Hn(this._collection),r=0;if(Gn(n))for(var i;!(i=n.next()).done&&!1!==t(i.value,r++,this););return r},e.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=Hn(this._collection);if(!Gn(n))return new Wn(Fn);var r=0;return new Wn(function(){var e=n.next();return e.done?e:Un(t,r++,e.value)})},e}(Jn);function ir(){return nr||(nr=new tr([]))}function sr(t){var e=Array.isArray(t)?new tr(t):qn(t)?new rr(t):void 0;if(e)return e.fromEntrySeq();if("object"==typeof t)return new er(t);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+t)}function or(t){var e=ar(t);if(e)return e;throw new TypeError("Expected Array or collection object of values: "+t)}function ar(t){return Xn(t)?new tr(t):qn(t)?new rr(t):void 0}var ur="@@__IMMUTABLE_MAP__@@";function hr(t){return Boolean(t&&t[ur])}function cr(t){return hr(t)&&Tn(t)}function pr(t){return Boolean(t&&"function"==typeof t.equals&&"function"==typeof t.hashCode)}function lr(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if((t=t.valueOf())===(e=e.valueOf())||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!!(pr(t)&&pr(e)&&t.equals(e))}var dr="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function fr(t){return t>>>1&1073741824|3221225471&t}var mr=Object.prototype.valueOf;function gr(t){switch(typeof t){case"boolean":return t?1108378657:1108378656;case"number":return function(t){if(t!=t||t===1/0)return 0;var e=0|t;e!==t&&(e^=4294967295*t);for(;t>4294967295;)e^=t/=4294967295;return fr(e)}(t);case"string":return t.length>Sr?function(t){var e=Pr[t];void 0===e&&(e=vr(t),Ir===wr&&(Ir=0,Pr={}),Ir++,Pr[t]=e);return e}(t):vr(t);case"object":case"function":return null===t?1108378658:"function"==typeof t.hashCode?fr(t.hashCode(t)):(t.valueOf!==mr&&"function"==typeof t.valueOf&&(t=t.valueOf(t)),function(t){var e;if(Er&&void 0!==(e=_r.get(t)))return e;if(void 0!==(e=t[Ar]))return e;if(!xr){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Ar]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}e=++br,1073741824&br&&(br=0);if(Er)_r.set(t,e);else{if(void 0!==yr&&!1===yr(t))throw new Error("Non-extensible objects are not allowed as keys.");if(xr)Object.defineProperty(t,Ar,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Ar]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Ar]=e}}return e}(t));case"undefined":return 1108378659;default:if("function"==typeof t.toString)return vr(t.toString());throw new Error("Value type "+typeof t+" cannot be hashed.")}}function vr(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return fr(e)}var yr=Object.isExtensible,xr=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}();var _r,Er="function"==typeof WeakMap;Er&&(_r=new WeakMap);var br=0,Ar="__immutablehash__";"function"==typeof Symbol&&(Ar=Symbol(Ar));var Sr=16,wr=255,Ir=0,Pr={},kr=function(t){function e(t,e){this._iter=t,this._useKeys=e,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._iter.get(t,e)},e.prototype.has=function(t){return this._iter.has(t)},e.prototype.valueSeq=function(){return this._iter.valueSeq()},e.prototype.reverse=function(){var t=this,e=Tr(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},e.prototype.map=function(t,e){var n=this,r=Mr(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e,r){return t(e,r,n)},e)},e.prototype.__iterator=function(t,e){return this._iter.__iterator(t,e)},e}($n);kr.prototype[Mn]=!0;var Cr=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.includes=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this,r=0;return e&&hn(this),this._iter.__iterate(function(i){return t(i,e?n.size-++r:r++,n)},e)},e.prototype.__iterator=function(t,e){var n=this,r=this._iter.__iterator(Dn,e),i=0;return e&&hn(this),new Wn(function(){var s=r.next();return s.done?s:Un(t,e?n.size-++i:i++,s.value,s)})},e}(Jn),Nr=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.has=function(t){return this._iter.includes(t)},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(Dn,e);return new Wn(function(){var e=n.next();return e.done?e:Un(t,e.value,e.value,e)})},e}(Zn),Rr=function(t){function e(t){this._iter=t,this.size=t.size}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.entrySeq=function(){return this._iter.toSeq()},e.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){qr(e);var r=yn(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},e.prototype.__iterator=function(t,e){var n=this._iter.__iterator(Dn,e);return new Wn(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){qr(r);var i=yn(r);return Un(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},e}($n);function Or(t){var e=Hr(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Kr,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===Vn){var r=t.__iterator(e,n);return new Wn(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===Dn?Ln:Dn,n)},e}function Mr(t,e,n){var r=Hr(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var s=t.get(r,on);return s===on?i:e.call(n,s,r,t)},r.__iterateUncached=function(r,i){var s=this;return t.__iterate(function(t,i,o){return!1!==r(e.call(n,t,i,o),i,s)},i)},r.__iteratorUncached=function(r,i){var s=t.__iterator(Vn,i);return new Wn(function(){var i=s.next();if(i.done)return i;var o=i.value,a=o[0];return Un(r,a,e.call(n,o[1],a,t),i)})},r}function Tr(t,e){var n=this,r=Hr(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=Or(t);return e.reverse=function(){return t.flip()},e}),r.get=function(n,r){return t.get(e?n:-1-n,r)},r.has=function(n){return t.has(e?n:-1-n)},r.includes=function(e){return t.includes(e)},r.cacheResult=Kr,r.__iterate=function(n,r){var i=this,s=0;return r&&hn(t),t.__iterate(function(t,o){return n(t,e?o:r?i.size-++s:s++,i)},!r)},r.__iterator=function(r,i){var s=0;i&&hn(t);var o=t.__iterator(Vn,!i);return new Wn(function(){var t=o.next();if(t.done)return t;var a=t.value;return Un(r,e?a[0]:i?n.size-++s:s++,a[1],t)})},r}function Lr(t,e,n,r){var i=Hr(t);return r&&(i.has=function(r){var i=t.get(r,on);return i!==on&&!!e.call(n,i,r,t)},i.get=function(r,i){var s=t.get(r,on);return s!==on&&e.call(n,s,r,t)?s:i}),i.__iterateUncached=function(i,s){var o=this,a=0;return t.__iterate(function(t,s,u){if(e.call(n,t,s,u))return a++,i(t,r?s:a-1,o)},s),a},i.__iteratorUncached=function(i,s){var o=t.__iterator(Vn,s),a=0;return new Wn(function(){for(;;){var s=o.next();if(s.done)return s;var u=s.value,h=u[0],c=u[1];if(e.call(n,c,h,t))return Un(i,r?h:a++,c,s)}})},i}function Dr(t,e,n,r){var i=t.size;if(ln(e,n,i))return t;var s=dn(e,i),o=fn(n,i);if(s!=s||o!=o)return Dr(t.toSeq().cacheResult(),e,n,r);var a,u=o-s;u==u&&(a=u<0?0:u);var h=Hr(t);return h.size=0===a?a:t.size&&a||void 0,!r&&Cn(t)&&a>=0&&(h.get=function(e,n){return(e=cn(this,e))>=0&&e<a?t.get(e+s,n):n}),h.__iterateUncached=function(e,n){var i=this;if(0===a)return 0;if(n)return this.cacheResult().__iterate(e,n);var o=0,u=!0,h=0;return t.__iterate(function(t,n){if(!u||!(u=o++<s))return h++,!1!==e(t,r?n:h-1,i)&&h!==a}),h},h.__iteratorUncached=function(e,n){if(0!==a&&n)return this.cacheResult().__iterator(e,n);if(0===a)return new Wn(Fn);var i=t.__iterator(e,n),o=0,u=0;return new Wn(function(){for(;o++<s;)i.next();if(++u>a)return{value:void 0,done:!0};var t=i.next();return r||e===Dn||t.done?t:Un(e,u-1,e===Ln?void 0:t.value[1],t)})},h}function Vr(t,e,n,r){var i=Hr(t);return i.__iterateUncached=function(i,s){var o=this;if(s)return this.cacheResult().__iterate(i,s);var a=!0,u=0;return t.__iterate(function(t,s,h){if(!a||!(a=e.call(n,t,s,h)))return u++,i(t,r?s:u-1,o)}),u},i.__iteratorUncached=function(i,s){var o=this;if(s)return this.cacheResult().__iterator(i,s);var a=t.__iterator(Vn,s),u=!0,h=0;return new Wn(function(){var t,s,c;do{if((t=a.next()).done)return r||i===Dn?t:Un(i,h++,i===Ln?void 0:t.value[1],t);var p=t.value;s=p[0],c=p[1],u&&(u=e.call(n,c,s,o))}while(u);return i===Vn?t:Un(i,s,c,t)})},i}function Br(t,e,n){var r=Hr(t);return r.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);var o=0,a=!1;return function t(u,h){u.__iterate(function(s,u){return(!e||h<e)&&yn(s)?t(s,h+1):(o++,!1===i(s,n?u:o-1,r)&&(a=!0)),!a},s)}(t,0),o},r.__iteratorUncached=function(r,i){if(i)return this.cacheResult().__iterator(r,i);var s=t.__iterator(r,i),o=[],a=0;return new Wn(function(){for(;s;){var t=s.next();if(!1===t.done){var u=t.value;if(r===Vn&&(u=u[1]),e&&!(o.length<e)||!yn(u))return n?t:Un(r,a++,u,t);o.push(s),s=u.__iterator(r,i)}else s=o.pop()}return{value:void 0,done:!0}})},r}function zr(t,e,n){e||(e=Yr);var r=_n(t),i=0,s=t.toSeq().map(function(e,r){return[r,e,i++,n?n(e,r,t):e]}).valueSeq().toArray();return s.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){s[e].length=2}:function(t,e){s[e]=t[1]}),r?$n(s):bn(t)?Jn(s):Zn(s)}function jr(t,e,n){if(e||(e=Yr),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Wr(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Wr(e,t,n)?n:t})}function Wr(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Ur(t,e,n,r){var i=Hr(t),s=new tr(n).map(function(t){return t.size});return i.size=r?s.max():s.min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(Dn,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var s=n.map(function(t){return t=Sn(t),Hn(i?t.reverse():t)}),o=0,a=!1;return new Wn(function(){var n;return a||(n=s.map(function(t){return t.next()}),a=r?n.every(function(t){return t.done}):n.some(function(t){return t.done})),a?{value:void 0,done:!0}:Un(t,o++,e.apply(null,n.map(function(t){return t.value})))})},i}function Fr(t,e){return t===e?t:Cn(t)?e:t.constructor(e)}function qr(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Gr(t){return _n(t)?wn:bn(t)?In:Pn}function Hr(t){return Object.create((_n(t)?$n:bn(t)?Jn:Zn).prototype)}function Kr(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Qn.prototype.cacheResult.call(this)}function Yr(t,e){return void 0===t&&void 0===e?0:void 0===t?1:void 0===e?-1:t>e?1:t<e?-1:0}function Xr(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function Qr(t,e){if(!t)throw new Error(e)}function $r(t){Qr(t!==1/0,"Cannot perform this action with an infinite size.")}function Jr(t){if(Xn(t)&&"string"!=typeof t)return t;if(Tn(t))return t.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+t)}function Zr(t){return t&&("function"!=typeof t.constructor||"Object"===t.constructor.name)}function ti(t){return"object"==typeof t&&(On(t)||Array.isArray(t)||Zr(t))}function ei(t){try{return"string"==typeof t?JSON.stringify(t):String(t)}catch(e){return JSON.stringify(t)}}function ni(t,e){return On(t)?t.has(e):ti(t)&&Yn.call(t,e)}function ri(t,e,n){return On(t)?t.get(e,n):ni(t,e)?"function"==typeof t.get?t.get(e):t[e]:n}function ii(t){if(Array.isArray(t))return Xr(t);var e={};for(var n in t)Yn.call(t,n)&&(e[n]=t[n]);return e}function si(t,e){if(!ti(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(On(t)){if(!t.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+t);return t.remove(e)}if(!Yn.call(t,e))return t;var n=ii(t);return Array.isArray(n)?n.splice(e,1):delete n[e],n}function oi(t,e,n){if(!ti(t))throw new TypeError("Cannot update non-data-structure value: "+t);if(On(t)){if(!t.set)throw new TypeError("Cannot update immutable value without .set() method: "+t);return t.set(e,n)}if(Yn.call(t,e)&&n===t[e])return t;var r=ii(t);return r[e]=n,r}function ai(t,e,n,r){r||(r=n,n=void 0);var i=function t(e,n,r,i,s,o){var a=n===on;if(i===r.length){var u=a?s:n,h=o(u);return h===u?n:h}if(!a&&!ti(n))throw new TypeError("Cannot update within non-data-structure value in path ["+r.slice(0,i).map(ei)+"]: "+n);var c=r[i];var p=a?on:ri(n,c,on);var l=t(p===on?e:On(p),p,r,i+1,s,o);return l===p?n:l===on?si(n,c):oi(a?e?ji():{}:n,c,l)}(On(t),t,Jr(e),0,n,r);return i===on?n:i}function ui(t,e,n){return ai(t,e,on,function(){return n})}function hi(t,e){return ui(this,t,e)}function ci(t,e){return ai(t,e,function(){return on})}function pi(t){return ci(this,t)}function li(t,e,n,r){return ai(t,[e],n,r)}function di(t,e,n){return 1===arguments.length?t(this):li(this,t,e,n)}function fi(t,e,n){return ai(this,t,e,n)}function mi(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return vi(this,t)}function gi(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if("function"!=typeof t)throw new TypeError("Invalid merger function: "+t);return vi(this,e,t)}function vi(t,e,n){for(var r=[],i=0;i<e.length;i++){var s=wn(e[i]);0!==s.size&&r.push(s)}return 0===r.length?t:0!==t.toSeq().size||t.__ownerID||1!==r.length?t.withMutations(function(t){for(var e=n?function(e,r){li(t,r,on,function(t){return t===on?e:n(t,e,r)})}:function(e,n){t.set(n,e)},i=0;i<r.length;i++)r[i].forEach(e)}):t.constructor(r[0])}function yi(t,e,n){return xi(t,e,function(t){return function e(n,r,i){return ti(n)&&ti(r)?xi(n,[r],e):t?t(n,r,i):r}}(n))}function xi(t,e,n){if(!ti(t))throw new TypeError("Cannot merge into non-data-structure value: "+t);if(On(t))return"function"==typeof n&&t.mergeWith?t.mergeWith.apply(t,[n].concat(e)):t.merge?t.merge.apply(t,e):t.concat.apply(t,e);for(var r=Array.isArray(t),i=t,s=r?In:wn,o=r?function(e){i===t&&(i=ii(i)),i.push(e)}:function(e,r){var s=Yn.call(i,r),o=s&&n?n(i[r],e,r):e;s&&o===i[r]||(i===t&&(i=ii(i)),i[r]=o)},a=0;a<e.length;a++)s(e[a]).forEach(o);return i}function _i(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return yi(this,t)}function Ei(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return yi(this,e,t)}function bi(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return ai(this,t,ji(),function(t){return xi(t,e)})}function Ai(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return ai(this,t,ji(),function(t){return yi(t,e)})}function Si(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this}function wi(){return this.__ownerID?this:this.__ensureOwner(new un)}function Ii(){return this.__ensureOwner()}function Pi(){return this.__altered}Cr.prototype.cacheResult=kr.prototype.cacheResult=Nr.prototype.cacheResult=Rr.prototype.cacheResult=Kr;var ki=function(t){function e(e){return null==e?ji():hr(e)&&!Tn(e)?e:ji().withMutations(function(n){var r=t(e);$r(r.size),r.forEach(function(t,e){return n.set(e,t)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return ji().withMutations(function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},e.prototype.toString=function(){return this.__toString("Map {","}")},e.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},e.prototype.set=function(t,e){return Wi(this,t,e)},e.prototype.remove=function(t){return Wi(this,t,on)},e.prototype.deleteAll=function(t){var e=Sn(t);return 0===e.size?this:this.withMutations(function(t){e.forEach(function(e){return t.remove(e)})})},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ji()},e.prototype.sort=function(t){return ls(zr(this,t))},e.prototype.sortBy=function(t,e){return ls(zr(this,e,t))},e.prototype.map=function(t,e){return this.withMutations(function(n){n.forEach(function(r,i){n.set(i,t.call(e,r,i,n))})})},e.prototype.__iterator=function(t,e){return new Di(this,t,e)},e.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?zi(this.size,this._root,t,this.__hash):0===this.size?ji():(this.__ownerID=t,this.__altered=!1,this)},e}(wn);ki.isMap=hr;var Ci=ki.prototype;Ci[ur]=!0,Ci.delete=Ci.remove,Ci.removeAll=Ci.deleteAll,Ci.setIn=hi,Ci.removeIn=Ci.deleteIn=pi,Ci.update=di,Ci.updateIn=fi,Ci.merge=Ci.concat=mi,Ci.mergeWith=gi,Ci.mergeDeep=_i,Ci.mergeDeepWith=Ei,Ci.mergeIn=bi,Ci.mergeDeepIn=Ai,Ci.withMutations=Si,Ci.wasAltered=Pi,Ci.asImmutable=Ii,Ci["@@transducer/init"]=Ci.asMutable=wi,Ci["@@transducer/step"]=function(t,e){return t.set(e[0],e[1])},Ci["@@transducer/result"]=function(t){return t.asImmutable()};var Ni=function(t,e){this.ownerID=t,this.entries=e};Ni.prototype.get=function(t,e,n,r){for(var i=this.entries,s=0,o=i.length;s<o;s++)if(lr(n,i[s][0]))return i[s][1];return r},Ni.prototype.update=function(t,e,n,r,i,s,o){for(var a=i===on,u=this.entries,h=0,c=u.length;h<c&&!lr(r,u[h][0]);h++);var p=h<c;if(p?u[h][1]===i:a)return this;if(an(o),(a||!p)&&an(s),!a||1!==u.length){if(!p&&!a&&u.length>=Ki)return function(t,e,n,r){t||(t=new un);for(var i=new Ti(t,gr(n),[n,r]),s=0;s<e.length;s++){var o=e[s];i=i.update(t,0,void 0,o[0],o[1])}return i}(t,u,r,i);var l=t&&t===this.ownerID,d=l?u:Xr(u);return p?a?h===c-1?d.pop():d[h]=d.pop():d[h]=[r,i]:d.push([r,i]),l?(this.entries=d,this):new Ni(t,d)}};var Ri=function(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n};Ri.prototype.get=function(t,e,n,r){void 0===e&&(e=gr(n));var i=1<<((0===t?e:e>>>t)&sn),s=this.bitmap;return 0==(s&i)?r:this.nodes[Gi(s&i-1)].get(t+nn,e,n,r)},Ri.prototype.update=function(t,e,n,r,i,s,o){void 0===n&&(n=gr(r));var a=(0===e?n:n>>>e)&sn,u=1<<a,h=this.bitmap,c=0!=(h&u);if(!c&&i===on)return this;var p=Gi(h&u-1),l=this.nodes,d=c?l[p]:void 0,f=Ui(d,t,e+nn,n,r,i,s,o);if(f===d)return this;if(!c&&f&&l.length>=Yi)return function(t,e,n,r,i){for(var s=0,o=new Array(rn),a=0;0!==n;a++,n>>>=1)o[a]=1&n?e[s++]:void 0;return o[r]=i,new Oi(t,s+1,o)}(t,l,h,a,f);if(c&&!f&&2===l.length&&Fi(l[1^p]))return l[1^p];if(c&&f&&1===l.length&&Fi(f))return f;var m=t&&t===this.ownerID,g=c?f?h:h^u:h|u,v=c?f?Hi(l,p,f,m):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),s=0,o=0;o<r;o++)o===e&&(s=1),i[o]=t[o+s];return i}(l,p,m):function(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var s=new Array(i),o=0,a=0;a<i;a++)a===e?(s[a]=n,o=-1):s[a]=t[a+o];return s}(l,p,f,m);return m?(this.bitmap=g,this.nodes=v,this):new Ri(t,g,v)};var Oi=function(t,e,n){this.ownerID=t,this.count=e,this.nodes=n};Oi.prototype.get=function(t,e,n,r){void 0===e&&(e=gr(n));var i=(0===t?e:e>>>t)&sn,s=this.nodes[i];return s?s.get(t+nn,e,n,r):r},Oi.prototype.update=function(t,e,n,r,i,s,o){void 0===n&&(n=gr(r));var a=(0===e?n:n>>>e)&sn,u=i===on,h=this.nodes,c=h[a];if(u&&!c)return this;var p=Ui(c,t,e+nn,n,r,i,s,o);if(p===c)return this;var l=this.count;if(c){if(!p&&--l<Xi)return function(t,e,n,r){for(var i=0,s=0,o=new Array(n),a=0,u=1,h=e.length;a<h;a++,u<<=1){var c=e[a];void 0!==c&&a!==r&&(i|=u,o[s++]=c)}return new Ri(t,i,o)}(t,h,l,a)}else l++;var d=t&&t===this.ownerID,f=Hi(h,a,p,d);return d?(this.count=l,this.nodes=f,this):new Oi(t,l,f)};var Mi=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n};Mi.prototype.get=function(t,e,n,r){for(var i=this.entries,s=0,o=i.length;s<o;s++)if(lr(n,i[s][0]))return i[s][1];return r},Mi.prototype.update=function(t,e,n,r,i,s,o){void 0===n&&(n=gr(r));var a=i===on;if(n!==this.keyHash)return a?this:(an(o),an(s),qi(this,t,e,n,[r,i]));for(var u=this.entries,h=0,c=u.length;h<c&&!lr(r,u[h][0]);h++);var p=h<c;if(p?u[h][1]===i:a)return this;if(an(o),(a||!p)&&an(s),a&&2===c)return new Ti(t,this.keyHash,u[1^h]);var l=t&&t===this.ownerID,d=l?u:Xr(u);return p?a?h===c-1?d.pop():d[h]=d.pop():d[h]=[r,i]:d.push([r,i]),l?(this.entries=d,this):new Mi(t,this.keyHash,d)};var Ti=function(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n};Ti.prototype.get=function(t,e,n,r){return lr(n,this.entry[0])?this.entry[1]:r},Ti.prototype.update=function(t,e,n,r,i,s,o){var a=i===on,u=lr(r,this.entry[0]);return(u?i===this.entry[1]:a)?this:(an(o),a?void an(s):u?t&&t===this.ownerID?(this.entry[1]=i,this):new Ti(t,this.keyHash,[r,i]):(an(s),qi(this,t,e,gr(r),[r,i])))},Ni.prototype.iterate=Mi.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===t(n[e?i-r:r]))return!1},Ri.prototype.iterate=Oi.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var s=n[e?i-r:r];if(s&&!1===s.iterate(t,e))return!1}},Ti.prototype.iterate=function(t,e){return t(this.entry)};var Li,Di=function(t){function e(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&Bi(t._root)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n=e.node,r=e.index++,i=void 0;if(n.entry){if(0===r)return Vi(t,n.entry)}else if(n.entries){if(r<=(i=n.entries.length-1))return Vi(t,n.entries[this._reverse?i-r:r])}else if(r<=(i=n.nodes.length-1)){var s=n.nodes[this._reverse?i-r:r];if(s){if(s.entry)return Vi(t,s.entry);e=this._stack=Bi(s,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}},e}(Wn);function Vi(t,e){return Un(t,e[0],e[1])}function Bi(t,e){return{node:t,index:0,__prev:e}}function zi(t,e,n,r){var i=Object.create(Ci);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function ji(){return Li||(Li=zi(0))}function Wi(t,e,n){var r,i;if(t._root){var s={value:!1},o={value:!1};if(r=Ui(t._root,t.__ownerID,0,void 0,e,n,s,o),!o.value)return t;i=t.size+(s.value?n===on?-1:1:0)}else{if(n===on)return t;i=1,r=new Ni(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?zi(i,r):ji()}function Ui(t,e,n,r,i,s,o,a){return t?t.update(e,n,r,i,s,o,a):s===on?t:(an(a),an(o),new Ti(e,r,[i,s]))}function Fi(t){return t.constructor===Ti||t.constructor===Mi}function qi(t,e,n,r,i){if(t.keyHash===r)return new Mi(e,r,[t.entry,i]);var s,o=(0===n?t.keyHash:t.keyHash>>>n)&sn,a=(0===n?r:r>>>n)&sn,u=o===a?[qi(t,e,n+nn,r,i)]:(s=new Ti(e,r,i),o<a?[t,s]:[s,t]);return new Ri(e,1<<o|1<<a,u)}function Gi(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Hi(t,e,n,r){var i=r?t:Xr(t);return i[e]=n,i}var Ki=rn/4,Yi=rn/2,Xi=rn/4,Qi="@@__IMMUTABLE_LIST__@@";function $i(t){return Boolean(t&&t[Qi])}var Ji=function(t){function e(e){var n=ss();if(null==e)return n;if($i(e))return e;var r=t(e),i=r.size;return 0===i?n:($r(i),i>0&&i<rn?is(0,i,nn,null,new ts(r.toArray())):n.withMutations(function(t){t.setSize(i),r.forEach(function(e,n){return t.set(n,e)})}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("List [","]")},e.prototype.get=function(t,e){if((t=cn(this,t))>=0&&t<this.size){var n=us(this,t+=this._origin);return n&&n.array[t&sn]}return e},e.prototype.set=function(t,e){return function(t,e,n){if((e=cn(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?hs(t,e).set(0,n):hs(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,s={value:!1};e>=cs(t._capacity)?r=os(r,t.__ownerID,0,e,n,s):i=os(i,t.__ownerID,t._level,e,n,s);if(!s.value)return t;if(t.__ownerID)return t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t;return is(t._origin,t._capacity,t._level,i,r)}(this,t,e)},e.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},e.prototype.insert=function(t,e){return this.splice(t,0,e)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=nn,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ss()},e.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){hs(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},e.prototype.pop=function(){return hs(this,0,-1)},e.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){hs(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},e.prototype.shift=function(){return hs(this,1)},e.prototype.concat=function(){for(var e=arguments,n=[],r=0;r<arguments.length;r++){var i=e[r],s=t("string"!=typeof i&&qn(i)?i:[i]);0!==s.size&&n.push(s)}return 0===n.length?this:0!==this.size||this.__ownerID||1!==n.length?this.withMutations(function(t){n.forEach(function(e){return e.forEach(function(e){return t.push(e)})})}):this.constructor(n[0])},e.prototype.setSize=function(t){return hs(this,0,t)},e.prototype.map=function(t,e){var n=this;return this.withMutations(function(r){for(var i=0;i<n.size;i++)r.set(i,t.call(e,r.get(i),i,r))})},e.prototype.slice=function(t,e){var n=this.size;return ln(t,e,n)?this:hs(this,dn(t,n),fn(e,n))},e.prototype.__iterator=function(t,e){var n=e?this.size:0,r=rs(this,e);return new Wn(function(){var i=r();return i===ns?{value:void 0,done:!0}:Un(t,e?--n:n++,i)})},e.prototype.__iterate=function(t,e){for(var n,r=e?this.size:0,i=rs(this,e);(n=i())!==ns&&!1!==t(n,e?--r:r++,this););return r},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?is(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):0===this.size?ss():(this.__ownerID=t,this.__altered=!1,this)},e}(In);Ji.isList=$i;var Zi=Ji.prototype;Zi[Qi]=!0,Zi.delete=Zi.remove,Zi.merge=Zi.concat,Zi.setIn=hi,Zi.deleteIn=Zi.removeIn=pi,Zi.update=di,Zi.updateIn=fi,Zi.mergeIn=bi,Zi.mergeDeepIn=Ai,Zi.withMutations=Si,Zi.wasAltered=Pi,Zi.asImmutable=Ii,Zi["@@transducer/init"]=Zi.asMutable=wi,Zi["@@transducer/step"]=function(t,e){return t.push(e)},Zi["@@transducer/result"]=function(t){return t.asImmutable()};var ts=function(t,e){this.array=t,this.ownerID=e};ts.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&sn;if(r>=this.array.length)return new ts([],t);var i,s=0===r;if(e>0){var o=this.array[r];if((i=o&&o.removeBefore(t,e-nn,n))===o&&s)return this}if(s&&!i)return this;var a=as(this,t);if(!s)for(var u=0;u<r;u++)a.array[u]=void 0;return i&&(a.array[r]=i),a},ts.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&sn;if(i>=this.array.length)return this;if(e>0){var s=this.array[i];if((r=s&&s.removeAfter(t,e-nn,n))===s&&i===this.array.length-1)return this}var o=as(this,t);return o.array.splice(i+1),r&&(o.array[i]=r),o};var es,ns={};function rs(t,e){var n=t._origin,r=t._capacity,i=cs(r),s=t._tail;return o(t._root,t._level,0);function o(t,a,u){return 0===a?function(t,o){var a=o===i?s&&s.array:t&&t.array,u=o>n?0:n-o,h=r-o;h>rn&&(h=rn);return function(){if(u===h)return ns;var t=e?--h:u++;return a&&a[t]}}(t,u):function(t,i,s){var a,u=t&&t.array,h=s>n?0:n-s>>i,c=1+(r-s>>i);c>rn&&(c=rn);return function(){for(;;){if(a){var t=a();if(t!==ns)return t;a=null}if(h===c)return ns;var n=e?--c:h++;a=o(u&&u[n],i-nn,s+(n<<i))}}}(t,a,u)}}function is(t,e,n,r,i,s,o){var a=Object.create(Zi);return a.size=e-t,a._origin=t,a._capacity=e,a._level=n,a._root=r,a._tail=i,a.__ownerID=s,a.__hash=o,a.__altered=!1,a}function ss(){return es||(es=is(0,0,nn))}function os(t,e,n,r,i,s){var o,a=r>>>n&sn,u=t&&a<t.array.length;if(!u&&void 0===i)return t;if(n>0){var h=t&&t.array[a],c=os(h,e,n-nn,r,i,s);return c===h?t:((o=as(t,e)).array[a]=c,o)}return u&&t.array[a]===i?t:(s&&an(s),o=as(t,e),void 0===i&&a===o.array.length-1?o.array.pop():o.array[a]=i,o)}function as(t,e){return e&&t&&e===t.ownerID?t:new ts(t?t.array.slice():[],e)}function us(t,e){if(e>=cs(t._capacity))return t._tail;if(e<1<<t._level+nn){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&sn],r-=nn;return n}}function hs(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new un,i=t._origin,s=t._capacity,o=i+e,a=void 0===n?s:n<0?s+n:i+n;if(o===i&&a===s)return t;if(o>=a)return t.clear();for(var u=t._level,h=t._root,c=0;o+c<0;)h=new ts(h&&h.array.length?[void 0,h]:[],r),c+=1<<(u+=nn);c&&(o+=c,i+=c,a+=c,s+=c);for(var p=cs(s),l=cs(a);l>=1<<u+nn;)h=new ts(h&&h.array.length?[h]:[],r),u+=nn;var d=t._tail,f=l<p?us(t,a-1):l>p?new ts([],r):d;if(d&&l>p&&o<s&&d.array.length){for(var m=h=as(h,r),g=u;g>nn;g-=nn){var v=p>>>g&sn;m=m.array[v]=as(m.array[v],r)}m.array[p>>>nn&sn]=d}if(a<s&&(f=f&&f.removeAfter(r,0,a)),o>=l)o-=l,a-=l,u=nn,h=null,f=f&&f.removeBefore(r,0,o);else if(o>i||l<p){for(c=0;h;){var y=o>>>u&sn;if(y!==l>>>u&sn)break;y&&(c+=(1<<u)*y),u-=nn,h=h.array[y]}h&&o>i&&(h=h.removeBefore(r,u,o-c)),h&&l<p&&(h=h.removeAfter(r,u,l-c)),c&&(o-=c,a-=c)}return t.__ownerID?(t.size=a-o,t._origin=o,t._capacity=a,t._level=u,t._root=h,t._tail=f,t.__hash=void 0,t.__altered=!0,t):is(o,a,u,h,f)}function cs(t){return t<rn?0:t-1>>>nn<<nn}var ps,ls=function(t){function e(t){return null==t?fs():cr(t)?t:fs().withMutations(function(e){var n=wn(t);$r(n.size),n.forEach(function(t,n){return e.set(n,t)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("OrderedMap {","}")},e.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):fs()},e.prototype.set=function(t,e){return ms(this,t,e)},e.prototype.remove=function(t){return ms(this,t,on)},e.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},e.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},e.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?ds(e,n,t,this.__hash):0===this.size?fs():(this.__ownerID=t,this._map=e,this._list=n,this)},e}(ki);function ds(t,e,n,r){var i=Object.create(ls.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function fs(){return ps||(ps=ds(ji(),ss()))}function ms(t,e,n){var r,i,s=t._map,o=t._list,a=s.get(e),u=void 0!==a;if(n===on){if(!u)return t;o.size>=rn&&o.size>=2*s.size?(r=(i=o.filter(function(t,e){return void 0!==t&&a!==e})).toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=s.remove(e),i=a===o.size-1?o.pop():o.set(a,void 0))}else if(u){if(n===o.get(a)[1])return t;r=s,i=o.set(a,[e,n])}else r=s.set(e,o.size),i=o.set(o.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):ds(r,i)}ls.isOrderedMap=cr,ls.prototype[Mn]=!0,ls.prototype.delete=ls.prototype.remove;var gs="@@__IMMUTABLE_STACK__@@";function vs(t){return Boolean(t&&t[gs])}var ys=function(t){function e(t){return null==t?bs():vs(t)?t:bs().pushAll(t)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.prototype.toString=function(){return this.__toString("Stack [","]")},e.prototype.get=function(t,e){var n=this._head;for(t=cn(this,t);n&&t--;)n=n.next;return n?n.value:e},e.prototype.peek=function(){return this._head&&this._head.value},e.prototype.push=function(){var t=arguments;if(0===arguments.length)return this;for(var e=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:t[r],next:n};return this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Es(e,n)},e.prototype.pushAll=function(e){if(0===(e=t(e)).size)return this;if(0===this.size&&vs(e))return e;$r(e.size);var n=this.size,r=this._head;return e.__iterate(function(t){n++,r={value:t,next:r}},!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):Es(n,r)},e.prototype.pop=function(){return this.slice(1)},e.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):bs()},e.prototype.slice=function(e,n){if(ln(e,n,this.size))return this;var r=dn(e,this.size);if(fn(n,this.size)!==this.size)return t.prototype.slice.call(this,e,n);for(var i=this.size-r,s=this._head;r--;)s=s.next;return this.__ownerID?(this.size=i,this._head=s,this.__hash=void 0,this.__altered=!0,this):Es(i,s)},e.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Es(this.size,this._head,t,this.__hash):0===this.size?bs():(this.__ownerID=t,this.__altered=!1,this)},e.prototype.__iterate=function(t,e){var n=this;if(e)return new tr(this.toArray()).__iterate(function(e,r){return t(e,r,n)},e);for(var r=0,i=this._head;i&&!1!==t(i.value,r++,this);)i=i.next;return r},e.prototype.__iterator=function(t,e){if(e)return new tr(this.toArray()).__iterator(t,e);var n=0,r=this._head;return new Wn(function(){if(r){var e=r.value;return r=r.next,Un(t,n++,e)}return{value:void 0,done:!0}})},e}(In);ys.isStack=vs;var xs,_s=ys.prototype;function Es(t,e,n,r){var i=Object.create(_s);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function bs(){return xs||(xs=Es(0))}_s[gs]=!0,_s.shift=_s.pop,_s.unshift=_s.push,_s.unshiftAll=_s.pushAll,_s.withMutations=Si,_s.wasAltered=Pi,_s.asImmutable=Ii,_s["@@transducer/init"]=_s.asMutable=wi,_s["@@transducer/step"]=function(t,e){return t.unshift(e)},_s["@@transducer/result"]=function(t){return t.asImmutable()};var As="@@__IMMUTABLE_SET__@@";function Ss(t){return Boolean(t&&t[As])}function ws(t){return Ss(t)&&Tn(t)}function Is(t,e){if(t===e)return!0;if(!yn(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||_n(t)!==_n(e)||bn(t)!==bn(e)||Tn(t)!==Tn(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!An(t);if(Tn(t)){var r=t.entries();return e.every(function(t,e){var i=r.next().value;return i&&lr(i[1],t)&&(n||lr(i[0],e))})&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var s=t;t=e,e=s}var o=!0,a=e.__iterate(function(e,r){if(n?!t.has(e):i?!lr(e,t.get(r,on)):!lr(t.get(r,on),e))return o=!1,!1});return o&&t.size===a}function Ps(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}function ks(t){if(!t||"object"!=typeof t)return t;if(!yn(t)){if(!ti(t))return t;t=Qn(t)}if(_n(t)){var e={};return t.__iterate(function(t,n){e[n]=ks(t)}),e}var n=[];return t.__iterate(function(t){n.push(ks(t))}),n}var Cs=function(t){function e(e){return null==e?Ts():Ss(e)&&!Tn(e)?e:Ts().withMutations(function(n){var r=t(e);$r(r.size),r.forEach(function(t){return n.add(t)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(wn(t).keySeq())},e.intersect=function(t){return(t=Sn(t).toArray()).length?Rs.intersect.apply(e(t.pop()),t):Ts()},e.union=function(t){return(t=Sn(t).toArray()).length?Rs.union.apply(e(t.pop()),t):Ts()},e.prototype.toString=function(){return this.__toString("Set {","}")},e.prototype.has=function(t){return this._map.has(t)},e.prototype.add=function(t){return Os(this,this._map.set(t,t))},e.prototype.remove=function(t){return Os(this,this._map.remove(t))},e.prototype.clear=function(){return Os(this,this._map.clear())},e.prototype.map=function(t,e){var n=this,r=[],i=[];return this.forEach(function(s){var o=t.call(e,s,s,n);o!==s&&(r.push(s),i.push(o))}),this.withMutations(function(t){r.forEach(function(e){return t.remove(e)}),i.forEach(function(e){return t.add(e)})})},e.prototype.union=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return 0===(e=e.filter(function(t){return 0!==t.size})).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(n){for(var r=0;r<e.length;r++)t(e[r]).forEach(function(t){return n.add(t)})}):this.constructor(e[0])},e.prototype.intersect=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map(function(e){return t(e)});var r=[];return this.forEach(function(t){e.every(function(e){return e.includes(t)})||r.push(t)}),this.withMutations(function(t){r.forEach(function(e){t.remove(e)})})},e.prototype.subtract=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(0===e.length)return this;e=e.map(function(e){return t(e)});var r=[];return this.forEach(function(t){e.some(function(e){return e.includes(t)})&&r.push(t)}),this.withMutations(function(t){r.forEach(function(e){t.remove(e)})})},e.prototype.sort=function(t){return Js(zr(this,t))},e.prototype.sortBy=function(t,e){return Js(zr(this,e,t))},e.prototype.wasAltered=function(){return this._map.wasAltered()},e.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e){return t(e,e,n)},e)},e.prototype.__iterator=function(t,e){return this._map.__iterator(t,e)},e.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):0===this.size?this.__empty():(this.__ownerID=t,this._map=e,this)},e}(Pn);Cs.isSet=Ss;var Ns,Rs=Cs.prototype;function Os(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Ms(t,e){var n=Object.create(Rs);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function Ts(){return Ns||(Ns=Ms(ji()))}Rs[As]=!0,Rs.delete=Rs.remove,Rs.merge=Rs.concat=Rs.union,Rs.withMutations=Si,Rs.asImmutable=Ii,Rs["@@transducer/init"]=Rs.asMutable=wi,Rs["@@transducer/step"]=function(t,e){return t.add(e)},Rs["@@transducer/result"]=function(t){return t.asImmutable()},Rs.__empty=Ts,Rs.__make=Ms;var Ls,Ds=function(t){function e(t,n,r){if(!(this instanceof e))return new e(t,n,r);if(Qr(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n<t&&(r=-r),this._start=t,this._end=n,this._step=r,this.size=Math.max(0,Math.ceil((n-t)/r-1)+1),0===this.size){if(Ls)return Ls;Ls=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},e.prototype.get=function(t,e){return this.has(t)?this._start+cn(this,t)*this._step:e},e.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},e.prototype.slice=function(t,n){return ln(t,n,this.size)?this:(t=dn(t,this.size),(n=fn(n,this.size))<=t?new e(0,0):new e(this.get(t,this._end),this.get(n,this._end),this._step))},e.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},e.prototype.lastIndexOf=function(t){return this.indexOf(t)},e.prototype.__iterate=function(t,e){for(var n=this.size,r=this._step,i=e?this._start+(n-1)*r:this._start,s=0;s!==n&&!1!==t(i,e?n-++s:s++,this);)i+=e?-r:r;return s},e.prototype.__iterator=function(t,e){var n=this.size,r=this._step,i=e?this._start+(n-1)*r:this._start,s=0;return new Wn(function(){if(s===n)return{value:void 0,done:!0};var o=i;return i+=e?-r:r,Un(t,e?n-++s:s++,o)})},e.prototype.equals=function(t){return t instanceof e?this._start===t._start&&this._end===t._end&&this._step===t._step:Is(this,t)},e}(Jn);function Vs(t,e,n){for(var r=Jr(e),i=0;i!==r.length;)if((t=ri(t,r[i++],on))===on)return n;return t}function Bs(t,e){return Vs(this,t,e)}function zs(t,e){return Vs(t,e,on)!==on}function js(){$r(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t}Sn.isIterable=yn,Sn.isKeyed=_n,Sn.isIndexed=bn,Sn.isAssociative=An,Sn.isOrdered=Tn,Sn.Iterator=Wn,Ps(Sn,{toArray:function(){$r(this.size);var t=new Array(this.size||0),e=_n(this),n=0;return this.__iterate(function(r,i){t[n++]=e?[i,r]:r}),t},toIndexedSeq:function(){return new Cr(this)},toJS:function(){return ks(this)},toKeyedSeq:function(){return new kr(this,!0)},toMap:function(){return ki(this.toKeyedSeq())},toObject:js,toOrderedMap:function(){return ls(this.toKeyedSeq())},toOrderedSet:function(){return Js(_n(this)?this.valueSeq():this)},toSet:function(){return Cs(_n(this)?this.valueSeq():this)},toSetSeq:function(){return new Nr(this)},toSeq:function(){return bn(this)?this.toIndexedSeq():_n(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return ys(_n(this)?this.valueSeq():this)},toList:function(){return Ji(_n(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return Fr(this,function(t,e){var n=_n(t),r=[t].concat(e).map(function(t){return yn(t)?n&&(t=wn(t)):t=n?sr(t):or(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===r.length)return t;if(1===r.length){var i=r[0];if(i===t||n&&_n(i)||bn(t)&&bn(i))return i}var s=new tr(r);return n?s=s.toKeyedSeq():bn(t)||(s=s.toSetSeq()),(s=s.flatten(!0)).size=r.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),s}(this,t))},includes:function(t){return this.some(function(e){return lr(e,t)})},entries:function(){return this.__iterator(Vn)},every:function(t,e){$r(this.size);var n=!0;return this.__iterate(function(r,i,s){if(!t.call(e,r,i,s))return n=!1,!1}),n},filter:function(t,e){return Fr(this,Lr(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return $r(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){$r(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""}),e},keys:function(){return this.__iterator(Ln)},map:function(t,e){return Fr(this,Mr(this,t,e))},reduce:function(t,e,n){return qs(this,t,e,n,arguments.length<2,!1)},reduceRight:function(t,e,n){return qs(this,t,e,n,arguments.length<2,!0)},reverse:function(){return Fr(this,Tr(this,!0))},slice:function(t,e){return Fr(this,Dr(this,t,e,!0))},some:function(t,e){return!this.every(Ks(t),e)},sort:function(t){return Fr(this,zr(this,t))},values:function(){return this.__iterator(Dn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return hn(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=ki().asMutable();return t.__iterate(function(i,s){r.update(e.call(n,i,s,t),0,function(t){return t+1})}),r.asImmutable()}(this,t,e)},equals:function(t){return Is(this,t)},entrySeq:function(){var t=this;if(t._cache)return new tr(t._cache);var e=t.toSeq().map(Hs).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Ks(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,i,s){if(t.call(e,n,i,s))return r=[i,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(t){return this.find(pn,null,t)},flatMap:function(t,e){return Fr(this,function(t,e,n){var r=Gr(t);return t.toSeq().map(function(i,s){return r(e.call(n,i,s,t))}).flatten(!0)}(this,t,e))},flatten:function(t){return Fr(this,Br(this,t,!0))},fromEntrySeq:function(){return new Rr(this)},get:function(t,e){return this.find(function(e,n){return lr(n,t)},void 0,e)},getIn:Bs,groupBy:function(t,e){return function(t,e,n){var r=_n(t),i=(Tn(t)?ls():ki()).asMutable();t.__iterate(function(s,o){i.update(e.call(n,s,o,t),function(t){return(t=t||[]).push(r?[o,s]:s),t})});var s=Gr(t);return i.map(function(e){return Fr(t,s(e))}).asImmutable()}(this,t,e)},has:function(t){return this.get(t,on)!==on},hasIn:function(t){return zs(this,t)},isSubset:function(t){return t="function"==typeof t.includes?t:Sn(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:Sn(t)).isSubset(this)},keyOf:function(t){return this.findKey(function(e){return lr(e,t)})},keySeq:function(){return this.toSeq().map(Gs).toIndexedSeq()},last:function(t){return this.toSeq().reverse().first(t)},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return jr(this,t)},maxBy:function(t,e){return jr(this,e,t)},min:function(t){return jr(this,t?Ys(t):Qs)},minBy:function(t,e){return jr(this,e?Ys(e):Qs,t)},rest:function(){return this.slice(1)},skip:function(t){return 0===t?this:this.slice(Math.max(0,t))},skipLast:function(t){return 0===t?this:this.slice(0,-Math.max(0,t))},skipWhile:function(t,e){return Fr(this,Vr(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Ks(t),e)},sortBy:function(t,e){return Fr(this,zr(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return this.slice(-Math.max(0,t))},takeWhile:function(t,e){return Fr(this,function(t,e,n){var r=Hr(t);return r.__iterateUncached=function(r,i){var s=this;if(i)return this.cacheResult().__iterate(r,i);var o=0;return t.__iterate(function(t,i,a){return e.call(n,t,i,a)&&++o&&r(t,i,s)}),o},r.__iteratorUncached=function(r,i){var s=this;if(i)return this.cacheResult().__iterator(r,i);var o=t.__iterator(Vn,i),a=!0;return new Wn(function(){if(!a)return{value:void 0,done:!0};var t=o.next();if(t.done)return t;var i=t.value,u=i[0],h=i[1];return e.call(n,h,u,s)?r===Vn?t:Un(r,u,h,t):(a=!1,{value:void 0,done:!0})})},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Ks(t),e)},update:function(t){return t(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=Tn(t),n=_n(t),r=e?1:0;return function(t,e){return e=dr(e,3432918353),e=dr(e<<15|e>>>-15,461845907),e=dr(e<<13|e>>>-13,5),e=dr((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=fr((e=dr(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+$s(gr(t),gr(e))|0}:function(t,e){r=r+$s(gr(t),gr(e))|0}:e?function(t){r=31*r+gr(t)|0}:function(t){r=r+gr(t)|0}),r)}(this))}});var Ws=Sn.prototype;Ws[vn]=!0,Ws[jn]=Ws.values,Ws.toJSON=Ws.toArray,Ws.__toStringMapper=ei,Ws.inspect=Ws.toSource=function(){return this.toString()},Ws.chain=Ws.flatMap,Ws.contains=Ws.includes,Ps(wn,{flip:function(){return Fr(this,Or(this))},mapEntries:function(t,e){var n=this,r=0;return Fr(this,this.toSeq().map(function(i,s){return t.call(e,[s,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Fr(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var Us=wn.prototype;Us[xn]=!0,Us[jn]=Ws.entries,Us.toJSON=js,Us.__toStringMapper=function(t,e){return ei(e)+": "+ei(t)},Ps(In,{toKeyedSeq:function(){return new kr(this,!1)},filter:function(t,e){return Fr(this,Lr(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Fr(this,Tr(this,!1))},slice:function(t,e){return Fr(this,Dr(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(e||0,0),0===n||2===n&&!e)return this;t=dn(t,t<0?this.count():this.size);var r=this.slice(0,t);return Fr(this,1===n?r:r.concat(Xr(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(t){return this.get(0,t)},flatten:function(t){return Fr(this,Br(this,t,!1))},get:function(t,e){return(t=cn(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=cn(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Fr(this,function(t,e){var n=Hr(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,s=0;return t.__iterate(function(t){return(!s||!1!==n(e,s++,i))&&!1!==n(t,s++,i)},r),s},n.__iteratorUncached=function(n,r){var i,s=t.__iterator(Dn,r),o=0;return new Wn(function(){return(!i||o%2)&&(i=s.next()).done?i:o%2?Un(n,o++,e):Un(n,o++,i.value,i)})},n}(this,t))},interleave:function(){var t=[this].concat(Xr(arguments)),e=Ur(this.toSeq(),Jn.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Fr(this,n)},keySeq:function(){return Ds(0,this.size)},last:function(t){return this.get(-1,t)},skipWhile:function(t,e){return Fr(this,Vr(this,t,e,!1))},zip:function(){return Fr(this,Ur(this,Xs,[this].concat(Xr(arguments))))},zipAll:function(){return Fr(this,Ur(this,Xs,[this].concat(Xr(arguments)),!0))},zipWith:function(t){var e=Xr(arguments);return e[0]=this,Fr(this,Ur(this,t,e))}});var Fs=In.prototype;function qs(t,e,n,r,i,s){return $r(t.size),t.__iterate(function(t,s,o){i?(i=!1,n=t):n=e.call(r,n,t,s,o)},s),n}function Gs(t,e){return e}function Hs(t,e){return[e,t]}function Ks(t){return function(){return!t.apply(this,arguments)}}function Ys(t){return function(){return-t.apply(this,arguments)}}function Xs(){return Xr(arguments)}function Qs(t,e){return t<e?1:t>e?-1:0}function $s(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}Fs[En]=!0,Fs[Mn]=!0,Ps(Pn,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),Pn.prototype.has=Ws.includes,Pn.prototype.contains=Pn.prototype.includes,Ps($n,wn.prototype),Ps(Jn,In.prototype),Ps(Zn,Pn.prototype);var Js=function(t){function e(t){return null==t?no():ws(t)?t:no().withMutations(function(e){var n=Pn(t);$r(n.size),n.forEach(function(t){return e.add(t)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.of=function(){return this(arguments)},e.fromKeys=function(t){return this(wn(t).keySeq())},e.prototype.toString=function(){return this.__toString("OrderedSet {","}")},e}(Cs);Js.isOrderedSet=ws;var Zs,to=Js.prototype;function eo(t,e){var n=Object.create(to);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function no(){return Zs||(Zs=eo(fs()))}to[Mn]=!0,to.zip=Fs.zip,to.zipWith=Fs.zipWith,to.__empty=no,to.__make=eo;var ro=function(t,e){var n,r=function(s){var o=this;if(s instanceof r)return s;if(!(this instanceof r))return new r(s);if(!n){n=!0;var a=Object.keys(t),u=i._indices={};i._name=e,i._keys=a,i._defaultValues=t;for(var h=0;h<a.length;h++){var c=a[h];u[c]=h,i[c]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+ao(this)+' with property "'+c+'" since that property name is part of the Record API.'):ho(i,c)}}this.__ownerID=void 0,this._values=Ji().withMutations(function(t){t.setSize(o._keys.length),wn(s).forEach(function(e,n){t.set(o._indices[n],e===o._defaultValues[n]?void 0:e)})})},i=r.prototype=Object.create(so);return i.constructor=r,e&&(r.displayName=e),r};ro.prototype.toString=function(){for(var t,e=ao(this)+" { ",n=this._keys,r=0,i=n.length;r!==i;r++)e+=(r?", ":"")+(t=n[r])+": "+ei(this.get(t));return e+" }"},ro.prototype.equals=function(t){return this===t||t&&this._keys===t._keys&&uo(this).equals(uo(t))},ro.prototype.hashCode=function(){return uo(this).hashCode()},ro.prototype.has=function(t){return this._indices.hasOwnProperty(t)},ro.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._indices[t],r=this._values.get(n);return void 0===r?this._defaultValues[t]:r},ro.prototype.set=function(t,e){if(this.has(t)){var n=this._values.set(this._indices[t],e===this._defaultValues[t]?void 0:e);if(n!==this._values&&!this.__ownerID)return oo(this,n)}return this},ro.prototype.remove=function(t){return this.set(t)},ro.prototype.clear=function(){var t=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:oo(this,t)},ro.prototype.wasAltered=function(){return this._values.wasAltered()},ro.prototype.toSeq=function(){return uo(this)},ro.prototype.toJS=function(){return ks(this)},ro.prototype.entries=function(){return this.__iterator(Vn)},ro.prototype.__iterator=function(t,e){return uo(this).__iterator(t,e)},ro.prototype.__iterate=function(t,e){return uo(this).__iterate(t,e)},ro.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._values.__ensureOwner(t);return t?oo(this,e,t):(this.__ownerID=t,this._values=e,this)},ro.isRecord=Rn,ro.getDescriptiveName=ao;var io,so=ro.prototype;function oo(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._values=e,r.__ownerID=n,r}function ao(t){return t.constructor.displayName||t.constructor.name||"Record"}function uo(t){return sr(t._keys.map(function(e){return[e,t.get(e)]}))}function ho(t,e){try{Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Qr(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}catch(t){}}function co(t,e){return _n(e)?e.toMap():e.toList()}so[Nn]=!0,so.delete=so.remove,so.deleteIn=so.removeIn=pi,so.getIn=Bs,so.hasIn=Ws.hasIn,so.merge=mi,so.mergeWith=gi,so.mergeIn=bi,so.mergeDeep=_i,so.mergeDeepWith=Ei,so.mergeDeepIn=Ai,so.setIn=hi,so.update=di,so.updateIn=fi,so.withMutations=Si,so.asMutable=wi,so.asImmutable=Ii,so[jn]=so.entries,so.toJSON=so.toObject=Ws.toObject,so.inspect=so.toSource=function(){return this.toString()};var po,lo={version:"4.0.0-rc.11",Collection:Sn,Iterable:Sn,Seq:Qn,Map:ki,OrderedMap:ls,List:Ji,Stack:ys,Set:Cs,OrderedSet:Js,Record:ro,Range:Ds,Repeat:function(t){function e(t,n){if(!(this instanceof e))return new e(t,n);if(this._value=t,this.size=void 0===n?1/0:Math.max(0,n),0===this.size){if(io)return io;io=this}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},e.prototype.get=function(t,e){return this.has(t)?this._value:e},e.prototype.includes=function(t){return lr(this._value,t)},e.prototype.slice=function(t,n){var r=this.size;return ln(t,n,r)?this:new e(this._value,fn(n,r)-dn(t,r))},e.prototype.reverse=function(){return this},e.prototype.indexOf=function(t){return lr(this._value,t)?0:-1},e.prototype.lastIndexOf=function(t){return lr(this._value,t)?this.size:-1},e.prototype.__iterate=function(t,e){for(var n=this.size,r=0;r!==n&&!1!==t(this._value,e?n-++r:r++,this););return r},e.prototype.__iterator=function(t,e){var n=this,r=this.size,i=0;return new Wn(function(){return i===r?{value:void 0,done:!0}:Un(t,e?r-++i:i++,n._value)})},e.prototype.equals=function(t){return t instanceof e?lr(this._value,t._value):Is(t)},e}(Jn),is:lr,fromJS:function(t,e){return function t(e,n,r,i,s,o){var a=Array.isArray(r)?Jn:Zr(r)?$n:null;if(a){if(~e.indexOf(r))throw new TypeError("Cannot convert circular structure to Immutable");e.push(r),s&&""!==i&&s.push(i);var u=n.call(o,i,a(r).map(function(i,o){return t(e,n,i,o,s,r)}),s&&s.slice());return e.pop(),s&&s.pop(),u}return r}([],e||co,t,"",e&&e.length>2?[]:void 0,{"":t})},hash:gr,isImmutable:On,isCollection:yn,isKeyed:_n,isIndexed:bn,isAssociative:An,isOrdered:Tn,isValueObject:pr,isSeq:Cn,isList:$i,isMap:hr,isOrderedMap:cr,isStack:vs,isSet:Ss,isOrderedSet:ws,isRecord:Rn,get:ri,getIn:Vs,has:ni,hasIn:zs,merge:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return xi(t,e)},mergeDeep:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return yi(t,e)},mergeWith:function(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return xi(e,n,t)},mergeDeepWith:function(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return yi(e,n,t)},remove:si,removeIn:ci,set:oi,setIn:ui,update:li,updateIn:ai};!function(t){t[t.IGNORED_LABELS=0]="IGNORED_LABELS",t[t.ACCESSED_NODES=1]="ACCESSED_NODES",t[t.ARGUMENTS_VARIABLES=2]="ARGUMENTS_VARIABLES",t[t.ASSIGNED_NODES=3]="ASSIGNED_NODES",t[t.IGNORE_BREAK_STATEMENTS=4]="IGNORE_BREAK_STATEMENTS",t[t.IGNORE_RETURN_AWAIT_YIELD=5]="IGNORE_RETURN_AWAIT_YIELD",t[t.NODES_CALLED_AT_PATH_WITH_OPTIONS=6]="NODES_CALLED_AT_PATH_WITH_OPTIONS",t[t.REPLACED_VARIABLE_INITS=7]="REPLACED_VARIABLE_INITS",t[t.RETURN_EXPRESSIONS_ACCESSED_AT_PATH=8]="RETURN_EXPRESSIONS_ACCESSED_AT_PATH",t[t.RETURN_EXPRESSIONS_ASSIGNED_AT_PATH=9]="RETURN_EXPRESSIONS_ASSIGNED_AT_PATH",t[t.RETURN_EXPRESSIONS_CALLED_AT_PATH=10]="RETURN_EXPRESSIONS_CALLED_AT_PATH"}(po||(po={}));var fo={},mo=function(){function t(t){this.optionValues=t}return t.create=function(){return new this(lo.Map())},t.prototype.addAccessedNodeAtPath=function(t,e){return this.setIn([po.ACCESSED_NODES,e].concat(t,[fo]),!0)},t.prototype.addAccessedReturnExpressionAtPath=function(t,e){return this.setIn([po.RETURN_EXPRESSIONS_ACCESSED_AT_PATH,e].concat(t,[fo]),!0)},t.prototype.addAssignedNodeAtPath=function(t,e){return this.setIn([po.ASSIGNED_NODES,e].concat(t,[fo]),!0)},t.prototype.addAssignedReturnExpressionAtPath=function(t,e){return this.setIn([po.RETURN_EXPRESSIONS_ASSIGNED_AT_PATH,e].concat(t,[fo]),!0)},t.prototype.addCalledNodeAtPathWithOptions=function(t,e,n){return this.setIn([po.NODES_CALLED_AT_PATH_WITH_OPTIONS,e].concat(t,[fo,n]),!0)},t.prototype.addCalledReturnExpressionAtPath=function(t,e){return this.setIn([po.RETURN_EXPRESSIONS_CALLED_AT_PATH,e].concat(t,[fo]),!0)},t.prototype.getArgumentsVariables=function(){return this.get(po.ARGUMENTS_VARIABLES)||[]},t.prototype.getHasEffectsWhenCalledOptions=function(){return this.setIgnoreReturnAwaitYield().setIgnoreBreakStatements(!1).setIgnoreNoLabels()},t.prototype.getReplacedVariableInit=function(t){return this.optionValues.getIn([po.REPLACED_VARIABLE_INITS,t])},t.prototype.hasNodeBeenAccessedAtPath=function(t,e){return this.optionValues.getIn([po.ACCESSED_NODES,e].concat(t,[fo]))},t.prototype.hasNodeBeenAssignedAtPath=function(t,e){return this.optionValues.getIn([po.ASSIGNED_NODES,e].concat(t,[fo]))},t.prototype.hasNodeBeenCalledAtPathWithOptions=function(t,e,n){var r=this.optionValues.getIn([po.NODES_CALLED_AT_PATH_WITH_OPTIONS,e].concat(t,[fo]));return r&&r.find(function(t,e){return e.equals(n)})},t.prototype.hasReturnExpressionBeenAccessedAtPath=function(t,e){return this.optionValues.getIn([po.RETURN_EXPRESSIONS_ACCESSED_AT_PATH,e].concat(t,[fo]))},t.prototype.hasReturnExpressionBeenAssignedAtPath=function(t,e){return this.optionValues.getIn([po.RETURN_EXPRESSIONS_ASSIGNED_AT_PATH,e].concat(t,[fo]))},t.prototype.hasReturnExpressionBeenCalledAtPath=function(t,e){return this.optionValues.getIn([po.RETURN_EXPRESSIONS_CALLED_AT_PATH,e].concat(t,[fo]))},t.prototype.ignoreBreakStatements=function(){return this.get(po.IGNORE_BREAK_STATEMENTS)},t.prototype.ignoreLabel=function(t){return this.optionValues.getIn([po.IGNORED_LABELS,t])},t.prototype.ignoreReturnAwaitYield=function(){return this.get(po.IGNORE_RETURN_AWAIT_YIELD)},t.prototype.replaceVariableInit=function(t,e){return this.setIn([po.REPLACED_VARIABLE_INITS,t],e)},t.prototype.setArgumentsVariables=function(t){return this.set(po.ARGUMENTS_VARIABLES,t)},t.prototype.setIgnoreBreakStatements=function(t){return void 0===t&&(t=!0),this.set(po.IGNORE_BREAK_STATEMENTS,t)},t.prototype.setIgnoreLabel=function(t){return this.setIn([po.IGNORED_LABELS,t],!0)},t.prototype.setIgnoreNoLabels=function(){return this.remove(po.IGNORED_LABELS)},t.prototype.setIgnoreReturnAwaitYield=function(t){return void 0===t&&(t=!0),this.set(po.IGNORE_RETURN_AWAIT_YIELD,t)},t.prototype.get=function(t){return this.optionValues.get(t)},t.prototype.remove=function(e){return new t(this.optionValues.remove(e))},t.prototype.set=function(e,n){return new t(this.optionValues.set(e,n))},t.prototype.setIn=function(e,n){return new t(this.optionValues.setIn(e,n))},t}(),go={Literal:[],Program:["body"]};var vo=mo.create(),yo=function(){function t(t,e,n){this.keys=go[t.type]||function(t){return go[t.type]=Object.keys(t).filter(function(e){return"object"==typeof t[e]}),go[t.type]}(t),this.parent=e,this.context=e.context,this.createScope(n),this.parseNode(t),this.initialise(),this.context.magicString.addSourcemapLocation(this.start),this.context.magicString.addSourcemapLocation(this.end)}return t.prototype.bind=function(){for(var t=0,e=this.keys;t<e.length;t++){var n=e[t],r=this[n];if(null!==r&&"annotations"!==n)if(Array.isArray(r))for(var i=0,s=r;i<s.length;i++){var o=s[i];null!==o&&o.bind()}else r.bind()}},t.prototype.createScope=function(t){this.scope=t},t.prototype.declare=function(t,e){},t.prototype.deoptimizePath=function(t){},t.prototype.getLiteralValueAtPath=function(t,e,n){return lt},t.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){return dt},t.prototype.hasEffects=function(t){for(var e=0,n=this.keys;e<n.length;e++){var r=n[e],i=this[r];if(null!==i&&"annotations"!==r)if(Array.isArray(i))for(var s=0,o=i;s<o.length;s++){var a=o[s];if(null!==a&&a.hasEffects(t))return!0}else if(i.hasEffects(t))return!0}return!1},t.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>0},t.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return!0},t.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return!0},t.prototype.include=function(t){this.included=!0;for(var e=0,n=this.keys;e<n.length;e++){var r=n[e],i=this[r];if(null!==i&&"annotations"!==r)if(Array.isArray(i))for(var s=0,o=i;s<o.length;s++){var a=o[s];null!==a&&a.include(t)}else i.include(t)}},t.prototype.includeWithAllDeclaredVariables=function(t){this.include(t)},t.prototype.initialise=function(){this.included=!1},t.prototype.insertSemicolon=function(t){";"!==t.original[this.end-1]&&t.appendLeft(this.end,";")},t.prototype.locate=function(){var t=Ae(this.context.code,this.start,{offsetLine:1});return t.file=this.context.fileName,t.toString=function(){return JSON.stringify(t)},t},t.prototype.parseNode=function(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var r=n[e];if(!this.hasOwnProperty(r)){var i=t[r];if("object"!=typeof i||null===i||"annotations"===r)this[r]=i;else if(Array.isArray(i)){this[r]=[];for(var s=0,o=i;s<o.length;s++){var a=o[s];this[r].push(null===a?null:new(this.context.nodeConstructors[a.type]||this.context.nodeConstructors.UnknownNode)(a,this,this.scope))}}else this[r]=new(this.context.nodeConstructors[i.type]||this.context.nodeConstructors.UnknownNode)(i,this,this.scope)}}},t.prototype.render=function(t,e){for(var n=0,r=this.keys;n<r.length;n++){var i=r[n],s=this[i];if(null!==s&&"annotations"!==i)if(Array.isArray(s))for(var o=0,a=s;o<a.length;o++){var u=a[o];null!==u&&u.render(t,e)}else s.render(t,e)}},t.prototype.shouldBeIncluded=function(){return this.included||this.hasEffects(vo)},t.prototype.toString=function(){return this.context.code.slice(this.start,this.end)},t}(),xo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createScope=function(t){this.scope=new en(t)},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>1},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return t.length>1},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return this.body.hasEffectsWhenCalledAtPath(t,e,n)||this.superClass&&this.superClass.hasEffectsWhenCalledAtPath(t,e,n)},e.prototype.initialise=function(){this.included=!1,null!==this.id&&this.id.declare("class",this)},e}(yo);function _o(t){return t.type===Z}var Eo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.initialise=function(){t.prototype.initialise.call(this),null!==this.id&&(this.id.variable.isId=!0)},e.prototype.parseNode=function(e){null!==e.id&&(this.id=new this.context.nodeConstructors.Identifier(e.id,this,this.scope.parent)),t.prototype.parseNode.call(this,e)},e.prototype.render=function(e,n){"system"===n.format&&this.id&&this.id.variable.exportName&&e.appendLeft(this.end," exports('"+this.id.variable.exportName+"', "+this.id.variable.getName()+");"),t.prototype.render.call(this,e,n)},e}(xo),bo=function(t,e){var n=parseInt(t[0],10);return n<e.getArgumentsVariables().length&&e.getArgumentsVariables()[n]||dt},Ao=function(t){function e(e,n){var r=t.call(this,"arguments",null,dt,n)||this;return r.parameters=e,r}return n(e,t),e.prototype.deoptimizePath=function(t){var e=parseInt(t[0],10);t.length>0&&e>=0&&this.parameters[e]&&this.parameters[e].deoptimizePath(t.slice(1))},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>1&&bo(t,e).hasEffectsWhenAccessedAtPath(t.slice(1),e)},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return 0===t.length||this.included||bo(t,e).hasEffectsWhenAssignedAtPath(t.slice(1),e)},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return 0===t.length||bo(t,n).hasEffectsWhenCalledAtPath(t.slice(1),e,n)},e}(Wt),So=function(t){function e(e){return t.call(this,"this",null,null,e)||this}return n(e,t),e.prototype._getInit=function(t){return t.getReplacedVariableInit(this)||dt},e.prototype.getLiteralValueAtPath=function(){return lt},e.prototype.hasEffectsWhenAccessedAtPath=function(e,n){return this._getInit(n).hasEffectsWhenAccessedAtPath(e,n)||t.prototype.hasEffectsWhenAccessedAtPath.call(this,e,n)},e.prototype.hasEffectsWhenAssignedAtPath=function(e,n){return this._getInit(n).hasEffectsWhenAssignedAtPath(e,n)||t.prototype.hasEffectsWhenAssignedAtPath.call(this,e,n)},e.prototype.hasEffectsWhenCalledAtPath=function(e,n,r){return this._getInit(r).hasEffectsWhenCalledAtPath(e,n,r)||t.prototype.hasEffectsWhenCalledAtPath.call(this,e,n,r)},e}(Wt),wo=function(t){function e(e,n){var r=t.call(this,e)||this;return r.parameters=[],r.context=n,r.hoistedBodyVarScope=new en(r),r}return n(e,t),e.prototype.addParameterDeclaration=function(t){var e,n=t.name;return n in this.hoistedBodyVarScope.variables?(e=this.hoistedBodyVarScope.variables[n]).addDeclaration(t,null):e=new Wt(n,t,dt,this.context),this.variables[n]=e,this.parameters.push(e),e},e.prototype.getParameterVariables=function(){return this.parameters},e}(en),Io=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.returnExpression=null,e.returnExpressions=[],e}return n(e,t),e.prototype.addReturnExpression=function(t){this.returnExpressions.push(t)},e.prototype.getReturnExpression=function(){return null===this.returnExpression&&this.updateReturnExpression(),this.returnExpression},e.prototype.updateReturnExpression=function(){if(1===this.returnExpressions.length)this.returnExpression=this.returnExpressions[0];else{this.returnExpression=dt;for(var t=0,e=this.returnExpressions;t<e.length;t++){e[t].deoptimizePath(ct)}}},e}(wo),Po=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.variables.arguments=new Ao(t.prototype.getParameterVariables.call(r),n),r.variables.this=new So(n),r}return n(e,t),e.prototype.findLexicalBoundary=function(){return this},e.prototype.getOptionsWhenCalledWith=function(e,n){var r=this,i=e.args,s=e.withNew;return n.replaceVariableInit(this.variables.this,s?new Ot:dt).setArgumentsVariables(i.map(function(e,n){return t.prototype.getParameterVariables.call(r)[n]||e}))},e}(Io),ko=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createScope=function(t){this.scope=new Po(t,this.context)},e.prototype.deoptimizePath=function(t){1===t.length&&("prototype"===t[0]?this.isPrototypeDeoptimized=!0:t[0]===ut&&(this.isPrototypeDeoptimized=!0,this.scope.getReturnExpression().deoptimizePath(ct)))},e.prototype.getReturnExpressionWhenCalledAtPath=function(t){return 0===t.length?this.scope.getReturnExpression():dt},e.prototype.hasEffects=function(t){return this.id&&this.id.hasEffects(t)},e.prototype.hasEffectsWhenAccessedAtPath=function(t){return!(t.length<=1)&&(t.length>2||"prototype"!==t[0]||this.isPrototypeDeoptimized)},e.prototype.hasEffectsWhenAssignedAtPath=function(t){return!(t.length<=1)&&(t.length>2||"prototype"!==t[0]||this.isPrototypeDeoptimized)},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){if(t.length>0)return!0;for(var r=this.scope.getOptionsWhenCalledWith(e,n),i=0,s=this.params;i<s.length;i++){if(s[i].hasEffects(r))return!0}return this.body.hasEffects(r)},e.prototype.include=function(e){this.scope.variables.arguments.include(),t.prototype.include.call(this,e)},e.prototype.initialise=function(){this.included=!1,this.isPrototypeDeoptimized=!1,null!==this.id&&this.id.declare("function",this);for(var t=0,e=this.params;t<e.length;t++){e[t].declare("parameter",dt)}this.body.addImplicitReturnExpressionToScope()},e.prototype.parseNode=function(e){this.body=new this.context.nodeConstructors.BlockStatement(e.body,this,this.scope.hoistedBodyVarScope),t.prototype.parseNode.call(this,e)},e}(yo);ko.prototype.preventChildBlockScope=!0;var Co=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.initialise=function(){t.prototype.initialise.call(this),null!==this.id&&(this.id.variable.isId=!0)},e.prototype.parseNode=function(e){null!==e.id&&(this.id=new this.context.nodeConstructors.Identifier(e.id,this,this.scope.parent)),t.prototype.parseNode.call(this,e)},e}(ko),No=/\s/;var Ro=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.include=function(e){t.prototype.include.call(this,e),e&&this.context.includeVariable(this.variable)},e.prototype.initialise=function(){this.included=!1,this.declarationName=this.declaration.id&&this.declaration.id.name||this.declaration.name,this.variable=this.scope.addExportDefaultDeclaration(this.declarationName||this.context.getModuleName(),this,this.context),this.context.addExport(this)},e.prototype.render=function(t,e,n){var r=void 0===n?Ue:n,i=r.start,s=r.end,o=function(t,e){for(void 0===e&&(e=0),e=He(t,"default",e)+7;No.test(t[e]);)e++;return e}(t.original,this.start);if(this.declaration.type===nt)this.renderNamedDeclaration(t,o,"function",null===this.declaration.id,e);else if(_o(this.declaration))this.renderNamedDeclaration(t,o,"class",null===this.declaration.id,e);else{if(this.variable.referencesOriginal())return void("system"===e.format&&this.variable.exportName?t.overwrite(i,s,"exports('"+this.variable.exportName+"', "+this.variable.getName()+");"):Fe(this,t,i,s));if(!this.variable.included)return t.remove(this.start,o),this.declaration.render(t,e,{isCalleeOfRenderedParent:!1,renderedParentType:et}),void(";"!==t.original[this.end-1]&&t.appendLeft(this.end,";"));this.renderVariableDeclaration(t,o,e)}this.declaration.render(t,e)},e.prototype.renderNamedDeclaration=function(t,e,n,r,i){var s=this.variable.getName();t.remove(this.start,e),r&&t.appendLeft(function(t,e,n){void 0===n&&(n=0);var r=He(t,e,n)+e.length;t=t.slice(r,He(t,"{",r));var i=He(t,"*");return-1===i?r:r+i+1}(t.original,n,e)," "+s),"system"===i.format&&_o(this.declaration)&&this.variable.exportName&&t.appendLeft(this.end," exports('"+this.variable.exportName+"', "+s+");")},e.prototype.renderVariableDeclaration=function(t,e,n){var r="system"===n.format&&this.variable.exportName?"exports('"+this.variable.exportName+"', ":"";t.overwrite(this.start,e,n.varOrConst+" "+this.variable.getName()+" = "+r);var i=59===t.original.charCodeAt(this.end-1);r?t.appendRight(i?this.end-1:this.end,")"+(i?"":";")):i||t.appendLeft(this.end,";")},e}(yo);Ro.prototype.needsBoundaries=!0;var Oo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this);for(var e=0,n=this.elements;e<n.length;e++){var r=n[e];null!==r&&r.deoptimizePath(ct)}},e.prototype.getReturnExpressionWhenCalledAtPath=function(t){return 1!==t.length?dt:zt(Tt,t[0])},e.prototype.hasEffectsWhenAccessedAtPath=function(t){return t.length>1},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return 1!==t.length||Bt(Tt,t[0],this.included,e,n)},e}(yo),Mo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.addExportedVariables=function(t){for(var e=0,n=this.elements;e<n.length;e++){var r=n[e];null!==r&&r.addExportedVariables(t)}},e.prototype.declare=function(t,e){for(var n=0,r=this.elements;n<r.length;n++){var i=r[n];null!==i&&i.declare(t,dt)}},e.prototype.deoptimizePath=function(t){if(0===t.length)for(var e=0,n=this.elements;e<n.length;e++){var r=n[e];null!==r&&r.deoptimizePath(t)}},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){if(t.length>0)return!0;for(var n=0,r=this.elements;n<r.length;n++){var i=r[n];if(null!==i&&i.hasEffectsWhenAssignedAtPath(ht,e))return!0}return!1},e}(yo),To=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.addDeclaration=function(e,n,r,i){return void 0===r&&(r=null),void 0===i&&(i=!1),i?this.parent.addDeclaration(e,n,dt,!0):t.prototype.addDeclaration.call(this,e,n,r,!1)},e}(en),Lo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.addImplicitReturnExpressionToScope=function(){var t=this.body[this.body.length-1];t&&"ReturnStatement"===t.type||this.scope.addReturnExpression(dt)},e.prototype.createScope=function(t){this.scope=this.parent.preventChildBlockScope?t:new To(t)},e.prototype.hasEffects=function(t){for(var e=0,n=this.body;e<n.length;e++){if(n[e].hasEffects(t))return!0}},e.prototype.include=function(t){this.included=!0;for(var e=0,n=this.body;e<n.length;e++){var r=n[e];(t||r.shouldBeIncluded())&&r.include(t)}},e.prototype.render=function(e,n){this.body.length?Ye(this.body,e,this.start+1,this.end-1,n):t.prototype.render.call(this,e,n)},e}(yo),Do=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createScope=function(t){this.scope=new Io(t,this.context)},e.prototype.deoptimizePath=function(t){1===t.length&&t[0]===ut&&this.scope.getReturnExpression().deoptimizePath(ct)},e.prototype.getReturnExpressionWhenCalledAtPath=function(t){return 0===t.length?this.scope.getReturnExpression():dt},e.prototype.hasEffects=function(t){return!1},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>1},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return t.length>1},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){if(t.length>0)return!0;for(var r=0,i=this.params;r<i.length;r++){if(i[r].hasEffects(n))return!0}return this.body.hasEffects(n)},e.prototype.initialise=function(){this.included=!1;for(var t=0,e=this.params;t<e.length;t++){e[t].declare("parameter",dt)}this.body instanceof Lo?this.body.addImplicitReturnExpressionToScope():this.scope.addReturnExpression(this.body)},e.prototype.parseNode=function(e){"BlockStatement"===e.body.type&&(this.body=new this.context.nodeConstructors.BlockStatement(e.body,this,this.scope.hoistedBodyVarScope)),t.prototype.parseNode.call(this,e)},e}(yo);function Vo(t){return 1===t.length?"exports('"+(t[0].safeExportName||t[0].exportName)+"', "+t[0].getName()+");":"exports({"+t.map(function(t){return(t.safeExportName||t.exportName)+": "+t.getName()}).join(", ")+"});"}Do.prototype.preventChildBlockScope=!0;var Bo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),this.left.deoptimizePath(ht),this.right.deoptimizePath(ct)},e.prototype.hasEffects=function(t){return this.right.hasEffects(t)||this.left.hasEffects(t)||this.left.hasEffectsWhenAssignedAtPath(ht,t)},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>0&&this.right.hasEffectsWhenAccessedAtPath(t,e)},e.prototype.render=function(t,e){if(this.left.render(t,e),this.right.render(t,e),"system"===e.format)if(this.left.variable&&this.left.variable.exportName)t.prependLeft(t.original.indexOf("=",this.left.end)+1," exports('"+this.left.variable.exportName+"',"),t.appendLeft(this.right.end,")");else if("addExportedVariables"in this.left){var n=[];this.left.addExportedVariables(n),n.length>0&&(t.prependRight(this.start,"function (v) {"+Vo(n)+" return v;} ("),t.appendLeft(this.end,")"))}},e}(yo),zo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.addExportedVariables=function(t){this.left.addExportedVariables(t)},e.prototype.bind=function(){t.prototype.bind.call(this),this.left.deoptimizePath(ht),this.right.deoptimizePath(ct)},e.prototype.declare=function(t,e){this.left.declare(t,e)},e.prototype.deoptimizePath=function(t){0===t.length&&this.left.deoptimizePath(t)},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return t.length>0||this.left.hasEffectsWhenAssignedAtPath(ht,e)},e.prototype.render=function(t,e,n){var r=(void 0===n?Ue:n).isShorthandProperty;this.left.render(t,e,{isShorthandProperty:r}),this.right.render(t,e)},e}(yo),jo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(e){return t.prototype.hasEffects.call(this,e)||!e.ignoreReturnAwaitYield()},e.prototype.include=function(e){if(t.prototype.include.call(this,e),!this.context.usesTopLevelAwait){var n=this.parent;do{if(n instanceof ko||n instanceof Do)return}while(n=n.parent);this.context.usesTopLevelAwait=!0}},e.prototype.render=function(e,n){t.prototype.render.call(this,e,n)},e}(yo),Wo={"!=":function(t,e){return t!=e},"!==":function(t,e){return t!==e},"%":function(t,e){return t%e},"&":function(t,e){return t&e},"*":function(t,e){return t*e},"**":function(t,e){return Math.pow(t,e)},"+":function(t,e){return t+e},"-":function(t,e){return t-e},"/":function(t,e){return t/e},"<":function(t,e){return t<e},"<<":function(t,e){return t<<e},"<=":function(t,e){return t<=e},"==":function(t,e){return t==e},"===":function(t,e){return t===e},">":function(t,e){return t>e},">=":function(t,e){return t>=e},">>":function(t,e){return t>>e},">>>":function(t,e){return t>>>e},"^":function(t,e){return t^e},in:function(){return lt},instanceof:function(){return lt},"|":function(t,e){return t|e}},Uo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getLiteralValueAtPath=function(t,e,n){if(t.length>0)return lt;var r=this.left.getLiteralValueAtPath(ht,e,n);if(r===lt)return lt;var i=this.right.getLiteralValueAtPath(ht,e,n);if(i===lt)return lt;var s=Wo[this.operator];return s?s(r,i):lt},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>1},e}(yo),Fo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(e){return t.prototype.hasEffects.call(this,e)||!e.ignoreBreakStatements()||this.label&&!e.ignoreLabel(this.label.name)},e}(yo),qo={},Go=new(function(){function t(t){void 0===t&&(t=lo.Map()),this.entityPaths=t}return t.prototype.isTracked=function(t,e){return this.entityPaths.getIn([t].concat(e,[qo]))},t.prototype.track=function(e,n){return new t(this.entityPaths.setIn([e].concat(n,[qo]),!0))},t}());function Ho(t){return t.type===rt}var Ko=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.addExportedVariables=function(t){this.variable.exportName&&t.push(this.variable)},e.prototype.bind=function(){this.bound||(this.bound=!0,null===this.variable&&function t(e,n){if("MemberExpression"===e.type)return!e.computed&&t(e.object,e);if("Identifier"===e.type)switch(n.type){case"MemberExpression":return n.computed||e===n.object;case"MethodDefinition":return n.computed;case"Property":return n.computed||e===n.value;case"ExportSpecifier":return e===n.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}return!1}(this,this.parent)&&(this.variable=this.scope.findVariable(this.name),this.variable.addReference(this)),null!==this.variable&&this.variable.isLocal&&null!==this.variable.additionalInitializers&&this.variable.consolidateInitializers())},e.prototype.declare=function(t,e){switch(t){case"var":case"function":this.variable=this.scope.addDeclaration(this,this.context,e,!0);break;case"let":case"const":case"class":this.variable=this.scope.addDeclaration(this,this.context,e,!1);break;case"parameter":this.variable=this.scope.addParameterDeclaration(this);break;default:throw new Error("Unexpected identifier kind "+t+".")}},e.prototype.deoptimizePath=function(t){this.bound||this.bind(),null!==this.variable&&(0===t.length&&this.name in this.context.importDescriptions&&!this.scope.contains(this.name)&&this.disallowImportReassignment(),this.variable.deoptimizePath(t))},e.prototype.getLiteralValueAtPath=function(t,e,n){return null!==this.variable?this.variable.getLiteralValueAtPath(t,e,n):lt},e.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){return null!==this.variable?this.variable.getReturnExpressionWhenCalledAtPath(t,e,n):dt},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return this.variable&&this.variable.hasEffectsWhenAccessedAtPath(t,e)},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return!this.variable||this.variable.hasEffectsWhenAssignedAtPath(t,e)},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return!this.variable||this.variable.hasEffectsWhenCalledAtPath(t,e,n)},e.prototype.include=function(t){this.included||(this.included=!0,null!==this.variable&&this.context.includeVariable(this.variable))},e.prototype.initialise=function(){this.included=!1,this.bound=!1,this.variable||(this.variable=null)},e.prototype.render=function(t,e,n){var r=void 0===n?Ue:n,i=r.renderedParentType,s=r.isCalleeOfRenderedParent,o=r.isShorthandProperty;if(this.variable){var a=this.variable.getName();a!==this.name&&(t.overwrite(this.start,this.end,a,{contentOnly:!0,storeName:!0}),o&&t.prependRight(this.start,this.name+": ")),"eval"===a&&"CallExpression"===i&&s&&t.appendRight(this.start,"0, ")}},e.prototype.disallowImportReassignment=function(){this.context.error({code:"ILLEGAL_REASSIGNMENT",message:"Illegal reassignment to import '"+this.name+"'"},this.start)},e}(yo),Yo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){(t.prototype.bind.call(this),this.callee instanceof Ko)&&(this.scope.findVariable(this.callee.name).isNamespace&&this.context.error({code:"CANNOT_CALL_NAMESPACE",message:"Cannot call a namespace ('"+this.callee.name+"')"},this.start),"eval"===this.callee.name&&this.context.warn({code:"EVAL",message:"Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification",url:"https://rollupjs.org/guide/en#avoiding-eval"},this.start));null===this.returnExpression&&(this.returnExpression=this.callee.getReturnExpressionWhenCalledAtPath(ht,Go,this));for(var e=0,n=this.arguments;e<n.length;e++){n[e].deoptimizePath(ct)}},e.prototype.deoptimizeCache=function(){if(this.returnExpression!==dt){this.returnExpression=dt;for(var t=0,e=this.expressionsToBeDeoptimized;t<e.length;t++){e[t].deoptimizeCache()}}},e.prototype.deoptimizePath=function(t){t.length>0&&!this.context.deoptimizationTracker.track(this,t)&&(null===this.returnExpression&&(this.returnExpression=this.callee.getReturnExpressionWhenCalledAtPath(ht,Go,this)),this.returnExpression.deoptimizePath(t))},e.prototype.getLiteralValueAtPath=function(t,e,n){return null===this.returnExpression&&(this.returnExpression=this.callee.getReturnExpressionWhenCalledAtPath(ht,e,this)),this.returnExpression===dt||e.isTracked(this.returnExpression,t)?lt:(this.expressionsToBeDeoptimized.push(n),this.returnExpression.getLiteralValueAtPath(t,e.track(this.returnExpression,t),n))},e.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){return null===this.returnExpression&&(this.returnExpression=this.callee.getReturnExpressionWhenCalledAtPath(ht,e,this)),this.returnExpression===dt||e.isTracked(this.returnExpression,t)?dt:(this.expressionsToBeDeoptimized.push(n),this.returnExpression.getReturnExpressionWhenCalledAtPath(t,e.track(this.returnExpression,t),n))},e.prototype.hasEffects=function(t){for(var e=0,n=this.arguments;e<n.length;e++){if(n[e].hasEffects(t))return!0}return(!this.context.annotations||!this.annotatedPure)&&(this.callee.hasEffects(t)||this.callee.hasEffectsWhenCalledAtPath(ht,this.callOptions,t.getHasEffectsWhenCalledOptions()))},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>0&&!e.hasReturnExpressionBeenAccessedAtPath(t,this)&&this.returnExpression.hasEffectsWhenAccessedAtPath(t,e.addAccessedReturnExpressionAtPath(t,this))},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return 0===t.length||!e.hasReturnExpressionBeenAssignedAtPath(t,this)&&this.returnExpression.hasEffectsWhenAssignedAtPath(t,e.addAssignedReturnExpressionAtPath(t,this))},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return!n.hasReturnExpressionBeenCalledAtPath(t,this)&&this.returnExpression.hasEffectsWhenCalledAtPath(t,e,n.addCalledReturnExpressionAtPath(t,this))},e.prototype.include=function(e){t.prototype.include.call(this,e),this.returnExpression.included||this.returnExpression.include(!1)},e.prototype.initialise=function(){this.included=!1,this.returnExpression=null,this.callOptions=at.create({args:this.arguments,callIdentifier:this,withNew:!1}),this.expressionsToBeDeoptimized=[]},e.prototype.render=function(e,n,r){var i=(void 0===r?Ue:r).renderedParentType;t.prototype.render.call(this,e,n),i===et&&"FunctionExpression"===this.callee.type&&(e.appendRight(this.start,"("),e.prependLeft(this.end,")"))},e}(yo),Xo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.addDeclaration=function(e,n,r,i){return void 0===r&&(r=null),void 0===i&&(i=!1),i?this.parent.addDeclaration(e,n,r,!0):t.prototype.addDeclaration.call(this,e,n,r,!1)},e}(wo),Qo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createScope=function(t){this.scope=new Xo(t,this.context)},e.prototype.initialise=function(){this.included=!1,this.param&&this.param.declare("parameter",dt)},e.prototype.parseNode=function(e){this.body=new this.context.nodeConstructors.BlockStatement(e.body,this,this.scope),t.prototype.parseNode.call(this,e)},e}(yo);Qo.prototype.preventChildBlockScope=!0;var $o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return t.length>0||null!==this.classConstructor&&this.classConstructor.hasEffectsWhenCalledAtPath(ht,e,n)},e.prototype.initialise=function(){this.included=!1;for(var t=0,e=this.body;t<e.length;t++){var n=e[t];if("constructor"===n.kind)return void(this.classConstructor=n)}this.classConstructor=null},e}(yo),Jo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(xo),Zo=function(){function t(t){this.expressions=t}return t.prototype.deoptimizePath=function(t){for(var e=0,n=this.expressions;e<n.length;e++){n[e].deoptimizePath(t)}},t.prototype.getLiteralValueAtPath=function(){return lt},t.prototype.getReturnExpressionWhenCalledAtPath=function(e,n,r){return new t(this.expressions.map(function(t){return t.getReturnExpressionWhenCalledAtPath(e,n,r)}))},t.prototype.hasEffectsWhenAccessedAtPath=function(t,e){for(var n=0,r=this.expressions;n<r.length;n++){if(r[n].hasEffectsWhenAccessedAtPath(t,e))return!0}return!1},t.prototype.hasEffectsWhenAssignedAtPath=function(t,e){for(var n=0,r=this.expressions;n<r.length;n++){if(r[n].hasEffectsWhenAssignedAtPath(t,e))return!0}return!1},t.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){for(var r=0,i=this.expressions;r<i.length;r++){if(i[r].hasEffectsWhenCalledAtPath(t,e,n))return!0}return!1},t.prototype.include=function(){},t}(),ta=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),this.isBranchResolutionAnalysed||this.analyseBranchResolution()},e.prototype.deoptimizeCache=function(){if(null!==this.usedBranch){this.usedBranch=null,this.unusedBranch.deoptimizePath(ct);for(var t=0,e=this.expressionsToBeDeoptimized;t<e.length;t++){e[t].deoptimizeCache()}}},e.prototype.deoptimizePath=function(t){t.length>0&&(this.isBranchResolutionAnalysed||this.analyseBranchResolution(),null===this.usedBranch?(this.consequent.deoptimizePath(t),this.alternate.deoptimizePath(t)):this.usedBranch.deoptimizePath(t))},e.prototype.getLiteralValueAtPath=function(t,e,n){return this.isBranchResolutionAnalysed||this.analyseBranchResolution(),null===this.usedBranch?lt:(this.expressionsToBeDeoptimized.push(n),this.usedBranch.getLiteralValueAtPath(t,e,n))},e.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){return this.isBranchResolutionAnalysed||this.analyseBranchResolution(),null===this.usedBranch?new Zo([this.consequent.getReturnExpressionWhenCalledAtPath(t,e,n),this.alternate.getReturnExpressionWhenCalledAtPath(t,e,n)]):(this.expressionsToBeDeoptimized.push(n),this.usedBranch.getReturnExpressionWhenCalledAtPath(t,e,n))},e.prototype.hasEffects=function(t){return!!this.test.hasEffects(t)||(null===this.usedBranch?this.consequent.hasEffects(t)||this.alternate.hasEffects(t):this.usedBranch.hasEffects(t))},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return 0!==t.length&&(null===this.usedBranch?this.consequent.hasEffectsWhenAccessedAtPath(t,e)||this.alternate.hasEffectsWhenAccessedAtPath(t,e):this.usedBranch.hasEffectsWhenAccessedAtPath(t,e))},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return 0===t.length||(null===this.usedBranch?this.consequent.hasEffectsWhenAssignedAtPath(t,e)||this.alternate.hasEffectsWhenAssignedAtPath(t,e):this.usedBranch.hasEffectsWhenAssignedAtPath(t,e))},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return null===this.usedBranch?this.consequent.hasEffectsWhenCalledAtPath(t,e,n)||this.alternate.hasEffectsWhenCalledAtPath(t,e,n):this.usedBranch.hasEffectsWhenCalledAtPath(t,e,n)},e.prototype.include=function(t){this.included=!0,t||null===this.usedBranch||this.test.shouldBeIncluded()?(this.test.include(t),this.consequent.include(t),this.alternate.include(t)):this.usedBranch.include(t)},e.prototype.initialise=function(){this.included=!1,this.isBranchResolutionAnalysed=!1,this.usedBranch=null,this.unusedBranch=null,this.expressionsToBeDeoptimized=[]},e.prototype.render=function(e,n,r){var i=void 0===r?Ue:r,s=i.renderedParentType,o=i.isCalleeOfRenderedParent;this.test.included?t.prototype.render.call(this,e,n):(e.remove(this.start,this.usedBranch.start),e.remove(this.usedBranch.end,this.end),qe(this,e),this.usedBranch.render(e,n,{isCalleeOfRenderedParent:s?o:this.parent.callee===this,renderedParentType:s||this.parent.type}))},e.prototype.analyseBranchResolution=function(){this.isBranchResolutionAnalysed=!0;var t=this.test.getLiteralValueAtPath(ht,Go,this);t!==lt&&(t?(this.usedBranch=this.consequent,this.unusedBranch=this.alternate):(this.usedBranch=this.alternate,this.unusedBranch=this.consequent))},e}(yo),ea=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(t){return this.test.hasEffects(t)||this.body.hasEffects(t.setIgnoreBreakStatements())},e}(yo),na=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(){return!1},e}(yo),ra=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(){return!1},e.prototype.initialise=function(){this.included=!1,this.context.addExport(this)},e.prototype.render=function(t,e,n){var r=void 0===n?Ue:n,i=r.start,s=r.end;t.remove(i,s)},e}(yo);ra.prototype.needsBoundaries=!0;var ia=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){null!==this.declaration&&this.declaration.bind()},e.prototype.hasEffects=function(t){return this.declaration&&this.declaration.hasEffects(t)},e.prototype.initialise=function(){this.included=!1,this.context.addExport(this)},e.prototype.render=function(t,e,n){var r=void 0===n?Ue:n,i=r.start,s=r.end;null===this.declaration?t.remove(i,s):(t.remove(this.start,this.declaration.start),this.declaration.render(t,e,{start:i,end:s}))},e}(yo);ia.prototype.needsBoundaries=!0;var sa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.initialise=function(){this.included=!1,this.directive&&"use strict"!==this.directive&&"Program"===this.parent.type&&this.context.warn({code:"MODULE_LEVEL_DIRECTIVE",message:"Module level directives cause errors when bundled, '"+this.directive+"' was ignored."},this.start)},e.prototype.render=function(e,n){t.prototype.render.call(this,e,n),this.included&&this.insertSemicolon(e)},e.prototype.shouldBeIncluded=function(){return this.directive&&"use strict"!==this.directive?"Program"!==this.parent.type:t.prototype.shouldBeIncluded.call(this)},e}(yo),oa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){this.left.bind(),this.left.deoptimizePath(ht),this.right.bind(),this.body.bind()},e.prototype.createScope=function(t){this.scope=new To(t)},e.prototype.hasEffects=function(t){return this.left&&(this.left.hasEffects(t)||this.left.hasEffectsWhenAssignedAtPath(ht,t))||this.right&&this.right.hasEffects(t)||this.body.hasEffects(t.setIgnoreBreakStatements())},e.prototype.include=function(t){this.included=!0,this.left.includeWithAllDeclaredVariables(t),this.left.deoptimizePath(ht),this.right.include(t),this.body.include(t)},e.prototype.render=function(t,e){this.left.render(t,e,Ge),this.right.render(t,e,Ge),this.body.render(t,e)},e}(yo),aa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){this.left.bind(),this.left.deoptimizePath(ht),this.right.bind(),this.body.bind()},e.prototype.createScope=function(t){this.scope=new To(t)},e.prototype.hasEffects=function(t){return this.left&&(this.left.hasEffects(t)||this.left.hasEffectsWhenAssignedAtPath(ht,t))||this.right&&this.right.hasEffects(t)||this.body.hasEffects(t.setIgnoreBreakStatements())},e.prototype.include=function(t){this.included=!0,this.left.includeWithAllDeclaredVariables(t),this.left.deoptimizePath(ht),this.right.include(t),this.body.include(t)},e.prototype.render=function(t,e){this.left.render(t,e,Ge),this.right.render(t,e,Ge),this.body.render(t,e)},e}(yo),ua=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createScope=function(t){this.scope=new To(t)},e.prototype.hasEffects=function(t){return this.init&&this.init.hasEffects(t)||this.test&&this.test.hasEffects(t)||this.update&&this.update.hasEffects(t)||this.body.hasEffects(t.setIgnoreBreakStatements())},e.prototype.render=function(t,e){this.init&&this.init.render(t,e,Ge),this.test&&this.test.render(t,e,Ge),this.update&&this.update.render(t,e,Ge),this.body.render(t,e)},e}(yo),ha=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(ko),ca=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),this.isTestValueAnalysed||(this.testValue=lt,this.isTestValueAnalysed=!0,this.testValue=this.test.getLiteralValueAtPath(ht,Go,this))},e.prototype.deoptimizeCache=function(){this.testValue=lt},e.prototype.hasEffects=function(t){return!!this.test.hasEffects(t)||(this.testValue===lt?this.consequent.hasEffects(t)||null!==this.alternate&&this.alternate.hasEffects(t):this.testValue?this.consequent.hasEffects(t):null!==this.alternate&&this.alternate.hasEffects(t))},e.prototype.include=function(t){if(this.included=!0,t)return this.test.include(!0),this.consequent.include(!0),void(null!==this.alternate&&this.alternate.include(!0));var e=this.testValue===lt;(e||this.test.shouldBeIncluded())&&this.test.include(!1),(e||this.testValue)&&this.consequent.shouldBeIncluded()&&this.consequent.include(!1),null===this.alternate||!e&&this.testValue||!this.alternate.shouldBeIncluded()||this.alternate.include(!1)},e.prototype.initialise=function(){this.included=!1,this.isTestValueAnalysed=!1},e.prototype.render=function(t,e){if(this.test.included||(this.testValue?null!==this.alternate&&this.alternate.included:this.consequent.included))this.test.included?this.test.render(t,e):t.overwrite(this.test.start,this.test.end,this.testValue?"true":"false"),this.consequent.included?this.consequent.render(t,e):t.overwrite(this.consequent.start,this.consequent.end,";"),null!==this.alternate&&(this.alternate.included?this.alternate.render(t,e):t.remove(this.consequent.end,this.alternate.end));else{var n=this.testValue?this.consequent:this.alternate;t.remove(this.start,n.start),t.remove(n.end,this.end),qe(this,t),n.render(t,e)}},e}(yo),pa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.include=function(){this.included=!0,this.context.includeDynamicImport(this)},e.prototype.initialise=function(){this.included=!1,this.resolutionNamespace=void 0,this.resolutionInterop=!1,this.context.addDynamicImport(this)},e.prototype.render=function(t,e){if(this.resolutionNamespace){var n=e.compact?"":" ",r=e.compact?"":";";t.overwrite(this.parent.start,this.parent.end,"Promise.resolve().then(function"+n+"()"+n+"{"+n+"return "+this.resolutionNamespace+r+n+"})")}else{var i=function(t){switch(t.format){case"cjs":return{interopLeft:"Promise.resolve({"+(e=t.compact?"":" ")+"default:"+e+"require(",interopRight:")"+e+"})",left:"Promise.resolve(require(",right:"))"};case"amd":var e=t.compact?"":" ",n=t.compact?"c":"resolve",r=t.compact?"e":"reject";return{interopLeft:"new Promise(function"+e+"("+n+","+e+r+")"+e+"{"+e+"require([",interopRight:"],"+e+"function"+e+"(m)"+e+"{"+e+n+"({"+e+"default:"+e+"m"+e+"})"+e+"},"+e+r+")"+e+"})",left:"new Promise(function"+e+"("+n+","+e+r+")"+e+"{"+e+"require([",right:"],"+e+n+","+e+r+")"+e+"})"};case"system":return{left:"module.import(",right:")"};case"es":return{left:(t.dynamicImportFunction||"import")+"(",right:")"}}}(e);if(i){var s=this.resolutionInterop&&i.interopLeft||i.left,o=He(t.original,"(",this.parent.callee.end)+1;t.overwrite(this.parent.start,o,s);var a=this.resolutionInterop&&i.interopRight||i.right;t.overwrite(this.parent.end-1,this.parent.end,a)}}},e.prototype.renderFinalResolution=function(t,e){this.included&&t.overwrite(this.parent.arguments[0].start,this.parent.arguments[0].end,e)},e.prototype.setResolution=function(t,e){void 0===e&&(e=void 0),this.resolutionInterop=t,this.resolutionNamespace=e},e}(yo),la=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){},e.prototype.hasEffects=function(){return!1},e.prototype.initialise=function(){this.included=!1,this.context.addImport(this)},e.prototype.render=function(t,e,n){var r=void 0===n?Ue:n,i=r.start,s=r.end;t.remove(i,s)},e}(yo);la.prototype.needsBoundaries=!0;var da=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(t){return this.body.hasEffects(t.setIgnoreLabel(this.label.name).setIgnoreBreakStatements())},e}(yo);var fa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getLiteralValueAtPath=function(t){return t.length>0||null===this.value&&110!==this.context.code.charCodeAt(this.start)||"bigint"==typeof this.value?lt:this.value},e.prototype.getReturnExpressionWhenCalledAtPath=function(t){return 1!==t.length?dt:zt(this.members,t[0])},e.prototype.hasEffectsWhenAccessedAtPath=function(t){return null===this.value?t.length>0:t.length>1},e.prototype.hasEffectsWhenAssignedAtPath=function(t){return t.length>0},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return 1!==t.length||Bt(this.members,t[0],this.included,e,n)},e.prototype.initialise=function(){this.included=!1,this.members=function(t){switch(typeof t){case"boolean":return Lt;case"number":return Dt;case"string":return Vt;default:return Object.create(null)}}(this.value)},e.prototype.render=function(t,e){"string"==typeof this.value&&t.indentExclusionRanges.push([this.start+1,this.end-1])},e}(yo),ma=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),this.isBranchResolutionAnalysed||this.analyseBranchResolution()},e.prototype.deoptimizeCache=function(){if(null!==this.usedBranch){this.usedBranch=null,this.unusedBranch.deoptimizePath(ct);for(var t=0,e=this.expressionsToBeDeoptimized;t<e.length;t++){e[t].deoptimizeCache()}}},e.prototype.deoptimizePath=function(t){t.length>0&&(this.isBranchResolutionAnalysed||this.analyseBranchResolution(),null===this.usedBranch?(this.left.deoptimizePath(t),this.right.deoptimizePath(t)):this.usedBranch.deoptimizePath(t))},e.prototype.getLiteralValueAtPath=function(t,e,n){return this.isBranchResolutionAnalysed||this.analyseBranchResolution(),null===this.usedBranch?lt:(this.expressionsToBeDeoptimized.push(n),this.usedBranch.getLiteralValueAtPath(t,e,n))},e.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){return this.isBranchResolutionAnalysed||this.analyseBranchResolution(),null===this.usedBranch?new Zo([this.left.getReturnExpressionWhenCalledAtPath(t,e,n),this.right.getReturnExpressionWhenCalledAtPath(t,e,n)]):(this.expressionsToBeDeoptimized.push(n),this.usedBranch.getReturnExpressionWhenCalledAtPath(t,e,n))},e.prototype.hasEffects=function(t){return null===this.usedBranch?this.left.hasEffects(t)||this.right.hasEffects(t):this.usedBranch.hasEffects(t)},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return 0!==t.length&&(null===this.usedBranch?this.left.hasEffectsWhenAccessedAtPath(t,e)||this.right.hasEffectsWhenAccessedAtPath(t,e):this.usedBranch.hasEffectsWhenAccessedAtPath(t,e))},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return 0===t.length||(null===this.usedBranch?this.left.hasEffectsWhenAssignedAtPath(t,e)||this.right.hasEffectsWhenAssignedAtPath(t,e):this.usedBranch.hasEffectsWhenAssignedAtPath(t,e))},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return null===this.usedBranch?this.left.hasEffectsWhenCalledAtPath(t,e,n)||this.right.hasEffectsWhenCalledAtPath(t,e,n):this.usedBranch.hasEffectsWhenCalledAtPath(t,e,n)},e.prototype.include=function(t){this.included=!0,t||null===this.usedBranch||this.unusedBranch.shouldBeIncluded()?(this.left.include(t),this.right.include(t)):this.usedBranch.include(t)},e.prototype.initialise=function(){this.included=!1,this.isBranchResolutionAnalysed=!1,this.usedBranch=null,this.unusedBranch=null,this.expressionsToBeDeoptimized=[]},e.prototype.render=function(e,n,r){var i=void 0===r?Ue:r,s=i.renderedParentType,o=i.isCalleeOfRenderedParent;this.left.included&&this.right.included?t.prototype.render.call(this,e,n):(e.remove(this.start,this.usedBranch.start),e.remove(this.usedBranch.end,this.end),qe(this,e),this.usedBranch.render(e,n,{isCalleeOfRenderedParent:s?o:this.parent.callee===this,renderedParentType:s||this.parent.type}))},e.prototype.analyseBranchResolution=function(){this.isBranchResolutionAnalysed=!0;var t=this.left.getLiteralValueAtPath(ht,Go,this);t!==lt&&(("||"===this.operator?t:!t)?(this.usedBranch=this.left,this.unusedBranch=this.right):(this.usedBranch=this.right,this.unusedBranch=this.left))},e}(yo);function ga(t,e){var n=pe(e||t),r=de(t);return n.endsWith(r)&&(n=n.substr(0,n.length-r.length)),n}function va(t){return"undefined"!=typeof process&&ue(t)?fe(process.cwd(),t):t}function ya(t){return"/"!==t[0]&&("."!==t[1]||"/"!==t[2]&&("."!==t[2]||"/"!==t[3]))}function xa(t){return t.computed?function(t){if(t instanceof fa)return String(t.value);return null}(t.property):t.property.name}function _a(t){var e=t.propertyKey,n=t.object;if("string"==typeof e){if(n instanceof Ko)return[{key:n.name,pos:n.start},{key:e,pos:t.property.start}];if(n.type===st){var r=_a(n);return r&&r.concat([{key:e,pos:t.property.start}])}}return null}var Ea=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.variable=null,e}return n(e,t),e.prototype.addExportedVariables=function(){},e.prototype.bind=function(){if(!this.bound){this.bound=!0;var e=_a(this),n=e&&this.scope.findVariable(e[0].key);if(n&&n.isNamespace){var r=this.resolveNamespaceVariables(n,e.slice(1));r?"string"==typeof r?this.replacement=r:(r.isExternal&&r.module&&r.module.suggestName(e[0].key),this.variable=r,this.scope.addNamespaceMemberAccess(function(t){for(var e=t[0].key,n=1;n<t.length;n++)e+="."+t[n].key;return e}(e),r)):t.prototype.bind.call(this)}else t.prototype.bind.call(this),null===this.propertyKey&&this.analysePropertyKey()}},e.prototype.deoptimizeCache=function(){for(var t=0,e=this.expressionsToBeDeoptimized;t<e.length;t++){e[t].deoptimizeCache()}},e.prototype.deoptimizePath=function(t){this.bound||this.bind(),0===t.length&&this.disallowNamespaceReassignment(),this.variable?this.variable.deoptimizePath(t):(null===this.propertyKey&&this.analysePropertyKey(),this.object.deoptimizePath([this.propertyKey].concat(t)))},e.prototype.getLiteralValueAtPath=function(t,e,n){return null!==this.variable?this.variable.getLiteralValueAtPath(t,e,n):(null===this.propertyKey&&this.analysePropertyKey(),this.expressionsToBeDeoptimized.push(n),this.object.getLiteralValueAtPath([this.propertyKey].concat(t),e,n))},e.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){return null!==this.variable?this.variable.getReturnExpressionWhenCalledAtPath(t,e,n):(null===this.propertyKey&&this.analysePropertyKey(),this.expressionsToBeDeoptimized.push(n),this.object.getReturnExpressionWhenCalledAtPath([this.propertyKey].concat(t),e,n))},e.prototype.hasEffects=function(t){return this.property.hasEffects(t)||this.object.hasEffects(t)||this.context.propertyReadSideEffects&&this.object.hasEffectsWhenAccessedAtPath([this.propertyKey],t)},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return 0!==t.length&&(null!==this.variable?this.variable.hasEffectsWhenAccessedAtPath(t,e):this.object.hasEffectsWhenAccessedAtPath([this.propertyKey].concat(t),e))},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return null!==this.variable?this.variable.hasEffectsWhenAssignedAtPath(t,e):this.object.hasEffectsWhenAssignedAtPath([this.propertyKey].concat(t),e)},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return null!==this.variable?this.variable.hasEffectsWhenCalledAtPath(t,e,n):this.object.hasEffectsWhenCalledAtPath([this.propertyKey].concat(t),e,n)},e.prototype.include=function(t){this.included||(this.included=!0,null!==this.variable&&this.context.includeVariable(this.variable)),this.object.include(t),this.property.include(t)},e.prototype.initialise=function(){this.included=!1,this.propertyKey=xa(this),this.variable=null,this.bound=!1,this.replacement=null,this.expressionsToBeDeoptimized=[]},e.prototype.render=function(e,n,r){var i=void 0===r?Ue:r,s=i.renderedParentType,o=i.isCalleeOfRenderedParent,a="CallExpression"===s&&o;if(this.variable||this.replacement){var u=this.variable?this.variable.getName():this.replacement;a&&(u="0, "+u),e.overwrite(this.start,this.end,u,{contentOnly:!0,storeName:!0})}else a&&e.appendRight(this.start,"0, "),t.prototype.render.call(this,e,n)},e.prototype.analysePropertyKey=function(){this.propertyKey=ut;var t=this.property.getLiteralValueAtPath(ht,Go,this);this.propertyKey=t===lt?ut:String(t)},e.prototype.disallowNamespaceReassignment=function(){this.object instanceof Ko&&this.scope.findVariable(this.object.name).isNamespace&&this.context.error({code:"ILLEGAL_NAMESPACE_REASSIGNMENT",message:"Illegal reassignment to import '"+this.object.name+"'"},this.start)},e.prototype.resolveNamespaceVariables=function(t,e){if(0===e.length)return t;if(!t.isNamespace)return null;var n=e[0].key,r=t.isExternal?t.module.getVariableForExportName(n):t.context.traceExport(n);if(!r){var i=t.isExternal?t.module.id:t.context.fileName;return this.context.warn({code:"MISSING_EXPORT",exporter:va(i),importer:va(this.context.fileName),message:"'"+n+"' is not exported by '"+va(i)+"'",missing:n,url:"https://rollupjs.org/guide/en#error-name-is-not-exported-by-module-"},e[0].pos),"undefined"}return this.resolveNamespaceVariables(r,e.slice(1))},e}(yo),ba="(typeof document !== 'undefined' ? document.currentScript && document.currentScript.src || document.baseURI : new (typeof URL !== 'undefined' ? URL : require('ur'+'l').URL)('file:' + __filename).href)",Aa={amd:"new URL((typeof process !== 'undefined' && process.versions && process.versions.node ? 'file:' : '') + module.uri).href",cjs:"new (typeof URL !== 'undefined' ? URL : require('ur'+'l').URL)((process.browser ? '' : 'file:') + __filename, process.browser && document.baseURI).href",iife:ba,umd:ba},Sa="(typeof document!=='undefined'?document.currentScript&&document.currentScript.src||document.baseURI:new(typeof URL!=='undefined'?URL:require('ur'+'l').URL)('file:'+__filename).href)",wa={amd:"new URL((typeof process!=='undefined'&&process.versions&&process.versions.node?'file:':'')+module.uri).href",cjs:"new(typeof URL!=='undefined'?URL:require('ur'+'l').URL)((process.browser?'':'file:')+__filename,process.browser&&document.baseURI).href",iife:Sa,umd:Sa},Ia=function(t,e){var n=e?"":" ";return"new"+n+"(typeof URL"+n+"!=="+n+"'undefined'"+n+"?"+n+"URL"+n+":"+n+"require('ur'+'l').URL)((typeof document"+n+"!=="+n+"'undefined'"+n+"?"+n+"document.currentScript"+n+"&&"+n+"document.currentScript.src"+n+"||"+n+"document.baseURI"+n+":"+n+"'file:'"+n+"+"+n+"__filename)"+n+"+"+n+"'/../"+t+"').href"},Pa={amd:function(t,e){var n=e?"":" ";return"new URL((typeof process"+n+"!=="+n+"'undefined'"+n+"&&"+n+"process.versions"+n+"&&"+n+"process.versions.node"+n+"?"+n+"'file:'"+n+":"+n+"'')"+n+"+"+n+"module.uri"+n+"+"+n+"'/../"+t+"').href"},cjs:function(t,e){var n=e?"":" ";return"new"+n+"(typeof URL"+n+"!=="+n+"'undefined'"+n+"?"+n+"URL"+n+":"+n+"require('ur'+'l').URL)((process.browser"+n+"?"+n+"''"+n+":"+n+"'file:')"+n+"+"+n+"__dirname"+n+"+"+n+"'/"+t+"',"+n+"process.browser"+n+"&&"+n+"document.baseURI).href"},es:function(t,e){return"new URL('../"+t+"',"+(e?"":" ")+"import.meta.url).href"},iife:Ia,system:function(t,e){return"new URL('../"+t+"',"+(e?"":" ")+"module.url).href"},umd:Ia},ka=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.initialise=function(){"import"===this.meta.name&&(this.rendered=!1,this.context.addImportMeta(this)),this.included=!1},e.prototype.render=function(e,n){"import"===this.meta.name&&(this.rendered=!0),t.prototype.render.call(this,e,n)},e.prototype.renderFinalMechanism=function(t,e,n,r){if(!this.rendered)return!1;if(this.parent instanceof Ea==!1)return!1;var i,s=this.parent;if(s.property instanceof Ko)i=s.property.name;else{if(!(s.property instanceof fa&&"string"==typeof s.property.value))return!1;i=s.property.value}if(i.startsWith("ROLLUP_ASSET_URL_")){var o=this.context.getAssetFileName(i.substr(17)),a=ce(fe(le(e),o));return t.overwrite(s.start,s.end,Pa[n](a,r)),!0}if("system"===n)t.overwrite(this.meta.start,this.meta.end,"module");else if("url"===i){var u=(r?wa:Aa)[n];return u&&t.overwrite(s.start,s.end,u),!0}return!1},e}(yo),Ca=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(t){return this.key.hasEffects(t)},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return t.length>0||this.value.hasEffectsWhenCalledAtPath(ht,e,n)},e}(yo),Na=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this);for(var e=0,n=this.arguments;e<n.length;e++){n[e].deoptimizePath(ct)}},e.prototype.hasEffects=function(t){for(var e=0,n=this.arguments;e<n.length;e++){if(n[e].hasEffects(t))return!0}return!this.annotatedPure&&this.callee.hasEffectsWhenCalledAtPath(ht,this.callOptions,t.getHasEffectsWhenCalledOptions())},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>1},e.prototype.initialise=function(){this.included=!1,this.callOptions=at.create({args:this.arguments,callIdentifier:this,withNew:!0})},e}(yo),Ra=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),this.argument.deoptimizePath([ut,ut])},e}(yo),Oa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),null===this.propertyMap&&this.buildPropertyMap()},e.prototype.deoptimizeCache=function(){this.hasUnknownDeoptimizedProperty||this.deoptimizeAllProperties()},e.prototype.deoptimizePath=function(t){if(!this.hasUnknownDeoptimizedProperty)if(null===this.propertyMap&&this.buildPropertyMap(),0!==t.length){var e=t[0];if(1===t.length){if("string"!=typeof e)return void this.deoptimizeAllProperties();if(!this.deoptimizedPaths[e]&&(this.deoptimizedPaths[e]=!0,this.expressionsToBeDeoptimized[e]))for(var n=0,r=this.expressionsToBeDeoptimized[e];n<r.length;n++){r[n].deoptimizeCache()}}for(var i=1===t.length?ct:t.slice(1),s=0,o="string"==typeof e?this.propertyMap[e]?this.propertyMap[e].propertiesRead:[]:this.properties;s<o.length;s++){o[s].deoptimizePath(i)}}else this.deoptimizeAllProperties()},e.prototype.getLiteralValueAtPath=function(t,e,n){null===this.propertyMap&&this.buildPropertyMap();var r=t[0];return 0===t.length||this.hasUnknownDeoptimizedProperty||"string"!=typeof r||this.deoptimizedPaths[r]?lt:1!==t.length||this.propertyMap[r]||Mt[r]||0!==this.unmatchablePropertiesRead.length?!this.propertyMap[r]||null===this.propertyMap[r].exactMatchRead||this.propertyMap[r].propertiesRead.length>1?lt:(this.expressionsToBeDeoptimized[r]?this.expressionsToBeDeoptimized[r].push(n):this.expressionsToBeDeoptimized[r]=[n],this.propertyMap[r].exactMatchRead.getLiteralValueAtPath(t.slice(1),e,n)):void(this.expressionsToBeDeoptimized[r]?this.expressionsToBeDeoptimized[r].push(n):this.expressionsToBeDeoptimized[r]=[n])},e.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){null===this.propertyMap&&this.buildPropertyMap();var r=t[0];return 0===t.length||this.hasUnknownDeoptimizedProperty||"string"!=typeof r||this.deoptimizedPaths[r]?dt:1!==t.length||!Mt[r]||0!==this.unmatchablePropertiesRead.length||this.propertyMap[r]&&null!==this.propertyMap[r].exactMatchRead?!this.propertyMap[r]||null===this.propertyMap[r].exactMatchRead||this.propertyMap[r].propertiesRead.length>1?dt:(this.expressionsToBeDeoptimized[r]?this.expressionsToBeDeoptimized[r].push(n):this.expressionsToBeDeoptimized[r]=[n],this.propertyMap[r].exactMatchRead.getReturnExpressionWhenCalledAtPath(t.slice(1),e,n)):zt(Mt,r)},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){if(0===t.length)return!1;var n=t[0];if(t.length>1&&(this.hasUnknownDeoptimizedProperty||"string"!=typeof n||this.deoptimizedPaths[n]||!this.propertyMap[n]||null===this.propertyMap[n].exactMatchRead))return!0;for(var r=t.slice(1),i=0,s="string"!=typeof n?this.properties:this.propertyMap[n]?this.propertyMap[n].propertiesRead:[];i<s.length;i++){if(s[i].hasEffectsWhenAccessedAtPath(r,e))return!0}return!1},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){if(0===t.length)return!1;var n=t[0];if(t.length>1&&(this.hasUnknownDeoptimizedProperty||"string"!=typeof n||this.deoptimizedPaths[n]||!this.propertyMap[n]||null===this.propertyMap[n].exactMatchRead))return!0;for(var r=t.slice(1),i=0,s="string"!=typeof n?this.properties:t.length>1?this.propertyMap[n].propertiesRead:this.propertyMap[n]?this.propertyMap[n].propertiesSet:[];i<s.length;i++){if(s[i].hasEffectsWhenAssignedAtPath(r,e))return!0}return!1},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){var r=t[0];if(0===t.length||this.hasUnknownDeoptimizedProperty||"string"!=typeof r||this.deoptimizedPaths[r]||(this.propertyMap[r]?!this.propertyMap[r].exactMatchRead:t.length>1||!Mt[r]))return!0;for(var i=t.slice(1),s=0,o=this.propertyMap[r]?this.propertyMap[r].propertiesRead:[];s<o.length;s++){if(o[s].hasEffectsWhenCalledAtPath(i,e,n))return!0}return!(1!==t.length||!Mt[r])&&Bt(Mt,r,this.included,e,n)},e.prototype.initialise=function(){this.included=!1,this.hasUnknownDeoptimizedProperty=!1,this.deoptimizedPaths=Object.create(null),this.propertyMap=null,this.expressionsToBeDeoptimized=Object.create(null)},e.prototype.render=function(e,n,r){var i=(void 0===r?Ue:r).renderedParentType;t.prototype.render.call(this,e,n),i===et&&(e.appendRight(this.start,"("),e.prependLeft(this.end,")"))},e.prototype.buildPropertyMap=function(){var t,e;this.propertyMap=Object.create(null),this.unmatchablePropertiesRead=[],this.unmatchablePropertiesWrite=[];for(var n=this.properties.length-1;n>=0;n--){var r=this.properties[n];if(r instanceof Ra)this.unmatchablePropertiesRead.push(r);else{var i="get"!==r.kind,s="set"!==r.kind,o=void 0;if(r.computed){var a=r.key.getLiteralValueAtPath(ht,Go,this);if(a===lt){s?this.unmatchablePropertiesRead.push(r):this.unmatchablePropertiesWrite.push(r);continue}o=String(a)}else o=r.key instanceof Ko?r.key.name:String(r.key.value);var u=this.propertyMap[o];u?(s&&null===u.exactMatchRead&&(u.exactMatchRead=r,(t=u.propertiesRead).push.apply(t,[r].concat(this.unmatchablePropertiesRead))),i&&!s&&null===u.exactMatchWrite&&(u.exactMatchWrite=r,(e=u.propertiesSet).push.apply(e,[r].concat(this.unmatchablePropertiesWrite)))):this.propertyMap[o]={exactMatchRead:s?r:null,exactMatchWrite:i?r:null,propertiesRead:s?[r].concat(this.unmatchablePropertiesRead):[],propertiesSet:i&&!s?[r].concat(this.unmatchablePropertiesWrite):[]}}}},e.prototype.deoptimizeAllProperties=function(){this.hasUnknownDeoptimizedProperty=!0;for(var t=0,e=this.properties;t<e.length;t++){e[t].deoptimizePath(ct)}for(var n=0,r=Object.keys(this.expressionsToBeDeoptimized);n<r.length;n++)for(var i=r[n],s=0,o=this.expressionsToBeDeoptimized[i];s<o.length;s++){o[s].deoptimizeCache()}},e}(yo),Ma=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.addExportedVariables=function(t){for(var e=0,n=this.properties;e<n.length;e++){var r=n[e];"Property"===r.type?r.value.addExportedVariables(t):r.argument.addExportedVariables(t)}},e.prototype.declare=function(t,e){for(var n=0,r=this.properties;n<r.length;n++){r[n].declare(t,e)}},e.prototype.deoptimizePath=function(t){if(0===t.length)for(var e=0,n=this.properties;e<n.length;e++){n[e].deoptimizePath(t)}},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){if(t.length>0)return!0;for(var n=0,r=this.properties;n<r.length;n++){if(r[n].hasEffectsWhenAssignedAtPath(ht,e))return!0}return!1},e}(yo),Ta=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(t){for(var e=0,n=this.body;e<n.length;e++){if(n[e].hasEffects(t))return!0}},e.prototype.include=function(t){this.included=!0;for(var e=0,n=this.body;e<n.length;e++){var r=n[e];(t||r.shouldBeIncluded())&&r.include(t)}},e.prototype.render=function(e,n){this.body.length?Ye(this.body,e,this.start,this.end,n):t.prototype.render.call(this,e,n)},e}(yo),La=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.declarationInit=null,e}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),"get"===this.kind&&null===this.returnExpression&&this.updateReturnExpression(),null!==this.declarationInit&&this.declarationInit.deoptimizePath([ut,ut])},e.prototype.declare=function(t,e){this.declarationInit=e,this.value.declare(t,dt)},e.prototype.deoptimizeCache=function(){throw new Error("Unexpected deoptimization")},e.prototype.deoptimizePath=function(t){"get"===this.kind?t.length>0&&(null===this.returnExpression&&this.updateReturnExpression(),this.returnExpression.deoptimizePath(t)):"set"!==this.kind&&this.value.deoptimizePath(t)},e.prototype.getLiteralValueAtPath=function(t,e,n){return"set"===this.kind?lt:"get"===this.kind?(null===this.returnExpression&&this.updateReturnExpression(),this.returnExpression.getLiteralValueAtPath(t,e,n)):this.value.getLiteralValueAtPath(t,e,n)},e.prototype.getReturnExpressionWhenCalledAtPath=function(t,e,n){return"set"===this.kind?dt:"get"===this.kind?(null===this.returnExpression&&this.updateReturnExpression(),this.returnExpression.getReturnExpressionWhenCalledAtPath(t,e,n)):this.value.getReturnExpressionWhenCalledAtPath(t,e,n)},e.prototype.hasEffects=function(t){return this.key.hasEffects(t)||this.value.hasEffects(t)},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return"get"===this.kind?this.value.hasEffectsWhenCalledAtPath(ht,this.accessorCallOptions,e.getHasEffectsWhenCalledOptions())||t.length>0&&this.returnExpression.hasEffectsWhenAccessedAtPath(t,e):this.value.hasEffectsWhenAccessedAtPath(t,e)},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return"get"===this.kind?0===t.length||this.returnExpression.hasEffectsWhenAssignedAtPath(t,e):"set"===this.kind?t.length>0||this.value.hasEffectsWhenCalledAtPath(ht,this.accessorCallOptions,e.getHasEffectsWhenCalledOptions()):this.value.hasEffectsWhenAssignedAtPath(t,e)},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return"get"===this.kind?this.returnExpression.hasEffectsWhenCalledAtPath(t,e,n):this.value.hasEffectsWhenCalledAtPath(t,e,n)},e.prototype.initialise=function(){this.included=!1,this.returnExpression=null,this.accessorCallOptions=at.create({callIdentifier:this,withNew:!1})},e.prototype.render=function(t,e){this.shorthand||this.key.render(t,e),this.value.render(t,e,{isShorthandProperty:this.shorthand})},e.prototype.updateReturnExpression=function(){this.returnExpression=dt,this.returnExpression=this.value.getReturnExpressionWhenCalledAtPath(ht,Go,this)},e}(yo),Da=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.declarationInit=null,e}return n(e,t),e.prototype.addExportedVariables=function(t){this.argument.addExportedVariables(t)},e.prototype.bind=function(){t.prototype.bind.call(this),null!==this.declarationInit&&this.declarationInit.deoptimizePath([ut,ut])},e.prototype.declare=function(t,e){this.argument.declare(t,dt),this.declarationInit=e},e.prototype.deoptimizePath=function(t){0===t.length&&this.argument.deoptimizePath(ht)},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return t.length>0||this.argument.hasEffectsWhenAssignedAtPath(ht,e)},e}(yo),Va=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(t){return!t.ignoreReturnAwaitYield()||this.argument&&this.argument.hasEffects(t)},e.prototype.initialise=function(){this.included=!1,this.scope.addReturnExpression(this.argument||dt)},e.prototype.render=function(t,e){this.argument&&(this.argument.render(t,e),this.argument.start===this.start+6&&t.prependLeft(this.start+6," "))},e}(yo),Ba=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.deoptimizePath=function(t){t.length>0&&this.expressions[this.expressions.length-1].deoptimizePath(t)},e.prototype.getLiteralValueAtPath=function(t,e,n){return this.expressions[this.expressions.length-1].getLiteralValueAtPath(t,e,n)},e.prototype.hasEffects=function(t){for(var e=0,n=this.expressions;e<n.length;e++){if(n[e].hasEffects(t))return!0}return!1},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>0&&this.expressions[this.expressions.length-1].hasEffectsWhenAccessedAtPath(t,e)},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return 0===t.length||this.expressions[this.expressions.length-1].hasEffectsWhenAssignedAtPath(t,e)},e.prototype.hasEffectsWhenCalledAtPath=function(t,e,n){return this.expressions[this.expressions.length-1].hasEffectsWhenCalledAtPath(t,e,n)},e.prototype.include=function(t){this.included=!0;for(var e=0;e<this.expressions.length-1;e++){var n=this.expressions[e];(t||n.shouldBeIncluded())&&n.include(t)}this.expressions[this.expressions.length-1].include(t)},e.prototype.render=function(t,e,n){for(var r,i=void 0===n?Ue:n,s=i.renderedParentType,o=i.isCalleeOfRenderedParent,a=0,u=0,h=0,c=Xe(this.expressions,t,this.start,this.end);h<c.length;h++){var p=c[h],l=p.node,d=p.start,f=p.end;l.included?(u++,0===a&&(a=d),r=f,l===this.expressions[this.expressions.length-1]&&1===u?l.render(t,e,{isCalleeOfRenderedParent:s?o:this.parent.callee===this,renderedParentType:s||this.parent.type}):l.render(t,e)):Fe(l,t,d,f)}u>1&&s&&(t.prependRight(a,"("),t.appendLeft(r,")"))},e}(yo),za=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.include=function(t){this.included=!0,this.test&&this.test.include(t);for(var e=0,n=this.consequent;e<n.length;e++){var r=n[e];(t||r.shouldBeIncluded())&&r.include(t)}},e.prototype.render=function(e,n){if(this.consequent.length){this.test&&this.test.render(e,n);var r=this.test?this.test.end:He(e.original,"default",this.start)+7,i=He(e.original,":",r)+1;Ye(this.consequent,e,i,this.end,n)}else t.prototype.render.call(this,e,n)},e}(yo),ja=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createScope=function(t){this.scope=new To(t)},e.prototype.hasEffects=function(e){return t.prototype.hasEffects.call(this,e.setIgnoreBreakStatements())},e}(yo),Wa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){(t.prototype.bind.call(this),this.tag.type===rt)&&(this.scope.findVariable(this.tag.name).isNamespace&&this.context.error({code:"CANNOT_CALL_NAMESPACE",message:"Cannot call a namespace ('"+this.tag.name+"')"},this.start),"eval"===this.tag.name&&this.context.warn({code:"EVAL",message:"Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification",url:"https://rollupjs.org/guide/en#avoiding-eval"},this.start))},e.prototype.hasEffects=function(e){return t.prototype.hasEffects.call(this,e)||this.tag.hasEffectsWhenCalledAtPath(ht,this.callOptions,e.getHasEffectsWhenCalledOptions())},e.prototype.initialise=function(){this.included=!1,this.callOptions=at.create({callIdentifier:this,withNew:!1})},e}(yo),Ua=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(t){return!1},e}(yo);var Fa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getLiteralValueAtPath=function(t){return t.length>0||1!==this.quasis.length?lt:this.quasis[0].value.cooked},e.prototype.render=function(e,n){e.indentExclusionRanges.push([this.start,this.end]),t.prototype.render.call(this,e,n)},e}(yo),qa=function(t){function e(e,n){var r=t.call(this,e)||this;return r.context=n,r.variables.this=new Wt("this",null,ft,n),r}return n(e,t),e.prototype.addExportDefaultDeclaration=function(t,e,n){return this.variables.default=new Ut(t,e,n)},e.prototype.addNamespaceMemberAccess=function(t,e){e instanceof $t&&(this.accessedOutsideVariables[e.name]=e)},e.prototype.deconflict=function(t){for(var e=0,n=this.children;e<n.length;e++){n[e].deconflict(t)}},e.prototype.findLexicalBoundary=function(){return this},e.prototype.findVariable=function(t){var e=this.variables[t]||this.accessedOutsideVariables[t];if(e)return e;var n=this.context.traceVariable(t)||this.parent.findVariable(t);return n instanceof $t&&(this.accessedOutsideVariables[t]=n),n},e}(en),Ga=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),this.variable=this.scope.findVariable("this")},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>0&&this.variable.hasEffectsWhenAccessedAtPath(t,e)},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return this.variable.hasEffectsWhenAssignedAtPath(t,e)},e.prototype.initialise=function(){this.included=!1,this.variable=null,this.alias=this.scope.findLexicalBoundary()instanceof qa?this.context.moduleContext:null,"undefined"===this.alias&&this.context.warn({code:"THIS_IS_UNDEFINED",message:"The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten",url:"https://rollupjs.org/guide/en#error-this-is-undefined"},this.start)},e.prototype.render=function(t,e){null!==this.alias&&t.overwrite(this.start,this.end,this.alias,{contentOnly:!1,storeName:!0})},e}(yo),Ha=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(t){return!0},e}(yo),Ka={"!":function(t){return!t},"+":function(t){return+t},"-":function(t){return-t},delete:function(){return lt},typeof:function(t){return typeof t},void:function(){},"~":function(t){return~t}},Ya=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),"delete"===this.operator&&this.argument.deoptimizePath(ht)},e.prototype.getLiteralValueAtPath=function(t,e,n){if(t.length>0)return lt;var r=this.argument.getLiteralValueAtPath(ht,e,n);return r===lt?lt:Ka[this.operator](r)},e.prototype.hasEffects=function(t){return this.argument.hasEffects(t)||"delete"===this.operator&&this.argument.hasEffectsWhenAssignedAtPath(ht,t)},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return"void"===this.operator?t.length>0:t.length>1},e}(yo),Xa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(t){return!0},e.prototype.include=function(){t.prototype.include.call(this,!0)},e}(yo),Qa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){(t.prototype.bind.call(this),this.argument.deoptimizePath(ht),Ho(this.argument))&&(this.scope.findVariable(this.argument.name).isReassigned=!0)},e.prototype.hasEffects=function(t){return this.argument.hasEffects(t)||this.argument.hasEffectsWhenAssignedAtPath(ht,t)},e.prototype.hasEffectsWhenAccessedAtPath=function(t,e){return t.length>1},e.prototype.render=function(t,e){this.argument.render(t,e);var n=this.argument.variable;if("system"===e.format&&n&&n.exportName){var r=n.getName();if(this.prefix)t.overwrite(this.start,this.end,"exports('"+n.exportName+"', "+this.operator+r+")");else{var i=void 0;switch(this.operator){case"++":i=r+" + 1";break;case"--":i=r+" - 1"}t.overwrite(this.start,this.end,"(exports('"+n.exportName+"', "+i+"), "+r+this.operator+")")}}},e}(yo);function $a(t){return t.renderBaseName&&t.exportName&&t.isReassigned}var Ja=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.deoptimizePath=function(t){for(var e=0,n=this.declarations;e<n.length;e++){n[e].deoptimizePath(ht)}},e.prototype.hasEffectsWhenAssignedAtPath=function(t,e){return!1},e.prototype.include=function(t){this.included=!0;for(var e=0,n=this.declarations;e<n.length;e++){var r=n[e];(t||r.shouldBeIncluded())&&r.include(t)}},e.prototype.includeWithAllDeclaredVariables=function(t){this.included=!0;for(var e=0,n=this.declarations;e<n.length;e++){n[e].include(t)}},e.prototype.initialise=function(){this.included=!1;for(var t=0,e=this.declarations;t<e.length;t++){e[t].declareDeclarator(this.kind)}},e.prototype.render=function(t,e,n){if(void 0===n&&(n=Ue),function(t){for(var e=0,n=t;e<n.length;e++){var r=n[e];if(!r.included)return!1;if(r.id.type===rt){if(r.id.variable.exportName)return!1}else{var i=[];if(r.id.addExportedVariables(i),i.length>0)return!1}}return!0}(this.declarations)){for(var r=0,i=this.declarations;r<i.length;r++){i[r].render(t,e)}n.isNoStatement||59===t.original.charCodeAt(this.end-1)||t.appendLeft(this.end,";")}else this.renderReplacedDeclarations(t,e,n)},e.prototype.renderDeclarationEnd=function(t,e,n,r,i,s,o){59===t.original.charCodeAt(this.end-1)&&t.remove(this.end-1,this.end),s&&(e+=";"),null!==n?(10!==t.original.charCodeAt(r-1)||10!==t.original.charCodeAt(this.end)&&13!==t.original.charCodeAt(this.end)||(r--,13===t.original.charCodeAt(r)&&r--),r===n+1?t.overwrite(n,i,e):(t.overwrite(n,n+1,e),t.remove(r,i))):t.appendLeft(i,e),o.length>0&&t.appendLeft(i," "+Vo(o))},e.prototype.renderReplacedDeclarations=function(t,e,n){var r,i,s=n.start,o=void 0===s?this.start:s,a=n.end,u=void 0===a?this.end:a,h=n.isNoStatement,c=Xe(this.declarations,t,this.start+this.kind.length,this.end-(59===t.original.charCodeAt(this.end-1)?1:0)),p=(i=/\n\s*$/.test(t.slice(this.start,c[0].start))?this.start+this.kind.length:c[0].start)-1;t.remove(this.start,p);for(var l,d,f=!1,m=!1,g="",v=[],y=0,x=c;y<x.length;y++){var _=x[y],E=_.node,b=_.start,A=_.separator,S=_.contentEnd,w=_.end;!E.included||Ho(E.id)&&$a(E.id.variable)&&null===E.init?t.remove(b,w):(l="",d="",Ho(E.id)&&$a(E.id.variable)?(m&&(g+=";"),f=!1):("system"===e.format&&null!==E.init&&(E.id.type!==rt?E.id.addExportedVariables(v):E.id.variable.exportName&&(t.prependLeft(t.original.indexOf("=",E.id.end)+1," exports('"+(E.id.variable.safeExportName||E.id.variable.exportName)+"',"),d+=")")),f?g+=",":(m&&(g+=";"),l+=this.kind+" ",f=!0)),i===p+1?t.overwrite(p,i,g+l):(t.overwrite(p,p+1,g),t.appendLeft(i,l)),E.render(t,e),r=S,i=w,m=!0,p=A,g=d)}m?this.renderDeclarationEnd(t,g,p,r,i,!h,v):t.remove(o,u)},e}(yo),Za=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.declareDeclarator=function(t){this.id.declare(t,this.init||ft)},e.prototype.deoptimizePath=function(t){this.id.deoptimizePath(t)},e.prototype.render=function(e,n){null===this.init||this.init.included?t.prototype.render.call(this,e,n):(e.remove(this.id.end,this.end),this.id.render(e,n))},e}(yo),tu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasEffects=function(t){return this.test.hasEffects(t)||this.body.hasEffects(t.setIgnoreBreakStatements())},e}(yo),eu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.bind=function(){t.prototype.bind.call(this),null!==this.argument&&this.argument.deoptimizePath(ct)},e.prototype.hasEffects=function(t){return!t.ignoreReturnAwaitYield()||this.argument&&this.argument.hasEffects(t)},e.prototype.render=function(t,e){this.argument&&(this.argument.render(t,e),this.argument.start===this.start+5&&t.prependLeft(this.start+5," "))},e}(yo),nu={ArrayExpression:Oo,ArrayPattern:Mo,ArrowFunctionExpression:Do,AssignmentExpression:Bo,AssignmentPattern:zo,AwaitExpression:jo,BinaryExpression:Uo,BlockStatement:Lo,BreakStatement:Fo,CallExpression:Yo,CatchClause:Qo,ClassBody:$o,ClassDeclaration:Eo,ClassExpression:Jo,ConditionalExpression:ta,DoWhileStatement:ea,EmptyStatement:na,ExportAllDeclaration:ra,ExportDefaultDeclaration:Ro,ExportNamedDeclaration:ia,ExpressionStatement:sa,ForInStatement:oa,ForOfStatement:aa,ForStatement:ua,FunctionDeclaration:Co,FunctionExpression:ha,Identifier:Ko,IfStatement:ca,Import:pa,ImportDeclaration:la,LabeledStatement:da,Literal:fa,LogicalExpression:ma,MemberExpression:Ea,MetaProperty:ka,MethodDefinition:Ca,NewExpression:Na,ObjectExpression:Oa,ObjectPattern:Ma,Program:Ta,Property:La,RestElement:Da,ReturnStatement:Va,SequenceExpression:Ba,SpreadElement:Ra,SwitchCase:za,SwitchStatement:ja,TaggedTemplateExpression:Wa,TemplateElement:Ua,TemplateLiteral:Fa,ThisExpression:Ga,ThrowStatement:Ha,TryStatement:yo,UnaryExpression:Ya,UnknownNode:Xa,UpdateExpression:Qa,VariableDeclaration:Ja,VariableDeclarator:Za,WhileStatement:tu,YieldExpression:eu};function ru(t,e,n){n(t,e)}function iu(t,e,n){}var su={};function ou(t,e,n){void 0===n&&(n=t.type);for(var r=e.commentNodes[e.commentIndex];r&&t.start>=r.end;)au(t,r),r=e.commentNodes[++e.commentIndex];r&&r.end<=t.end&&su[n](t,e,ou)}function au(t,e){t.annotations?t.annotations.push(e):t.annotations=[e],"ExpressionStatement"===t.type&&(t=t.expression),"CallExpression"!==t.type&&"NewExpression"!==t.type||(t.annotatedPure=!0)}su.Program=su.BlockStatement=function(t,e,n){for(var r=0,i=t.body;r<i.length;r+=1){n(i[r],e,"Statement")}},su.Statement=ru,su.EmptyStatement=iu,su.ExpressionStatement=su.ParenthesizedExpression=function(t,e,n){return n(t.expression,e,"Expression")},su.IfStatement=function(t,e,n){n(t.test,e,"Expression"),n(t.consequent,e,"Statement"),t.alternate&&n(t.alternate,e,"Statement")},su.LabeledStatement=function(t,e,n){return n(t.body,e,"Statement")},su.BreakStatement=su.ContinueStatement=iu,su.WithStatement=function(t,e,n){n(t.object,e,"Expression"),n(t.body,e,"Statement")},su.SwitchStatement=function(t,e,n){n(t.discriminant,e,"Expression");for(var r=0,i=t.cases;r<i.length;r+=1){var s=i[r];s.test&&n(s.test,e,"Expression");for(var o=0,a=s.consequent;o<a.length;o+=1){n(a[o],e,"Statement")}}},su.SwitchCase=function(t,e,n){t.test&&n(t.test,e,"Expression");for(var r=0,i=t.consequent;r<i.length;r+=1){n(i[r],e,"Statement")}},su.ReturnStatement=su.YieldExpression=su.AwaitExpression=function(t,e,n){t.argument&&n(t.argument,e,"Expression")},su.ThrowStatement=su.SpreadElement=function(t,e,n){return n(t.argument,e,"Expression")},su.TryStatement=function(t,e,n){n(t.block,e,"Statement"),t.handler&&n(t.handler,e),t.finalizer&&n(t.finalizer,e,"Statement")},su.CatchClause=function(t,e,n){t.param&&n(t.param,e,"Pattern"),n(t.body,e,"Statement")},su.WhileStatement=su.DoWhileStatement=function(t,e,n){n(t.test,e,"Expression"),n(t.body,e,"Statement")},su.ForStatement=function(t,e,n){t.init&&n(t.init,e,"ForInit"),t.test&&n(t.test,e,"Expression"),t.update&&n(t.update,e,"Expression"),n(t.body,e,"Statement")},su.ForInStatement=su.ForOfStatement=function(t,e,n){n(t.left,e,"ForInit"),n(t.right,e,"Expression"),n(t.body,e,"Statement")},su.ForInit=function(t,e,n){"VariableDeclaration"===t.type?n(t,e):n(t,e,"Expression")},su.DebuggerStatement=iu,su.FunctionDeclaration=function(t,e,n){return n(t,e,"Function")},su.VariableDeclaration=function(t,e,n){for(var r=0,i=t.declarations;r<i.length;r+=1){n(i[r],e)}},su.VariableDeclarator=function(t,e,n){n(t.id,e,"Pattern"),t.init&&n(t.init,e,"Expression")},su.Function=function(t,e,n){t.id&&n(t.id,e,"Pattern");for(var r=0,i=t.params;r<i.length;r+=1){n(i[r],e,"Pattern")}n(t.body,e,t.expression?"Expression":"Statement")},su.Pattern=function(t,e,n){"Identifier"===t.type?n(t,e,"VariablePattern"):"MemberExpression"===t.type?n(t,e,"MemberPattern"):n(t,e)},su.VariablePattern=iu,su.MemberPattern=ru,su.RestElement=function(t,e,n){return n(t.argument,e,"Pattern")},su.ArrayPattern=function(t,e,n){for(var r=0,i=t.elements;r<i.length;r+=1){var s=i[r];s&&n(s,e,"Pattern")}},su.ObjectPattern=function(t,e,n){for(var r=0,i=t.properties;r<i.length;r+=1){var s=i[r];"Property"===s.type?(s.computed&&n(s.key,e,"Expression"),n(s.value,e,"Pattern")):"RestElement"===s.type&&n(s.argument,e,"Pattern")}},su.Expression=ru,su.ThisExpression=su.Super=su.MetaProperty=iu,su.ArrayExpression=function(t,e,n){for(var r=0,i=t.elements;r<i.length;r+=1){var s=i[r];s&&n(s,e,"Expression")}},su.ObjectExpression=function(t,e,n){for(var r=0,i=t.properties;r<i.length;r+=1){n(i[r],e)}},su.FunctionExpression=su.ArrowFunctionExpression=su.FunctionDeclaration,su.SequenceExpression=function(t,e,n){for(var r=0,i=t.expressions;r<i.length;r+=1){n(i[r],e,"Expression")}},su.TemplateLiteral=function(t,e,n){for(var r=0,i=t.quasis;r<i.length;r+=1){n(i[r],e)}for(var s=0,o=t.expressions;s<o.length;s+=1){n(o[s],e,"Expression")}},su.TemplateElement=iu,su.UnaryExpression=su.UpdateExpression=function(t,e,n){n(t.argument,e,"Expression")},su.BinaryExpression=su.LogicalExpression=function(t,e,n){n(t.left,e,"Expression"),n(t.right,e,"Expression")},su.AssignmentExpression=su.AssignmentPattern=function(t,e,n){n(t.left,e,"Pattern"),n(t.right,e,"Expression")},su.ConditionalExpression=function(t,e,n){n(t.test,e,"Expression"),n(t.consequent,e,"Expression"),n(t.alternate,e,"Expression")},su.NewExpression=su.CallExpression=function(t,e,n){if(n(t.callee,e,"Expression"),t.arguments)for(var r=0,i=t.arguments;r<i.length;r+=1){n(i[r],e,"Expression")}},su.MemberExpression=function(t,e,n){n(t.object,e,"Expression"),t.computed&&n(t.property,e,"Expression")},su.ExportNamedDeclaration=su.ExportDefaultDeclaration=function(t,e,n){t.declaration&&n(t.declaration,e,"ExportNamedDeclaration"===t.type||t.declaration.id?"Statement":"Expression"),t.source&&n(t.source,e,"Expression")},su.ExportAllDeclaration=function(t,e,n){n(t.source,e,"Expression")},su.ImportDeclaration=function(t,e,n){for(var r=0,i=t.specifiers;r<i.length;r+=1){n(i[r],e)}n(t.source,e,"Expression")},su.ImportSpecifier=su.ImportDefaultSpecifier=su.ImportNamespaceSpecifier=su.Identifier=su.Literal=iu,su.TaggedTemplateExpression=function(t,e,n){n(t.tag,e,"Expression"),n(t.quasi,e,"Expression")},su.ClassDeclaration=su.ClassExpression=function(t,e,n){return n(t,e,"Class")},su.Class=function(t,e,n){t.id&&n(t.id,e,"Pattern"),t.superClass&&n(t.superClass,e,"Expression"),n(t.body,e)},su.ClassBody=function(t,e,n){for(var r=0,i=t.body;r<i.length;r+=1){n(i[r],e)}},su.MethodDefinition=su.Property=function(t,e,n){t.computed&&n(t.key,e,"Expression"),n(t.value,e,"Expression")};var uu=/[@#]__PURE__/,hu=function(t){return uu.test(t.text)};var cu="sourceMa";cu+="ppingURL";var pu=new RegExp("^#\\s+"+cu+"=.+\\n?"),lu=function(){},du=function(){return 0},fu=function(){return 0},mu=function(){return 0},gu={},vu=function(t){return 1e3*t[0]+t[1]/1e6};function yu(t,e){switch(e){case 1:return"# "+t;case 2:return"## "+t;case 3:return t;default:return" ".repeat(e-4)+"- "+t}}function xu(t,e){void 0===e&&(e=3),t=yu(t,e),gu.hasOwnProperty(t)||(gu[t]={memory:0,startMemory:void 0,startTime:void 0,time:0,totalMemory:0});var n=mu();gu[t].startTime=du(),gu[t].startMemory=n}function _u(t,e){if(void 0===e&&(e=3),t=yu(t,e),gu.hasOwnProperty(t)){var n=mu();gu[t].time+=fu(gu[t].startTime),gu[t].totalMemory=Math.max(gu[t].totalMemory,n),gu[t].memory+=n-gu[t].startMemory}}function Eu(){var t={};return Object.keys(gu).forEach(function(e){t[e]=[gu[e].time,gu[e].memory,gu[e].totalMemory]}),t}var bu=lu,Au=lu,Su={load:!0,ongenerate:!0,onwrite:!0,resolveDynamicImport:!0,resolveId:!0,transform:!0,transformBundle:!0};function wu(t,e){for(var n={},r=function(r){if(!0===Su[r]){var i="plugin "+e;t.name&&(i+=" ("+t.name+")"),i+=" - "+r,n[r]=function(){bu(i,4);var e=t[r].apply(this===n?t:this,arguments);return Au(i,4),e&&"function"==typeof e.then&&(bu(i+" (async)",4),e.then(function(){return Au(i+" (async)",4)})),e}}else n[r]=t[r]},i=0,s=Object.keys(t);i<s.length;i++){r(s[i])}return n}function Iu(t){t.perf?(gu={},"undefined"!=typeof process&&"function"==typeof process.hrtime?(du=process.hrtime.bind(process),fu=function(t){return vu(process.hrtime(t))}):"undefined"!=typeof performance&&"function"==typeof performance.now&&(du=performance.now.bind(performance),fu=function(t){return performance.now()-t}),"undefined"!=typeof process&&"function"==typeof process.memoryUsage&&(mu=function(){return process.memoryUsage().heapUsed}),bu=xu,Au=_u,t.plugins=t.plugins.map(wu)):(bu=lu,Au=lu)}var Pu={ecmaVersion:2019,preserveParens:!1,sourceType:"module"};function ku(t,e,n,r){e.error({code:"MISSING_EXPORT",message:"'"+t+"' is not exported by "+va(n),url:"https://rollupjs.org/guide/en#error-name-is-not-exported-by-module-"},r)}var Cu,Nu={localName:Ft},Ru=function(){function t(t,e){this.chunkAlias=void 0,this.comments=[],this.dependencies=[],this.dynamicallyImportedBy=[],this.dynamicDependencies=[],this.dynamicImports=[],this.entryPointsHash=new Uint8Array(10),this.execIndex=1/0,this.exportAllModules=null,this.exportAllSources=[],this.exports=Object.create(null),this.exportsAll=Object.create(null),this.exportShimVariable=new Gt(this),this.facadeChunk=null,this.importDescriptions=Object.create(null),this.importMetas=[],this.imports=new Set,this.isEntryPoint=!1,this.isExecuted=!1,this.reexports=Object.create(null),this.sources=[],this.usesTopLevelAwait=!1,this.namespaceVariable=void 0,this.id=e,this.graph=t,this.excludeFromSourcemap=/\0/.test(e),this.context=t.getModuleContext(e)}return t.prototype.basename=function(){var t=pe(this.id),e=de(this.id);return se(e?t.slice(0,-e.length):t)},t.prototype.bindReferences=function(){this.ast.bind()},t.prototype.error=function(t,e){if(void 0!==e){t.pos=e;var n=Ae(this.code,e,{offsetLine:1});try{n=function(t,e){for(var n=t.filter(function(t){return t.mappings});n.length>0;){var r=n.pop(),i=r.mappings[e.line-1],s=!1;if(void 0!==i)for(var o=0,a=i;o<a.length;o++){var u=a[o];if(u[0]>=e.column){if(u.length<4)break;e={column:u[3],line:u[2]+1,name:r.names[u[4]],source:r.sources[u[1]]},s=!0;break}}if(!s)throw new Error("Can't resolve original location of error.")}return e}(this.sourcemapChain,n)}catch(t){this.warn({code:"SOURCEMAP_ERROR",loc:{column:n.column,file:this.id,line:n.line},message:"Error when using sourcemap for reporting an error: "+t.message,pos:e},void 0)}t.loc={column:n.column,file:this.id,line:n.line},t.frame=we(this.originalCode,n.line,n.column)}Ie(t)},t.prototype.getAllExports=function(){var t=Object.assign(Object.create(null),this.exports,this.reexports);return this.exportAllModules.forEach(function(e){if(e.isExternal)t["*"+e.id]=!0;else for(var n=0,r=e.getAllExports();n<r.length;n++){var i=r[n];"default"!==i&&(t[i]=!0)}}),Object.keys(t)},t.prototype.getDynamicImportExpressions=function(){return this.dynamicImports.map(function(t){var e=t.node.parent.arguments[0];if(function(t){return t.type===ot}(e)){if(0===e.expressions.length&&1===e.quasis.length)return e.quasis[0].value.cooked}else{if(!function(t){return t.type===it}(e))return e;if("string"==typeof e.value)return e.value}})},t.prototype.getExports=function(){return Object.keys(this.exports)},t.prototype.getOrCreateNamespace=function(){return this.namespaceVariable||(this.namespaceVariable=new Jt(this.astContext))},t.prototype.getReexports=function(){var t=Object.create(null);for(var e in this.reexports)t[e]=!0;return this.exportAllModules.forEach(function(e){if(e.isExternal)t["*"+e.id]=!0;else for(var n=0,r=e.getExports().concat(e.getReexports());n<r.length;n++){var i=r[n];"default"!==i&&(t[i]=!0)}}),Object.keys(t)},t.prototype.getRenderedExports=function(){var t=[],e=[];for(var n in this.exports){var r=this.exports[n];(r.node&&r.node.included?t:e).push(n)}return{renderedExports:t,removedExports:e}},t.prototype.getVariableForExportName=function(t,e){if("*"===t[0])return 1===t.length?this.getOrCreateNamespace():this.graph.moduleById.get(t.slice(1)).getVariableForExportName("*");var n=this.reexports[t];if(n)return(o=n.module.getVariableForExportName(n.localName))||ku(n.localName,this,n.module.id,n.start),o;var r=this.exports[t];if(r){if(r===Nu)return this.exportShimVariable;var i=r.localName;return this.traceVariable(i)||this.graph.scope.findVariable(i)}if("default"!==t)for(var s=0;s<this.exportAllModules.length;s+=1){var o;if(o=this.exportAllModules[s].getVariableForExportName(t,!0))return o}return this.graph.shimMissingExports&&!e?(this.shimMissingExport(t),this.exportShimVariable):void 0},t.prototype.include=function(){this.ast.shouldBeIncluded()&&this.ast.include(!1)},t.prototype.includeAllExports=function(){this.isExecuted||(this.graph.needsTreeshakingPass=!0,function(t,e){for(var n=[t],r={},i=0,s=n;i<s.length;i++){var o=s[i];if(!(e(o)||o instanceof ge))for(var a=0,u=o.dependencies;a<u.length;a++){var h=u[a];r[h.id]||(r[h.id]=!0,n.push(h))}}}(this,function(t){return!!(t instanceof ge||t.isExecuted)||(t.isExecuted=!0,!1)}));for(var t=0,e=this.getExports();t<e.length;t++){var n=e[t];(s=this.getVariableForExportName(n)).deoptimizePath(ct),s.included||(s.include(),this.graph.needsTreeshakingPass=!0)}for(var r=0,i=this.getReexports();r<i.length;r++){var s,o=i[r];(s=this.getVariableForExportName(o)).isExternal?s.reexported=s.module.reexported=!0:s.included||(s.include(),s.deoptimizePath(ct),this.graph.needsTreeshakingPass=!0)}},t.prototype.includeAllInBundle=function(){this.ast.include(!0)},t.prototype.isIncluded=function(){return this.ast.included||this.namespaceVariable&&this.namespaceVariable.included},t.prototype.linkDependencies=function(){for(var e=this,n=0,r=this.sources;n<r.length;n++){var i=r[n],s=this.resolvedIds[i].id;if(s){var o=this.graph.moduleById.get(s);this.dependencies.push(o)}}for(var a=0,u=this.dynamicImports;a<u.length;a++){var h=u[a].resolution;(h instanceof t||h instanceof ge)&&this.dynamicDependencies.push(h)}this.addModulesToSpecifiers(this.importDescriptions),this.addModulesToSpecifiers(this.reexports),this.exportAllModules=this.exportAllSources.map(function(t){var n=e.resolvedIds[t].id;return e.graph.moduleById.get(n)})},t.prototype.render=function(t){var e=this.magicString.clone();return this.ast.render(e,t),this.usesTopLevelAwait=this.astContext.usesTopLevelAwait,e},t.prototype.setSource=function(t){var e,n=this,r=t.code,s=t.originalCode,o=t.originalSourcemap,a=t.ast,u=t.sourcemapChain,h=t.resolvedIds,c=t.transformDependencies,p=t.customTransformCache;this.code=r,this.originalCode=s,this.originalSourcemap=o,this.sourcemapChain=u,this.transformDependencies=c,this.customTransformCache=p,bu("generate ast",3),this.esTreeAst=a||function(t,e,n){try{return e.parse(t.code,i({},Pu,n,{onComment:function(e,n,r,i){return t.comments.push({block:e,text:n,start:r,end:i})}}))}catch(e){var r=e.message.replace(/ \(\d+:\d+\)$/,"");t.id.endsWith(".json")?r+=" (Note that you need rollup-plugin-json to import JSON files)":t.id.endsWith(".js")||(r+=" (Note that you need plugins to import files that are not JavaScript)"),t.error({code:"PARSE_ERROR",message:r},e.pos)}}(this,this.graph.acornParser,this.graph.acornOptions),e=this.comments,ou(this.esTreeAst,{commentIndex:0,commentNodes:e.filter(hu)}),Au("generate ast",3),this.resolvedIds=h||Object.create(null);var l=this.id;this.magicString=new Q(r,{filename:this.excludeFromSourcemap?null:l,indentExclusionRanges:[]}),this.removeExistingSourceMap(),bu("analyse ast",3),this.astContext={addDynamicImport:this.addDynamicImport.bind(this),addExport:this.addExport.bind(this),addImport:this.addImport.bind(this),addImportMeta:this.addImportMeta.bind(this),annotations:this.graph.treeshake&&this.graph.treeshakingOptions.annotations,code:r,deoptimizationTracker:this.graph.deoptimizationTracker,error:this.error.bind(this),fileName:l,getAssetFileName:this.graph.pluginDriver.getAssetFileName,getExports:this.getExports.bind(this),getModuleExecIndex:function(){return n.execIndex},getModuleName:this.basename.bind(this),getReexports:this.getReexports.bind(this),importDescriptions:this.importDescriptions,includeDynamicImport:this.includeDynamicImport.bind(this),includeVariable:this.includeVariable.bind(this),isCrossChunkImport:function(t){return t.module.chunk!==n.chunk},magicString:this.magicString,module:this,moduleContext:this.context,nodeConstructors:nu,preserveModules:this.graph.preserveModules,propertyReadSideEffects:!this.graph.treeshake||this.graph.treeshakingOptions.propertyReadSideEffects,traceExport:this.getVariableForExportName.bind(this),traceVariable:this.traceVariable.bind(this),treeshake:this.graph.treeshake,usesTopLevelAwait:!1,warn:this.warn.bind(this)},this.scope=new qa(this.graph.scope,this.astContext),this.ast=new Ta(this.esTreeAst,{type:"Module",context:this.astContext},this.scope),Au("analyse ast",3)},t.prototype.toJSON=function(){return{ast:this.esTreeAst,code:this.code,customTransformCache:this.customTransformCache,dependencies:this.dependencies.map(function(t){return t.id}),id:this.id,originalCode:this.originalCode,originalSourcemap:this.originalSourcemap,resolvedIds:this.resolvedIds,sourcemapChain:this.sourcemapChain,transformAssets:this.transformAssets,transformDependencies:this.transformDependencies}},t.prototype.traceVariable=function(t){if(t in this.scope.variables)return this.scope.variables[t];if(t in this.importDescriptions){var e=this.importDescriptions[t],n=e.module;if(!n.isExternal&&"*"===e.name)return n.getOrCreateNamespace();var r=n.getVariableForExportName(e.name);return r||ku(e.name,this,n.id,e.start),r}return null},t.prototype.warn=function(t,e){if(void 0!==e){t.pos=e;var n=Ae(this.code,e,{offsetLine:1}),r=n.line,i=n.column;t.loc={file:this.id,line:r,column:i},t.frame=we(this.code,r,i)}t.id=this.id,this.graph.warn(t)},t.prototype.addDynamicImport=function(t){this.dynamicImports.push({node:t,alias:void 0,resolution:void 0})},t.prototype.addExport=function(t){var e,n,r=t.source&&t.source.value;if(r)if(-1===this.sources.indexOf(r)&&this.sources.push(r),"ExportAllDeclaration"===t.type)this.exportAllSources.push(r);else for(var i=0,s=t.specifiers;i<s.length;i++){var o=(g=s[i]).exported.name;(this.exports[o]||this.reexports[o])&&this.error({code:"DUPLICATE_EXPORT",message:"A module cannot have multiple exports with the same name ('"+o+"')"},g.start),this.reexports[o]={localName:g.local.name,module:null,source:r,start:g.start}}else if(function(t){return t.type===tt}(t))this.exports.default&&this.error({code:"DUPLICATE_EXPORT",message:"A module can only have one default export"},t.start),this.exports.default={identifier:t.variable.getOriginalVariableName(),localName:"default",node:t};else if(t.declaration){var a=t.declaration;if("VariableDeclaration"===a.type)for(var u=0,h=a.declarations;u<h.length;u++)for(var c=h[u],p=0,l=(e=c.id,n=void 0,n=[],We[e.type](n,e),n);p<l.length;p++){var d=l[p];this.exports[d]={localName:d,node:t}}else{d=a.id.name;this.exports[d]={localName:d,node:t}}}else for(var f=0,m=t.specifiers;f<m.length;f++){d=(g=m[f]).local.name;var g,v=g.exported.name;(this.exports[v]||this.reexports[v])&&this.error({code:"DUPLICATE_EXPORT",message:"A module cannot have multiple exports with the same name ('"+v+"')"},g.start),this.exports[v]={localName:d,node:t}}},t.prototype.addImport=function(t){var e=t.source.value;-1===this.sources.indexOf(e)&&this.sources.push(e);for(var n=0,r=t.specifiers;n<r.length;n++){var i=r[n],s=i.local.name;this.importDescriptions[s]&&this.error({code:"DUPLICATE_IMPORT",message:"Duplicated import '"+s+"'"},i.start);var o="ImportDefaultSpecifier"===i.type,a="ImportNamespaceSpecifier"===i.type,u=o?"default":a?"*":i.imported.name;this.importDescriptions[s]={source:e,start:i.start,name:u,module:null}}},t.prototype.addImportMeta=function(t){this.importMetas.push(t)},t.prototype.addModulesToSpecifiers=function(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var r=t[n[e]],i=this.resolvedIds[r.source].id;r.module=this.graph.moduleById.get(i)}},t.prototype.includeDynamicImport=function(e){var n=this.dynamicImports.find(function(t){return t.node===e}).resolution;n instanceof t&&(n.dynamicallyImportedBy.push(this),n.includeAllExports())},t.prototype.includeVariable=function(t){t.included||(t.include(),this.graph.needsTreeshakingPass=!0),t.module&&t.module!==this&&this.imports.add(t)},t.prototype.removeExistingSourceMap=function(){for(var t=0,e=this.comments;t<e.length;t++){var n=e[t];!n.block&&pu.test(n.text)&&this.magicString.remove(n.start,n.end)}},t.prototype.shimMissingExport=function(t){this.exports[t]||(this.graph.warn({code:"SHIMMED_EXPORT",exporter:va(this.id),exportName:t,message:'Missing export "'+t+'" has been shimmed in module '+va(this.id)+"."}),this.exports[t]=Nu)},t}(),Ou=function(){function t(t,e){this.isOriginal=!0,this.filename=t,this.content=e}return t.prototype.traceSegment=function(t,e,n){return{line:t,column:e,name:n,source:this}},t}(),Mu=function(){function t(t,e){this.sources=e,this.names=t.names,this.mappings=t.mappings}return t.prototype.traceMappings=function(){for(var t=[],e=[],n=[],r=[],i=0,s=this.mappings;i<s.length;i++){for(var o=[],a=0,u=s[i];a<u.length;a++){var h=u[a],c=this.sources[h[1]];if(c){var p=c.traceSegment(h[2],h[3],this.names[h[4]]);if(p){var l=t.lastIndexOf(p.source.filename);-1===l?(l=t.length,t.push(p.source.filename),e[l]=p.source.content):null==e[l]?e[l]=p.source.content:null!=p.source.content&&e[l]!==p.source.content&&Ie({message:"Multiple conflicting contents for sourcemap source "+p.source.filename});var d=[h[0],l,p.line,p.column];if(p.name){var f=n.indexOf(p.name);-1===f&&(f=n.length,n.push(p.name)),d[4]=f}o.push(d)}}}r.push(o)}return{sources:t,sourcesContent:e,names:n,mappings:r}},t.prototype.traceSegment=function(t,e,n){var r=this.mappings[t];if(!r)return null;for(var i=0,s=r.length-1;i<=s;){var o=i+s>>1,a=r[o];if(a[0]===e){var u=this.sources[a[1]];return u?u.traceSegment(a[2],a[3],this.names[a[4]]||n):null}a[0]>e?s=o-1:i=o+1}return null},t}();var Tu=Object.assign(Object.create(null),{await:!0,break:!0,case:!0,catch:!0,class:!0,const:!0,continue:!0,debugger:!0,default:!0,delete:!0,do:!0,else:!0,enum:!0,eval:!0,export:!0,extends:!0,finally:!0,for:!0,function:!0,if:!0,implements:!0,import:!0,in:!0,instanceof:!0,interface:!0,let:!0,new:!0,null:!0,package:!0,private:!0,protected:!0,public:!0,return:!0,static:!0,super:!0,switch:!0,throw:!0,try:!0,typeof:!0,undefined:!0,var:!0,void:!0,while:!0,with:!0,yield:!0}),Lu={},Du={exports:!0},Vu={amd:{formatGlobals:Du,forbiddenNames:Tu},cjs:{forbiddenNames:Tu,formatGlobals:(Cu={exports:!0,module:!0},Cu[qt]=!0,Cu)},es:{formatGlobals:Lu,forbiddenNames:Tu},iife:{formatGlobals:Du,forbiddenNames:Tu},system:{forbiddenNames:Object.assign(Object.create(null),Tu,Du),formatGlobals:Lu},umd:{formatGlobals:Du,forbiddenNames:Tu}},Bu={amd:Wu,cjs:Wu,es:ju,iife:Wu,system:ju,umd:Wu};function zu(t,e,n,r,i,s,o){var a=Vu[i],u=a.forbiddenNames,h=a.formatGlobals;Object.assign(r,u),Object.assign(r,h),function(t,e){for(var n=Object.assign.apply(Object,[{}].concat(e.map(function(t){return t.scope.accessedOutsideVariables}))),r=0,i=Object.keys(n);r<i.length;r++){var s=i[r],o=n[s];o.included&&(t[s]=!0)}}(r,t),function(t,e){for(var n=0,r=e;n<r.length;n++){for(var i=r[n],s=i.scope.variables,o=0,a=Object.keys(s);o<a.length;o++){var u=a[o],h=s[u];h.included&&!(h.renderBaseName||h instanceof Ut&&h.referencesOriginal())&&h.setRenderNames(null,Ze(h.name,t))}var c=i.getOrCreateNamespace();c.included&&c.setRenderNames(null,Ze(c.name,t))}}(r,t),Bu[i](r,n,e,s,o);for(var c=0,p=t;c<p.length;c++){p[c].scope.deconflict(u)}}function ju(t,e,n,r){for(var i=0,s=Array.from(e);i<s.length;i++){var o=s[i],a=o.module,u=o.name,h=void 0;h=a instanceof ge&&("*"===u||"default"===u)?"default"===u&&r&&a.exportsNamespace?a.variableName+"__default":a.variableName:u,o.setRenderNames(null,Ze(h,t))}}function Wu(t,e,n,r,i){for(var s=0,o=n;s<o.length;s++){var a=o[s];a.variableName=Ze(a.variableName,t)}for(var u=0,h=Array.from(e);u<h.length;u++){var c=h[u],p=c.module;if(p instanceof ge){var l=c.name;"default"===l&&r&&(p.exportsNamespace||p.exportsNames)?c.setRenderNames(null,p.variableName+"__default"):"*"===l||"default"===l?c.setRenderNames(null,p.variableName):c.setRenderNames(p.variableName,null)}else{var d=p.chunk;"default"===d.exportMode||i&&c.isNamespace?c.setRenderNames(null,d.variableName):c.setRenderNames(d.variableName,p.chunk.getVariableExportName(c))}}}var Uu=function(t,e){return t.execIndex>e.execIndex?1:-1};function Fu(t){t.sort(Uu)}function qu(t,e,n){for(var r=[va(t)],i=e;i!==t&&(r.push(va(i)),i=n[i]););return r.push(r[0]),r.reverse(),r}function Gu(t){var e=t.split("\n"),n=e.filter(function(t){return/^\t+/.test(t)}),r=e.filter(function(t){return/^ {2,}/.test(t)});if(0===n.length&&0===r.length)return null;if(n.length>=r.length)return"\t";var i=r.reduce(function(t,e){var n=/^ +/.exec(e)[0].length;return Math.min(n,t)},1/0);return new Array(i+1).join(" ")}function Hu(t,e,n){return ya(t)||Ie({code:"INVALID_PATTERN",message:'Invalid output pattern "'+t+'" for '+e+", cannot be an absolute or relative URL or path."}),t.replace(/\[(\w+)\]/g,function(t,r){var i=n(r);return void 0===i&&Ie({code:"INVALID_PATTERN_REPLACEMENT",message:'"'+r+'" is not a valid substitution name in output option '+e+" pattern."}),ya(i)||Ie({code:"INVALID_PATTERN_REPLACEMENT",message:'Invalid replacement "'+i+'" for "'+r+'" in '+e+" pattern, must be a plain path name."}),i})}function Ku(t,e){if(t in e==!1)return t;var n=de(t);t=t.substr(0,t.length-n.length);for(var r,i=1;e[r=t+ ++i+n];);return r}function Yu(t){return t.replace(/[\0]/g,"_")}function Xu(t,e,n,r){var i;return"function"==typeof e?i=e(t.id):e&&(i=e[t.id]),i||(r?(n.warn({code:"MISSING_GLOBAL_NAME",guess:t.variableName,message:"No name was provided for external module '"+t.id+"' in output.globals – guessing '"+t.variableName+"'",source:t.id}),t.variableName):void 0)}var Qu=function(){function t(t,e){this.entryModules=[],this.exportMode="named",this.facadeModule=null,this.hasDynamicImport=!1,this.id=void 0,this.indentString=void 0,this.isManualChunk=!1,this.usedModules=void 0,this.dependencies=void 0,this.dynamicDependencies=void 0,this.exportNames=Object.create(null),this.exports=new Set,this.imports=new Set,this.needsExportsShim=!1,this.renderedDeclarations=void 0,this.renderedHash=void 0,this.renderedModuleSources=void 0,this.renderedSource=null,this.renderedSourceLength=void 0,this.sortedExportNames=null,this.graph=t,this.orderedModules=e,this.execIndex=e.length>0?e[0].execIndex:1/0,this.isEmpty=!0;for(var n=0,r=e;n<r.length;n++){var i=r[n];this.isEmpty&&i.isIncluded()&&(this.isEmpty=!1),i.chunkAlias&&(this.isManualChunk=!0),i.chunk=this,(i.isEntryPoint||i.dynamicallyImportedBy.some(function(t){return-1===e.indexOf(t)}))&&this.entryModules.push(i)}this.entryModules.length>0?this.variableName=se(pe(this.entryModules.map(function(t){return t.chunkAlias}).find(Boolean)||this.entryModules[0].id)):this.variableName="__chunk_"+ ++t.curChunkIndex}return t.prototype.generateEntryExportsOrMarkAsTainted=function(){for(var t=this,e=this.entryModules.map(function(e){return{map:t.getVariableExportNamesForModule(e),module:e}}),n=0,r=e;n<r.length;n++)for(var i=r[n].map,s=0,o=Array.from(i.keys());s<o.length;s++){var a=o[s];this.exports.add(a)}var u=Array.from(this.exports);t:for(var h=0,c=e;h<c.length;h++){var p=c[h],l=(i=p.map,p.module);if(!this.graph.preserveModules)for(var d=0,f=u;d<f.length;d++){a=f[d];if(!i.has(a))continue t}this.facadeModule=l;for(var m=0,g=Array.from(i);m<g.length;m++)for(var v=g[m],y=v[0],x=0,_=v[1];x<_.length;x++){var E=_[x];this.exportNames[E]=y}return}},t.prototype.generateId=function(t,e,n,r,i){var s=this;this.id=Ku(Hu(t,e,function(t){switch(t){case"format":return"es"===r.format?"esm":r.format;case"hash":return s.computeContentHashWithDependencies(n,r);case"name":return s.getChunkName()}}),i)},t.prototype.generateIdPreserveModules=function(t,e){var n=Yu(this.orderedModules[0].id);this.id=Ku(ce(ue(this.orderedModules[0].id)?fe(t,n):"_virtual/"+pe(n)),e)},t.prototype.generateInternalExports=function(t){if(null===this.facadeModule){var e,n="system"===t.format||"es"===t.format||t.compact,r=0;this.exportNames=Object.create(null),this.sortedExportNames=null;var i=Array.from(this.exports);if(n)for(var s=0,o=i;s<o.length;s++){var a=o[s];do{49===(e=Je(++r)).charCodeAt(0)&&(e=Je(r+=9*Math.pow(64,e.length-1)))}while(Tu[e]);this.exportNames[e]=a}else for(var u=0,h=i;u<h.length;u++){for(r=0,e=(a=h[u]).name;this.exportNames[e];)e=a.name+"$"+ ++r;this.exportNames[e]=a}}},t.prototype.getChunkName=function(){return this.chunkName||(this.chunkName=this.computeChunkName())},t.prototype.getDynamicImportIds=function(){return this.dynamicDependencies.map(function(t){return t.id}).filter(Boolean)},t.prototype.getExportNames=function(){return this.sortedExportNames||(this.sortedExportNames=Object.keys(this.exportNames).sort())},t.prototype.getImportIds=function(){return this.dependencies.map(function(t){return t.id})},t.prototype.getRenderedHash=function(){var t=this;if(this.renderedHash)return this.renderedHash;if(!this.renderedSource)return"";var e=M();return e.update(this.renderedSource.toString()),e.update(this.getExportNames().map(function(e){var n=t.exportNames[e];return va(n.module.id).replace(/\\/g,"/")+":"+n.name+":"+e}).join(",")),this.renderedHash=e.digest("hex")},t.prototype.getRenderedSourceLength=function(){return void 0!==this.renderedSourceLength?this.renderedSourceLength:this.renderedSourceLength=this.renderedSource.length()},t.prototype.getVariableExportName=function(t){if(this.graph.preserveModules&&t instanceof Jt)return"*";for(var e=0,n=Object.keys(this.exportNames);e<n.length;e++){var r=n[e];if(this.exportNames[r]===t)return r}},t.prototype.link=function(){for(var t=new Set,e=new Set,n=0,r=this.orderedModules;n<r.length;n++){var i=r[n];this.addChunksFromDependencies(i.dependencies,t),this.addChunksFromDependencies(i.dynamicDependencies,e),this.setUpModuleImports(i)}this.dependencies=Array.from(t),this.dynamicDependencies=Array.from(e)},t.prototype.merge=function(t,e,n,r){var i=this;if(null!==this.facadeModule||null!==t.facadeModule)throw new Error("Internal error: Code splitting chunk merges not supported for facades");for(var s=0,o=t.orderedModules;s<o.length;s++){var a=o[s];a.chunk=this,this.orderedModules.push(a)}for(var u=0,h=Array.from(t.imports);u<h.length;u++){var c=h[u];this.imports.has(c)||c.module.chunk===this||this.imports.add(c)}for(var p=0,l=Array.from(t.exports);p<l.length;p++){c=l[p];this.exports.has(c)||this.exports.add(c)}var d=this.exportNames;this.generateInternalExports(n);for(var f,m,g=function(t,e){if(t.imports)for(var n=0,r=t.imports;n<r.length;n++){var s=r[n];s.imported=i.getVariableExportName(e[s.imported])}if(t.reexports)for(var o=0,a=t.reexports;o<a.length;o++){var u=a[o];u.imported=i.getVariableExportName(e[u.imported])}},v=0,y=e;v<y.length;v++)for(var x=y[v],_=void 0,E=0;E<x.dependencies.length;E++){var b=x.dependencies[E];if(b!==t&&b!==this||!_)b===t?(x.dependencies[E]=this,g(_=x.renderedDeclarations.dependencies[E],t.exportNames)):b===this&&g(_=x.renderedDeclarations.dependencies[E],d);else{var A=x.renderedDeclarations.dependencies[E];g(A,b===t?t.exportNames:d),f=_,(m=A).imports&&(f.imports?f.imports=f.imports.concat(m.imports):f.imports=m.imports),m.reexports&&(f.reexports?f.reexports=f.reexports.concat(m.reexports):f.reexports=m.reexports),!f.exportsNames&&m.exportsNames&&(f.exportsNames=!0),!f.exportsDefault&&m.exportsDefault&&(f.exportsDefault=!0),f.name=i.variableName,x.renderedDeclarations.dependencies.splice(E,1),x.dependencies.splice(E--,1)}}this.preRender(n,r)},t.prototype.preRender=function(e,n){bu("render modules",3);var r=new J({separator:e.compact?"":"\n\n"});this.usedModules=[],this.indentString=e.compact?"":function(t,e){if(!0!==e.indent)return e.indent||"";for(var n=0;n<t.length;n++){var r=Gu(t[n].originalCode);if(null!==r)return r}return"\t"}(this.orderedModules,e);for(var i=e.compact?"":"\n",s=e.compact?"":" ",o={compact:e.compact,dynamicImportFunction:e.dynamicImportFunction,format:e.format,freeze:!1!==e.freeze,indent:this.indentString,namespaceToStringTag:!0===e.namespaceToStringTag,varOrConst:e.preferConst?"const":"var"},a=0,u=Array.from(this.imports);a<u.length;a++){var h=(m=u[a].module)instanceof Ru?m.chunk:m;-1===this.dependencies.indexOf(h)&&this.dependencies.push(h)}if(!this.graph.preserveModules&&null!==this.facadeModule)for(var c=0,p=this.dependencies;c<p.length;c++){(d=p[c])instanceof t&&this.inlineChunkDependencies(d,!0)}for(var l=0;l<this.dependencies.length;l++){var d;(d=this.dependencies[l])instanceof t&&d.isEmpty&&(this.dependencies.splice(l--,1),this.inlineChunkDependencies(d,!1))}Fu(this.dependencies),this.setIdentifierRenderResolutions(e),this.prepareDynamicImports();var f="";this.renderedModules=Object.create(null),this.renderedModuleSources=[];for(l=0;l<this.orderedModules.length;l++){var m,g=(m=this.orderedModules[l]).render(o);g.trim(),e.compact&&-1!==g.lastLine().indexOf("//")&&g.append("\n"),this.renderedModuleSources.push(g);var v=m.getRenderedExports(),y=v.renderedExports,x=v.removedExports;this.renderedModules[m.id]={originalLength:m.originalCode.length,removedExports:x,renderedExports:y,renderedLength:g.length()};var _=m.getOrCreateNamespace();if((_.included||!g.isEmpty())&&(r.addSource(g),this.usedModules.push(m),_.included&&!this.graph.preserveModules)){var E=_.renderBlock(o);_.renderFirst()?f+=i+E:r.addSource(new Q(E))}}f&&r.prepend(f+i+i),this.needsExportsShim&&r.prepend(""+i+o.varOrConst+" "+Ft+s+"="+s+"void 0;"+i+i),e.compact?this.renderedSource=r:this.renderedSource=r.trim(),this.renderedSourceLength=void 0,this.renderedHash=void 0,0===this.getExportNames().length&&0===this.getImportIds().length&&this.isEmpty&&this.graph.warn({code:"EMPTY_BUNDLE",message:"Generated an empty bundle"}),this.renderedDeclarations={dependencies:this.getChunkDependencyDeclarations(e,n),exports:"none"===this.exportMode?[]:this.getChunkExportDeclarations()},Au("render modules",3)},t.prototype.render=function(e,n,r){var i=this;if(bu("render format",3),!this.renderedSource)throw new Error("Internal error: Chunk render called before preRender");var s=je[e.format];s||Ie({code:"INVALID_OPTION",message:"Invalid format: "+e.format+" - valid options are "+Object.keys(je).join(", ")+"."}),e.dynamicImportFunction&&"es"!==e.format&&this.graph.warn({code:"INVALID_OPTION",message:'"output.dynamicImportFunction" is ignored for formats other than "esm".'});for(var o=0;o<this.dependencies.length;o++){var a=this.dependencies[o];if(!(a instanceof ge)||a.renormalizeRenderPath){var u=this.renderedDeclarations.dependencies[o],h=a instanceof ge?u.id:a.id,c=this.id?ce(fe(le(this.id),h)):h;c.startsWith("../")||(c="./"+c),a instanceof t&&(u.namedExportsMode="default"!==a.exportMode),u.id=c}}this.finaliseDynamicImports();var p=this.finaliseImportMetas(e),l=0!==this.renderedDeclarations.exports.length||this.renderedDeclarations.dependencies.some(function(t){return t.reexports&&0!==t.reexports.length}),d=this.orderedModules.some(function(t){return t.usesTopLevelAwait});d&&"es"!==e.format&&"system"!==e.format&&Ie({code:"INVALID_TLA_FORMAT",message:"Module format "+e.format+' does not support top-level await. Use the "es" or "system" output formats rather.'});var f=s(this.renderedSource,{dependencies:this.renderedDeclarations.dependencies,dynamicImport:this.hasDynamicImport,exports:this.renderedDeclarations.exports,hasExports:l,indentString:this.indentString,intro:n.intro,isEntryModuleFacade:null!==this.facadeModule&&this.facadeModule.isEntryPoint,namedExportsMode:"default"!==this.exportMode,needsAmdModule:p,outro:n.outro,usesTopLevelAwait:d,varOrConst:e.preferConst?"const":"var",warn:this.graph.warn.bind(this.graph)},e);n.banner&&f.prepend(n.banner),n.footer&&f.append(n.footer);var m=f.toString();Au("render format",3);var g=null,v=[];return function(t){var e=t.graph,n=t.chunk,r=t.renderChunk,i=t.code,s=t.sourcemapChain,o=t.options,a=function(t,e,n){if(null==e)return t;"string"==typeof e&&(e={code:e,map:void 0});var r="string"==typeof e.map?JSON.parse(e.map):e.map;return r&&"string"==typeof r.mappings&&(r.mappings=V(r.mappings)),null!==r&&s.push(r||{missing:!0,plugin:n.name}),e.code},u=!1,h=!0;return e.pluginDriver.hookReduceArg0("renderChunk",[i,r,o],a).then(function(t){return h=!1,e.pluginDriver.hookReduceArg0("transformChunk",[t,o,n],a)}).then(function(t){return u=!0,e.pluginDriver.hookReduceArg0("transformBundle",[t,o,n],a)}).catch(function(t){if(h)throw t;Ie(t,{code:u?"BAD_BUNDLE_TRANSFORMER":"BAD_CHUNK_TRANSFORMER",message:"Error transforming "+(u?"bundle":"chunk")+(t.plugin?" with '"+t.plugin+"' plugin":"")+": "+t.message,plugin:t.plugin})})}({chunk:this,code:m,graph:this.graph,options:e,renderChunk:r,sourcemapChain:v}).then(function(t){if(e.sourcemap){bu("sourcemap",3);var n=void 0;if(n=e.file?me(e.sourcemapFile||e.file):e.dir?me(e.dir,i.id):me(i.id),i.graph.pluginDriver.hasLoadersOrTransforms){var r=f.generateDecodedMap({});g=function(t,e,n,r,i,s){function o(e,n){return n.missing&&(t.graph.warn({code:"SOURCEMAP_BROKEN",message:"Sourcemap is likely to be incorrect: a plugin"+(n.plugin?" ('"+n.plugin+"')":"")+" was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help",plugin:n.plugin,url:"https://rollupjs.org/guide/en#warning-sourcemap-is-likely-to-be-incorrect"}),n={mappings:"",names:[]}),new Mu(n,[e])}var a=r.filter(function(t){return!t.excludeFromSourcemap}).map(function(t){var e,n=t.sourcemapChain,r=t.originalSourcemap;if(r){var i=r.sources,s=r.sourcesContent||[];if(null==i||i.length<=1&&null==i[0])e=new Ou(t.id,s[0]),n=[r].concat(n);else{var a=le(t.id)||".",u=r.sourceRoot||".",h=i.map(function(t,e){return new Ou(me(a,u,t),s[e])});e=new Mu(r,h)}}else e=new Ou(t.id,t.originalCode);return e=n.reduce(o,e)}),u=new Mu(n,a),h=(u=i.reduce(o,u)).traceMappings(),c=h.sources,p=h.sourcesContent,l=h.names,d=h.mappings;if(e){var f=le(e);c=c.map(function(t){return fe(f,t)}),e=pe(e)}return new W({file:e,sources:c,sourcesContent:p=s?null:p,names:l,mappings:d})}(i,n,r,i.usedModules,v,e.sourcemapExcludeSources)}else g=f.generateMap({file:n,includeContent:!e.sourcemapExcludeSources});g.sources=g.sources.map(function(t){return ce(e.sourcemapPathTransform?e.sourcemapPathTransform(t):t)}),Au("sourcemap",3)}return!0!==e.compact&&"\n"!==t[t.length-1]&&(t+="\n"),{code:t,map:g}})},t.prototype.turnIntoFacade=function(t){this.dependencies=[t.chunk],this.dynamicDependencies=[],this.facadeModule=t,t.facadeChunk=this;for(var e=0,n=t.getAllExports();e<n.length;e++){var r=n[e],i=t.getVariableForExportName(r);this.exports.add(i),this.exportNames[r]=i}},t.prototype.visitDependencies=function(t){for(var e=[this],n=new Set,r=0,i=e;r<i.length;r++){var s=i[r];if(t(s),!(s instanceof ge))for(var o=0,a=s.dependencies.concat(s.dynamicDependencies);o<a.length;o++){var u=a[o];n.has(u)||(n.add(u),e.push(u))}}},t.prototype.visitStaticDependenciesUntilCondition=function(e){var n=new Set;return function r(i){if(!n.has(i)){if(n.add(i),i instanceof t)for(var s=0,o=i.dependencies;s<o.length;s++)if(r(o[s]))return!0;return!0===e(i)}}(this)},t.prototype.addChunksFromDependencies=function(t,e){for(var n=0,r=t;n<r.length;n++){var i=r[n];if(i.chunk!==this){var s=void 0;if(i instanceof Ru)s=i.chunk;else{if(!i.used&&this.graph.isPureExternalModule(i.id))continue;s=i}e.add(s)}}},t.prototype.computeChunkName=function(){if(null!==this.facadeModule&&this.facadeModule.chunkAlias)return Yu(this.facadeModule.chunkAlias);for(var t=0,e=this.orderedModules;t<e.length;t++){var n=e[t];if(n.chunkAlias)return Yu(n.chunkAlias)}return"chunk"},t.prototype.computeContentHashWithDependencies=function(t,e){var n=M();return n.update([t.intro,t.outro,t.banner,t.footer].map(function(t){return t||""}).join(":")),n.update(e.format),this.visitDependencies(function(t){t instanceof ge?n.update(":"+t.renderPath):n.update(t.getRenderedHash())}),n.digest("hex").substr(0,8)},t.prototype.finaliseDynamicImports=function(){for(var t=0;t<this.orderedModules.length;t++)for(var e=this.orderedModules[t],n=this.renderedModuleSources[t],r=0,i=e.dynamicImports;r<i.length;r++){var s=i[r],o=s.node,a=s.resolution;if(a)if(a instanceof Ru){if(!a.chunk.isEmpty&&a.chunk!==this){var u=a.facadeChunk||a.chunk,h=ce(fe(le(this.id),u.id));h.startsWith("../")||(h="./"+h),o.renderFinalResolution(n,"'"+h+"'")}}else a instanceof ge?o.renderFinalResolution(n,"'"+a.id+"'"):o.renderFinalResolution(n,a)}},t.prototype.finaliseImportMetas=function(t){for(var e=!1,n=0;n<this.orderedModules.length;n++)for(var r=this.orderedModules[n],i=this.renderedModuleSources[n],s=0,o=r.importMetas;s<o.length;s++){o[s].renderFinalMechanism(i,this.id,t.format,t.compact)&&(e=!0)}return e},t.prototype.getChunkDependencyDeclarations=function(t,e){for(var n=new Map,r=0,i=this.getExportNames();r<i.length;r++){var s=i[r],o=void 0,a=void 0,u=!1;if("*"===s[0])o=this.graph.moduleById.get(s.substr(1)),a=s="*";else{var h=(_=this.exportNames[s]).module;if(!h||h.chunk===this)continue;h instanceof Ru?(o=h.chunk,a=h.chunk.getVariableExportName(_),u=_.isReassigned):(o=h,a=_.name,u=!0)}var c=n.get(o);c||n.set(o,c=[]),c.push({imported:a,reexported:s,needsLiveBinding:u})}for(var p=Array.from(this.imports),l=new Set,d=[],f=0,m=this.dependencies;f<m.length;f++){for(var g=m[f],v=[],y=0,x=p;y<x.length;y++){var _,E=(_=x[y])instanceof Ut&&_.referencesOriginal()?_.getOriginalVariable():_;if((_.module instanceof Ru?_.module.chunk===g:_.module===g)&&!l.has(E)){l.add(E);var b=_.getName(),A=_.module instanceof ge?_.name:_.module.chunk.getVariableExportName(_);v.push({local:b,imported:A})}}var S=n.get(g),w=void 0,I=void 0,P=!0;g instanceof ge?(w=g.exportsNames||g.exportsNamespace,I="default"in g.declarations):(w=!0,I=!1,P="default"!==g.exportMode);var k=void 0,C=void 0;g instanceof ge&&(k=g.setRenderPath(t,e),"umd"!==t.format&&"iife"!==t.format||(C=Xu(g,t.globals,this.graph,w||I))),d.push({exportsDefault:I,exportsNames:w,globalName:C,id:k,imports:v.length>0?v:null,isChunk:!g.isExternal,name:g.variableName,namedExportsMode:P,reexports:S})}return d},t.prototype.getChunkExportDeclarations=function(){for(var t=[],e=function(e){if("*"===e[0])return"continue";var r=n.exportNames[e],i=r.module;if(i&&i.chunk!==n)return"continue";var s=!1,o=!1;r instanceof Wt?(r.init===ft&&(o=!0),r.declarations.forEach(function(t){t.type===tt?t.declaration.type===nt&&(s=!0):t.parent.type===nt&&(s=!0)})):r instanceof $t&&(s=!0);var a=r.getName();t.push({exported:"*"===e?a:e,hoisted:s,local:a,uninitialized:o})},n=this,r=0,i=this.getExportNames();r<i.length;r++){e(i[r])}return t},t.prototype.getVariableExportNamesForModule=function(t){for(var e=new Map,n=0,r=t.getAllExports();n<r.length;n++){var i=r[n],s=t.getVariableForExportName(i);if(s&&(s.included||s.isExternal)){var o=e.get(s);o?o.push(i):e.set(s,[i]);var a=s.module;a&&a.chunk&&a.chunk!==this&&a.chunk.exports.add(s)}}return e},t.prototype.inlineChunkDependencies=function(t,e){for(var n=0,r=t.dependencies;n<r.length;n++){var i=r[n];if(i instanceof ge)-1===this.dependencies.indexOf(i)&&this.dependencies.push(i);else{if(i===this||-1!==this.dependencies.indexOf(i))continue;i.isEmpty||this.dependencies.push(i),e&&this.inlineChunkDependencies(i,!0)}}},t.prototype.prepareDynamicImports=function(){for(var t=0,e=this.orderedModules;t<e.length;t++)for(var n=0,r=e[t].dynamicImports;n<r.length;n++){var i=r[n],s=i.node,o=i.resolution;if(o)if(o instanceof Ru)if(o.chunk===this){var a=o.getOrCreateNamespace();s.setResolution(!1,a.getName())}else s.setResolution(!1);else o instanceof ge?s.setResolution(!0):s.setResolution(!1)}},t.prototype.setIdentifierRenderResolutions=function(t){for(var e=0,n=this.getExportNames();e<n.length;e++){var r=n[e],i=this.exportNames[r];i&&(i instanceof Gt&&(this.needsExportsShim=!0),i.exportName=r,"es"===t.format||"system"===t.format||!i.isReassigned||i.isId||i.isDefault&&i.hasId?i.setRenderNames(null,null):i.setRenderNames("exports",r))}var s=Object.create(null);this.needsExportsShim&&(s[Ft]=!0),zu(this.orderedModules,this.dependencies,this.imports,s,t.format,!1!==t.interop,this.graph.preserveModules)},t.prototype.setUpModuleImports=function(t){for(var e=0,n=Array.from(t.imports);e<n.length;e++){(s=n[e]).module.chunk!==this&&(this.imports.add(s),s.module instanceof Ru&&s.module.chunk.exports.add(s))}if(t.getOrCreateNamespace().included)for(var r=0,i=Object.keys(t.reexports);r<i.length;r++){var s,o=i[r],a=t.reexports[o];(s=a.module.getVariableForExportName(a.localName)).module.chunk!==this&&(this.imports.add(s),s.module instanceof Ru&&s.module.chunk.exports.add(s))}for(var u=0,h=t.dynamicImports;u<h.length;u++){var c=h[u],p=c.node,l=c.resolution;p.included&&(this.hasDynamicImport=!0,l instanceof Ru&&l.chunk===this&&l.getOrCreateNamespace().include())}},t}();var $u={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Ju="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Zu={5:Ju,6:Ju+" const class extends export import super"},th=/^in(stanceof)?$/,eh="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞹꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",nh="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",rh=new RegExp("["+eh+"]"),ih=new RegExp("["+eh+nh+"]");eh=nh=null;var sh=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,190,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,26,230,43,117,63,32,0,257,0,11,39,8,0,22,0,12,39,3,3,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,68,12,0,67,12,65,1,31,6129,15,754,9486,286,82,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541],oh=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,280,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239];function ah(t,e){for(var n=65536,r=0;r<e.length;r+=2){if((n+=e[r])>t)return!1;if((n+=e[r+1])>=t)return!0}}function uh(t,e){return t<65?36===t:t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&rh.test(String.fromCharCode(t)):!1!==e&&ah(t,sh)))}function hh(t,e){return t<48?36===t:t<58||!(t<65)&&(t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&ih.test(String.fromCharCode(t)):!1!==e&&(ah(t,sh)||ah(t,oh)))))}var ch=function(t,e){void 0===e&&(e={}),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null};function ph(t,e){return new ch(t,{beforeExpr:!0,binop:e})}var lh={beforeExpr:!0},dh={startsExpr:!0},fh={};function mh(t,e){return void 0===e&&(e={}),e.keyword=t,fh[t]=new ch(t,e)}var gh={num:new ch("num",dh),regexp:new ch("regexp",dh),string:new ch("string",dh),name:new ch("name",dh),eof:new ch("eof"),bracketL:new ch("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ch("]"),braceL:new ch("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ch("}"),parenL:new ch("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ch(")"),comma:new ch(",",lh),semi:new ch(";",lh),colon:new ch(":",lh),dot:new ch("."),question:new ch("?",lh),arrow:new ch("=>",lh),template:new ch("template"),invalidTemplate:new ch("invalidTemplate"),ellipsis:new ch("...",lh),backQuote:new ch("`",dh),dollarBraceL:new ch("${",{beforeExpr:!0,startsExpr:!0}),eq:new ch("=",{beforeExpr:!0,isAssign:!0}),assign:new ch("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ch("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ch("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ph("||",1),logicalAND:ph("&&",2),bitwiseOR:ph("|",3),bitwiseXOR:ph("^",4),bitwiseAND:ph("&",5),equality:ph("==/!=/===/!==",6),relational:ph("</>/<=/>=",7),bitShift:ph("<</>>/>>>",8),plusMin:new ch("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ph("%",10),star:ph("*",10),slash:ph("/",10),starstar:new ch("**",{beforeExpr:!0}),_break:mh("break"),_case:mh("case",lh),_catch:mh("catch"),_continue:mh("continue"),_debugger:mh("debugger"),_default:mh("default",lh),_do:mh("do",{isLoop:!0,beforeExpr:!0}),_else:mh("else",lh),_finally:mh("finally"),_for:mh("for",{isLoop:!0}),_function:mh("function",dh),_if:mh("if"),_return:mh("return",lh),_switch:mh("switch"),_throw:mh("throw",lh),_try:mh("try"),_var:mh("var"),_const:mh("const"),_while:mh("while",{isLoop:!0}),_with:mh("with"),_new:mh("new",{beforeExpr:!0,startsExpr:!0}),_this:mh("this",dh),_super:mh("super",dh),_class:mh("class",dh),_extends:mh("extends",lh),_export:mh("export"),_import:mh("import"),_null:mh("null",dh),_true:mh("true",dh),_false:mh("false",dh),_in:mh("in",{beforeExpr:!0,binop:7}),_instanceof:mh("instanceof",{beforeExpr:!0,binop:7}),_typeof:mh("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:mh("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:mh("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},vh=/\r\n?|\n|\u2028|\u2029/,yh=new RegExp(vh.source,"g");function xh(t,e){return 10===t||13===t||!e&&(8232===t||8233===t)}var _h=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Eh=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,bh=Object.prototype,Ah=bh.hasOwnProperty,Sh=bh.toString;function wh(t,e){return Ah.call(t,e)}var Ih=Array.isArray||function(t){return"[object Array]"===Sh.call(t)};function Ph(t){return new RegExp("^(?:"+t.replace(/ /g,"|")+")$")}var kh=function(t,e){this.line=t,this.column=e};kh.prototype.offset=function(t){return new kh(this.line,this.column+t)};var Ch=function(t,e,n){this.start=e,this.end=n,null!==t.sourceFile&&(this.source=t.sourceFile)};function Nh(t,e){for(var n=1,r=0;;){yh.lastIndex=r;var i=yh.exec(t);if(!(i&&i.index<e))return new kh(n,e-r);++n,r=i.index+i[0].length}}var Rh={ecmaVersion:9,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function Oh(t){var e={};for(var n in Rh)e[n]=t&&wh(t,n)?t[n]:Rh[n];if(e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),null==e.allowReserved&&(e.allowReserved=e.ecmaVersion<5),Ih(e.onToken)){var r=e.onToken;e.onToken=function(t){return r.push(t)}}return Ih(e.onComment)&&(e.onComment=function(t,e){return function(n,r,i,s,o,a){var u={type:n?"Block":"Line",value:r,start:i,end:s};t.locations&&(u.loc=new Ch(this,o,a)),t.ranges&&(u.range=[i,s]),e.push(u)}}(e,e.onComment)),e}var Mh=2,Th=1|Mh,Lh=4,Dh=8;function Vh(t,e){return Mh|(t?Lh:0)|(e?Dh:0)}var Bh=function(t,e,n){this.options=t=Oh(t),this.sourceFile=t.sourceFile,this.keywords=Ph(Zu[t.ecmaVersion>=6?6:5]);var r="";if(!t.allowReserved){for(var i=t.ecmaVersion;!(r=$u[i]);i--);"module"===t.sourceType&&(r+=" await")}this.reservedWords=Ph(r);var s=(r?r+" ":"")+$u.strict;this.reservedWordsStrict=Ph(s),this.reservedWordsStrictBind=Ph(s+" "+$u.strictBind),this.input=String(e),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(vh).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=gh.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===t.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&t.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},zh={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Bh.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},zh.inFunction.get=function(){return(this.currentVarScope().flags&Mh)>0},zh.inGenerator.get=function(){return(this.currentVarScope().flags&Dh)>0},zh.inAsync.get=function(){return(this.currentVarScope().flags&Lh)>0},zh.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},zh.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},zh.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Bh.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Mh)>0},Bh.extend=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var n=this,r=0;r<t.length;r++)n=t[r](n);return n},Bh.parse=function(t,e){return new this(e,t).parse()},Bh.parseExpressionAt=function(t,e,n){var r=new this(n,t,e);return r.nextToken(),r.parseExpression()},Bh.tokenizer=function(t,e){return new this(e,t)},Object.defineProperties(Bh.prototype,zh);var jh=Bh.prototype,Wh=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/;function Uh(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}jh.strictDirective=function(t){for(;;){Eh.lastIndex=t,t+=Eh.exec(this.input)[0].length;var e=Wh.exec(this.input.slice(t));if(!e)return!1;if("use strict"===(e[1]||e[2]))return!0;t+=e[0].length,Eh.lastIndex=t,t+=Eh.exec(this.input)[0].length,";"===this.input[t]&&t++}},jh.eat=function(t){return this.type===t&&(this.next(),!0)},jh.isContextual=function(t){return this.type===gh.name&&this.value===t&&!this.containsEsc},jh.eatContextual=function(t){return!!this.isContextual(t)&&(this.next(),!0)},jh.expectContextual=function(t){this.eatContextual(t)||this.unexpected()},jh.canInsertSemicolon=function(){return this.type===gh.eof||this.type===gh.braceR||vh.test(this.input.slice(this.lastTokEnd,this.start))},jh.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},jh.semicolon=function(){this.eat(gh.semi)||this.insertSemicolon()||this.unexpected()},jh.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),e||this.next(),!0},jh.expect=function(t){this.eat(t)||this.unexpected()},jh.unexpected=function(t){this.raise(null!=t?t:this.start,"Unexpected token")},jh.checkPatternErrors=function(t,e){if(t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var n=e?t.parenthesizedAssign:t.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},jh.checkExpressionErrors=function(t,e){if(!t)return!1;var n=t.shorthandAssign,r=t.doubleProto;if(!e)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},jh.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},jh.isSimpleAssignTarget=function(t){return"ParenthesizedExpression"===t.type?this.isSimpleAssignTarget(t.expression):"Identifier"===t.type||"MemberExpression"===t.type};var Fh=Bh.prototype;Fh.parseTopLevel=function(t){var e={};for(t.body||(t.body=[]);this.type!==gh.eof;){var n=this.parseStatement(null,!0,e);t.body.push(n)}if(this.inModule)for(var r=0,i=Object.keys(this.undefinedExports);r<i.length;r+=1){var s=i[r];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),this.options.ecmaVersion>=6&&(t.sourceType=this.options.sourceType),this.finishNode(t,"Program")};var qh={kind:"loop"},Gh={kind:"switch"};Fh.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Eh.lastIndex=this.pos;var e=Eh.exec(this.input),n=this.pos+e[0].length,r=this.input.charCodeAt(n);if(91===r)return!0;if(t)return!1;if(123===r)return!0;if(uh(r,!0)){for(var i=n+1;hh(this.input.charCodeAt(i),!0);)++i;var s=this.input.slice(n,i);if(!th.test(s))return!0}return!1},Fh.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Eh.lastIndex=this.pos;var t=Eh.exec(this.input),e=this.pos+t[0].length;return!(vh.test(this.input.slice(this.pos,e))||"function"!==this.input.slice(e,e+8)||e+8!==this.input.length&&hh(this.input.charAt(e+8)))},Fh.parseStatement=function(t,e,n){var r,i=this.type,s=this.startNode();switch(this.isLet(t)&&(i=gh._var,r="let"),i){case gh._break:case gh._continue:return this.parseBreakContinueStatement(s,i.keyword);case gh._debugger:return this.parseDebuggerStatement(s);case gh._do:return this.parseDoStatement(s);case gh._for:return this.parseForStatement(s);case gh._function:return t&&(this.strict||"if"!==t&&"label"!==t)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!t);case gh._class:return t&&this.unexpected(),this.parseClass(s,!0);case gh._if:return this.parseIfStatement(s);case gh._return:return this.parseReturnStatement(s);case gh._switch:return this.parseSwitchStatement(s);case gh._throw:return this.parseThrowStatement(s);case gh._try:return this.parseTryStatement(s);case gh._const:case gh._var:return r=r||this.value,t&&"var"!==r&&this.unexpected(),this.parseVarStatement(s,r);case gh._while:return this.parseWhileStatement(s);case gh._with:return this.parseWithStatement(s);case gh.braceL:return this.parseBlock(!0,s);case gh.semi:return this.parseEmptyStatement(s);case gh._export:case gh._import:return this.options.allowImportExportEverywhere||(e||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===gh._import?this.parseImport(s):this.parseExport(s,n);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!t);var o=this.value,a=this.parseExpression();return i===gh.name&&"Identifier"===a.type&&this.eat(gh.colon)?this.parseLabeledStatement(s,o,a,t):this.parseExpressionStatement(s,a)}},Fh.parseBreakContinueStatement=function(t,e){var n="break"===e;this.next(),this.eat(gh.semi)||this.insertSemicolon()?t.label=null:this.type!==gh.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var i=this.labels[r];if(null==t.label||i.name===t.label.name){if(null!=i.kind&&(n||"loop"===i.kind))break;if(t.label&&n)break}}return r===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,n?"BreakStatement":"ContinueStatement")},Fh.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},Fh.parseDoStatement=function(t){return this.next(),this.labels.push(qh),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(gh._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(gh.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},Fh.parseForStatement=function(t){this.next();var e=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(qh),this.enterScope(0),this.expect(gh.parenL),this.type===gh.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);var n=this.isLet();if(this.type===gh._var||this.type===gh._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),!(this.type===gh._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==r.declarations.length||"var"!==i&&r.declarations[0].init?(e>-1&&this.unexpected(e),this.parseFor(t,r)):(this.options.ecmaVersion>=9&&(this.type===gh._in?e>-1&&this.unexpected(e):t.await=e>-1),this.parseForIn(t,r))}var s=new Uh,o=this.parseExpression(!0,s);return this.type===gh._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===gh._in?e>-1&&this.unexpected(e):t.await=e>-1),this.toAssignable(o,!1,s),this.checkLVal(o),this.parseForIn(t,o)):(this.checkExpressionErrors(s,!0),e>-1&&this.unexpected(e),this.parseFor(t,o))},Fh.parseFunctionStatement=function(t,e,n){return this.next(),this.parseFunction(t,Kh|(n?0:Yh),!1,e)},Fh.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(gh._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},Fh.parseReturnStatement=function(t){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(gh.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},Fh.parseSwitchStatement=function(t){var e;this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(gh.braceL),this.labels.push(Gh),this.enterScope(0);for(var n=!1;this.type!==gh.braceR;)if(this.type===gh._case||this.type===gh._default){var r=this.type===gh._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),r?e.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,e.test=null),this.expect(gh.colon)}else e||this.unexpected(),e.consequent.push(this.parseStatement(null));return this.exitScope(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},Fh.parseThrowStatement=function(t){return this.next(),vh.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var Hh=[];Fh.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===gh._catch){var e=this.startNode();if(this.next(),this.eat(gh.parenL)){e.param=this.parseBindingAtom();var n="Identifier"===e.param.type;this.enterScope(n?32:0),this.checkLVal(e.param,n?4:2),this.expect(gh.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),e.param=null,this.enterScope(0);e.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(gh._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},Fh.parseVarStatement=function(t,e){return this.next(),this.parseVar(t,!1,e),this.semicolon(),this.finishNode(t,"VariableDeclaration")},Fh.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(qh),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},Fh.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},Fh.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},Fh.parseLabeledStatement=function(t,e,n,r){for(var i=0,s=this.labels;i<s.length;i+=1){s[i].name===e&&this.raise(n.start,"Label '"+e+"' is already declared")}for(var o=this.type.isLoop?"loop":this.type===gh._switch?"switch":null,a=this.labels.length-1;a>=0;a--){var u=this.labels[a];if(u.statementStart!==t.start)break;u.statementStart=this.start,u.kind=o}return this.labels.push({name:e,kind:o,statementStart:this.start}),t.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),t.label=n,this.finishNode(t,"LabeledStatement")},Fh.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")},Fh.parseBlock=function(t,e){for(void 0===t&&(t=!0),void 0===e&&(e=this.startNode()),e.body=[],this.expect(gh.braceL),t&&this.enterScope(0);!this.eat(gh.braceR);){var n=this.parseStatement(null);e.body.push(n)}return t&&this.exitScope(),this.finishNode(e,"BlockStatement")},Fh.parseFor=function(t,e){return t.init=e,this.expect(gh.semi),t.test=this.type===gh.semi?null:this.parseExpression(),this.expect(gh.semi),t.update=this.type===gh.parenR?null:this.parseExpression(),this.expect(gh.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},Fh.parseForIn=function(t,e){var n=this.type===gh._in?"ForInStatement":"ForOfStatement";return this.next(),"ForInStatement"===n&&("AssignmentPattern"===e.type||"VariableDeclaration"===e.type&&null!=e.declarations[0].init&&(this.strict||"Identifier"!==e.declarations[0].id.type))&&this.raise(e.start,"Invalid assignment in for-in loop head"),t.left=e,t.right="ForInStatement"===n?this.parseExpression():this.parseMaybeAssign(),this.expect(gh.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,n)},Fh.parseVar=function(t,e,n){for(t.declarations=[],t.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(gh.eq)?r.init=this.parseMaybeAssign(e):"const"!==n||this.type===gh._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||e&&(this.type===gh._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(gh.comma))break}return t},Fh.parseVarId=function(t,e){"const"!==e&&"let"!==e||!this.isContextual("let")||this.raiseRecoverable(this.start,"let is disallowed as a lexically bound name"),t.id=this.parseBindingAtom(),this.checkLVal(t.id,"var"===e?1:2,!1)};var Kh=1,Yh=2;Fh.parseFunction=function(t,e,n,r){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===gh.star&&e&Yh&&this.unexpected(),t.generator=this.eat(gh.star)),this.options.ecmaVersion>=8&&(t.async=!!r),e&Kh&&(t.id=4&e&&this.type!==gh.name?null:this.parseIdent(),!t.id||e&Yh||this.checkLVal(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vh(t.async,t.generator)),e&Kh||(t.id=this.type===gh.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,n,!1),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(t,e&Kh?"FunctionDeclaration":"FunctionExpression")},Fh.parseFunctionParams=function(t){this.expect(gh.parenL),t.params=this.parseBindingList(gh.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Fh.parseClass=function(t,e){this.next();var n=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);var r=this.startNode(),i=!1;for(r.body=[],this.expect(gh.braceL);!this.eat(gh.braceR);){var s=this.parseClassElement(null!==t.superClass);s&&(r.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind&&(i&&this.raise(s.start,"Duplicate constructor in the same class"),i=!0))}return t.body=this.finishNode(r,"ClassBody"),this.strict=n,this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},Fh.parseClassElement=function(t){var e=this;if(this.eat(gh.semi))return null;var n=this.startNode(),r=function(t,r){void 0===r&&(r=!1);var i=e.start,s=e.startLoc;return!!e.eatContextual(t)&&(!(e.type===gh.parenL||r&&e.canInsertSemicolon())||(n.key&&e.unexpected(),n.computed=!1,n.key=e.startNodeAt(i,s),n.key.name=t,e.finishNode(n.key,"Identifier"),!1))};n.kind="method",n.static=r("static");var i=this.eat(gh.star),s=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(gh.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key,a=!1;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),s&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor",a=t),this.parseClassMethod(n,i,s,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},Fh.parseClassMethod=function(t,e,n,r){return t.value=this.parseMethod(e,n,r),this.finishNode(t,"MethodDefinition")},Fh.parseClassId=function(t,e){this.type===gh.name?(t.id=this.parseIdent(),e&&this.checkLVal(t.id,2,!1)):(!0===e&&this.unexpected(),t.id=null)},Fh.parseClassSuper=function(t){t.superClass=this.eat(gh._extends)?this.parseExprSubscripts():null},Fh.parseExport=function(t,e){if(this.next(),this.eat(gh.star))return this.expectContextual("from"),this.type!==gh.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration");if(this.eat(gh._default)){var n;if(this.checkExport(e,"default",this.lastTokStart),this.type===gh._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),t.declaration=this.parseFunction(r,4|Kh,!1,n)}else if(this.type===gh._class){var i=this.startNode();t.declaration=this.parseClass(i,"nullableID")}else t.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(t,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())t.declaration=this.parseStatement(null),"VariableDeclaration"===t.declaration.type?this.checkVariableExport(e,t.declaration.declarations):this.checkExport(e,t.declaration.id.name,t.declaration.id.start),t.specifiers=[],t.source=null;else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(e),this.eatContextual("from"))this.type!==gh.string&&this.unexpected(),t.source=this.parseExprAtom();else{for(var s=0,o=t.specifiers;s<o.length;s+=1){var a=o[s];this.checkUnreserved(a.local),this.checkLocalExport(a.local)}t.source=null}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")},Fh.checkExport=function(t,e,n){t&&(wh(t,e)&&this.raiseRecoverable(n,"Duplicate export '"+e+"'"),t[e]=!0)},Fh.checkPatternExport=function(t,e){var n=e.type;if("Identifier"===n)this.checkExport(t,e.name,e.start);else if("ObjectPattern"===n)for(var r=0,i=e.properties;r<i.length;r+=1){var s=i[r];this.checkPatternExport(t,s)}else if("ArrayPattern"===n)for(var o=0,a=e.elements;o<a.length;o+=1){var u=a[o];u&&this.checkPatternExport(t,u)}else"Property"===n?this.checkPatternExport(t,e.value):"AssignmentPattern"===n?this.checkPatternExport(t,e.left):"RestElement"===n?this.checkPatternExport(t,e.argument):"ParenthesizedExpression"===n&&this.checkPatternExport(t,e.expression)},Fh.checkVariableExport=function(t,e){if(t)for(var n=0,r=e;n<r.length;n+=1){var i=r[n];this.checkPatternExport(t,i.id)}},Fh.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},Fh.parseExportSpecifiers=function(t){var e=[],n=!0;for(this.expect(gh.braceL);!this.eat(gh.braceR);){if(n)n=!1;else if(this.expect(gh.comma),this.afterTrailingComma(gh.braceR))break;var r=this.startNode();r.local=this.parseIdent(!0),r.exported=this.eatContextual("as")?this.parseIdent(!0):r.local,this.checkExport(t,r.exported.name,r.exported.start),e.push(this.finishNode(r,"ExportSpecifier"))}return e},Fh.parseImport=function(t){return this.next(),this.type===gh.string?(t.specifiers=Hh,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===gh.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},Fh.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===gh.name){var n=this.startNode();if(n.local=this.parseIdent(),this.checkLVal(n.local,2),t.push(this.finishNode(n,"ImportDefaultSpecifier")),!this.eat(gh.comma))return t}if(this.type===gh.star){var r=this.startNode();return this.next(),this.expectContextual("as"),r.local=this.parseIdent(),this.checkLVal(r.local,2),t.push(this.finishNode(r,"ImportNamespaceSpecifier")),t}for(this.expect(gh.braceL);!this.eat(gh.braceR);){if(e)e=!1;else if(this.expect(gh.comma),this.afterTrailingComma(gh.braceR))break;var i=this.startNode();i.imported=this.parseIdent(!0),this.eatContextual("as")?i.local=this.parseIdent():(this.checkUnreserved(i.imported),i.local=i.imported),this.checkLVal(i.local,2),t.push(this.finishNode(i,"ImportSpecifier"))}return t},Fh.adaptDirectivePrologue=function(t){for(var e=0;e<t.length&&this.isDirectiveCandidate(t[e]);++e)t[e].directive=t[e].expression.raw.slice(1,-1)},Fh.isDirectiveCandidate=function(t){return"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"==typeof t.expression.value&&('"'===this.input[t.start]||"'"===this.input[t.start])};var Xh=Bh.prototype;Xh.toAssignable=function(t,e,n){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&"await"===t.name&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=t.properties;r<i.length;r+=1){var s=i[r];this.toAssignable(s,e),"RestElement"!==s.type||"ArrayPattern"!==s.argument.type&&"ObjectPattern"!==s.argument.type||this.raise(s.argument.start,"Unexpected token")}break;case"Property":"init"!==t.kind&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,e);break;case"ArrayExpression":t.type="ArrayPattern",n&&this.checkPatternErrors(n,!0),this.toAssignableList(t.elements,e);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,e),"AssignmentPattern"===t.argument.type&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==t.operator&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(t.expression,e,n);break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else n&&this.checkPatternErrors(n,!0);return t},Xh.toAssignableList=function(t,e){for(var n=t.length,r=0;r<n;r++){var i=t[r];i&&this.toAssignable(i,e)}if(n){var s=t[n-1];6===this.options.ecmaVersion&&e&&s&&"RestElement"===s.type&&"Identifier"!==s.argument.type&&this.unexpected(s.argument.start)}return t},Xh.parseSpread=function(t){var e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")},Xh.parseRestBinding=function(){var t=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==gh.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},Xh.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case gh.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(gh.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case gh.braceL:return this.parseObj(!0)}return this.parseIdent()},Xh.parseBindingList=function(t,e,n){for(var r=[],i=!0;!this.eat(t);)if(i?i=!1:this.expect(gh.comma),e&&this.type===gh.comma)r.push(null);else{if(n&&this.afterTrailingComma(t))break;if(this.type===gh.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),r.push(s),this.type===gh.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}var o=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(o),r.push(o)}return r},Xh.parseBindingListItem=function(t){return t},Xh.parseMaybeDefault=function(t,e,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(gh.eq))return n;var r=this.startNodeAt(t,e);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},Xh.checkLVal=function(t,e,n){switch(void 0===e&&(e=0),t.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(e?"Binding ":"Assigning to ")+t.name+" in strict mode"),n&&(wh(n,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),n[t.name]=!0),0!==e&&5!==e&&this.declareName(t.name,e,t.start);break;case"MemberExpression":e&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ObjectPattern":for(var r=0,i=t.properties;r<i.length;r+=1){var s=i[r];this.checkLVal(s,e,n)}break;case"Property":this.checkLVal(t.value,e,n);break;case"ArrayPattern":for(var o=0,a=t.elements;o<a.length;o+=1){var u=a[o];u&&this.checkLVal(u,e,n)}break;case"AssignmentPattern":this.checkLVal(t.left,e,n);break;case"RestElement":this.checkLVal(t.argument,e,n);break;case"ParenthesizedExpression":this.checkLVal(t.expression,e,n);break;default:this.raise(t.start,(e?"Binding":"Assigning to")+" rvalue")}};var Qh=Bh.prototype;Qh.checkPropClash=function(t,e,n){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===t.type||this.options.ecmaVersion>=6&&(t.computed||t.method||t.shorthand))){var r,i=t.key;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var s=t.kind;if(this.options.ecmaVersion>=6)"__proto__"===r&&"init"===s&&(e.proto&&(n&&n.doubleProto<0?n.doubleProto=i.start:this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),e.proto=!0);else{var o=e[r="$"+r];if(o)("init"===s?this.strict&&o.init||o.get||o.set:o.init||o[s])&&this.raiseRecoverable(i.start,"Redefinition of property");else o=e[r]={init:!1,get:!1,set:!1};o[s]=!0}}},Qh.parseExpression=function(t,e){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(t,e);if(this.type===gh.comma){var s=this.startNodeAt(n,r);for(s.expressions=[i];this.eat(gh.comma);)s.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(s,"SequenceExpression")}return i},Qh.parseMaybeAssign=function(t,e,n){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var r=!1,i=-1,s=-1,o=-1;e?(i=e.parenthesizedAssign,s=e.trailingComma,o=e.shorthandAssign,e.parenthesizedAssign=e.trailingComma=e.shorthandAssign=-1):(e=new Uh,r=!0);var a=this.start,u=this.startLoc;this.type!==gh.parenL&&this.type!==gh.name||(this.potentialArrowAt=this.start);var h=this.parseMaybeConditional(t,e);if(n&&(h=n.call(this,h,a,u)),this.type.isAssign){var c=this.startNodeAt(a,u);return c.operator=this.value,c.left=this.type===gh.eq?this.toAssignable(h,!1,e):h,r||Uh.call(e),e.shorthandAssign=-1,this.checkLVal(h),this.next(),c.right=this.parseMaybeAssign(t),this.finishNode(c,"AssignmentExpression")}return r&&this.checkExpressionErrors(e,!0),i>-1&&(e.parenthesizedAssign=i),s>-1&&(e.trailingComma=s),o>-1&&(e.shorthandAssign=o),h},Qh.parseMaybeConditional=function(t,e){var n=this.start,r=this.startLoc,i=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return i;if(this.eat(gh.question)){var s=this.startNodeAt(n,r);return s.test=i,s.consequent=this.parseMaybeAssign(),this.expect(gh.colon),s.alternate=this.parseMaybeAssign(t),this.finishNode(s,"ConditionalExpression")}return i},Qh.parseExprOps=function(t,e){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(e,!1);return this.checkExpressionErrors(e)?i:i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,t)},Qh.parseExprOp=function(t,e,n,r,i){var s=this.type.binop;if(null!=s&&(!i||this.type!==gh._in)&&s>r){var o=this.type===gh.logicalOR||this.type===gh.logicalAND,a=this.value;this.next();var u=this.start,h=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),u,h,s,i),p=this.buildBinary(e,n,t,c,a,o);return this.parseExprOp(p,e,n,r,i)}return t},Qh.buildBinary=function(t,e,n,r,i,s){var o=this.startNodeAt(t,e);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,s?"LogicalExpression":"BinaryExpression")},Qh.parseMaybeUnary=function(t,e){var n,r=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))n=this.parseAwait(),e=!0;else if(this.type.prefix){var s=this.startNode(),o=this.type===gh.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),o?this.checkLVal(s.argument):this.strict&&"delete"===s.operator&&"Identifier"===s.argument.type?this.raiseRecoverable(s.start,"Deleting local variable in strict mode"):e=!0,n=this.finishNode(s,o?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(t),this.checkExpressionErrors(t))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var a=this.startNodeAt(r,i);a.operator=this.value,a.prefix=!1,a.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(a,"UpdateExpression")}}return!e&&this.eat(gh.starstar)?this.buildBinary(r,i,n,this.parseMaybeUnary(null,!1),"**",!1):n},Qh.parseExprSubscripts=function(t){var e=this.start,n=this.startLoc,r=this.parseExprAtom(t),i="ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(t)||i)return r;var s=this.parseSubscripts(r,e,n);return t&&"MemberExpression"===s.type&&(t.parenthesizedAssign>=s.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=s.start&&(t.parenthesizedBind=-1)),s},Qh.parseSubscripts=function(t,e,n,r){for(var i=this.options.ecmaVersion>=8&&"Identifier"===t.type&&"async"===t.name&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(t.start,t.end);;){var s=this.parseSubscript(t,e,n,r,i);if(s===t||"ArrowFunctionExpression"===s.type)return s;t=s}},Qh.parseSubscript=function(t,e,n,r,i){var s=this.eat(gh.bracketL);if(s||this.eat(gh.dot)){var o=this.startNodeAt(e,n);o.object=t,o.property=s?this.parseExpression():this.parseIdent(!0),o.computed=!!s,s&&this.expect(gh.bracketR),t=this.finishNode(o,"MemberExpression")}else if(!r&&this.eat(gh.parenL)){var a=new Uh,u=this.yieldPos,h=this.awaitPos,c=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var p=this.parseExprList(gh.parenR,this.options.ecmaVersion>=8,!1,a);if(i&&!this.canInsertSemicolon()&&this.eat(gh.arrow))return this.checkPatternErrors(a,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=u,this.awaitPos=h,this.awaitIdentPos=c,this.parseArrowExpression(this.startNodeAt(e,n),p,!0);this.checkExpressionErrors(a,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=c||this.awaitIdentPos;var l=this.startNodeAt(e,n);l.callee=t,l.arguments=p,t=this.finishNode(l,"CallExpression")}else if(this.type===gh.backQuote){var d=this.startNodeAt(e,n);d.tag=t,d.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(d,"TaggedTemplateExpression")}return t},Qh.parseExprAtom=function(t){this.type===gh.slash&&this.readRegexp();var e,n=this.potentialArrowAt===this.start;switch(this.type){case gh._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),e=this.startNode(),this.next(),this.type!==gh.parenL||this.allowDirectSuper||this.raise(e.start,"super() call outside constructor of a subclass"),this.type!==gh.dot&&this.type!==gh.bracketL&&this.type!==gh.parenL&&this.unexpected(),this.finishNode(e,"Super");case gh._this:return e=this.startNode(),this.next(),this.finishNode(e,"ThisExpression");case gh.name:var r=this.start,i=this.startLoc,s=this.containsEsc,o=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(gh._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(gh.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===gh.name&&!s)return o=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(gh.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case gh.regexp:var a=this.value;return(e=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},e;case gh.num:case gh.string:return this.parseLiteral(this.value);case gh._null:case gh._true:case gh._false:return(e=this.startNode()).value=this.type===gh._null?null:this.type===gh._true,e.raw=this.type.keyword,this.next(),this.finishNode(e,"Literal");case gh.parenL:var u=this.start,h=this.parseParenAndDistinguishExpression(n);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(t.parenthesizedAssign=u),t.parenthesizedBind<0&&(t.parenthesizedBind=u)),h;case gh.bracketL:return e=this.startNode(),this.next(),e.elements=this.parseExprList(gh.bracketR,!0,!0,t),this.finishNode(e,"ArrayExpression");case gh.braceL:return this.parseObj(!1,t);case gh._function:return e=this.startNode(),this.next(),this.parseFunction(e,0);case gh._class:return this.parseClass(this.startNode(),!1);case gh._new:return this.parseNew();case gh.backQuote:return this.parseTemplate();default:this.unexpected()}},Qh.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(e,"Literal")},Qh.parseParenExpression=function(){this.expect(gh.parenL);var t=this.parseExpression();return this.expect(gh.parenR),t},Qh.parseParenAndDistinguishExpression=function(t){var e,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,o=this.start,a=this.startLoc,u=[],h=!0,c=!1,p=new Uh,l=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==gh.parenR;){if(h?h=!1:this.expect(gh.comma),i&&this.afterTrailingComma(gh.parenR,!0)){c=!0;break}if(this.type===gh.ellipsis){s=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===gh.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}u.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(gh.parenR),t&&!this.canInsertSemicolon()&&this.eat(gh.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=l,this.awaitPos=d,this.parseParenArrowList(n,r,u);u.length&&!c||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(p,!0),this.yieldPos=l||this.yieldPos,this.awaitPos=d||this.awaitPos,u.length>1?((e=this.startNodeAt(o,a)).expressions=u,this.finishNodeAt(e,"SequenceExpression",f,m)):e=u[0]}else e=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(n,r);return g.expression=e,this.finishNode(g,"ParenthesizedExpression")}return e},Qh.parseParenItem=function(t){return t},Qh.parseParenArrowList=function(t,e,n){return this.parseArrowExpression(this.startNodeAt(t,e),n)};var $h=[];Qh.parseNew=function(){var t=this.startNode(),e=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(gh.dot)){t.meta=e;var n=this.containsEsc;return t.property=this.parseIdent(!0),("target"!==t.property.name||n)&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is new.target"),this.inNonArrowFunction()||this.raiseRecoverable(t.start,"new.target can only be used in functions"),this.finishNode(t,"MetaProperty")}var r=this.start,i=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),this.eat(gh.parenL)?t.arguments=this.parseExprList(gh.parenR,this.options.ecmaVersion>=8,!1):t.arguments=$h,this.finishNode(t,"NewExpression")},Qh.parseTemplateElement=function(t){var e=t.isTagged,n=this.startNode();return this.type===gh.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===gh.backQuote,this.finishNode(n,"TemplateElement")},Qh.parseTemplate=function(t){void 0===t&&(t={});var e=t.isTagged;void 0===e&&(e=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:e});for(n.quasis=[r];!r.tail;)this.type===gh.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(gh.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(gh.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(n,"TemplateLiteral")},Qh.isAsyncProp=function(t){return!t.computed&&"Identifier"===t.key.type&&"async"===t.key.name&&(this.type===gh.name||this.type===gh.num||this.type===gh.string||this.type===gh.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===gh.star)&&!vh.test(this.input.slice(this.lastTokEnd,this.start))},Qh.parseObj=function(t,e){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(gh.braceR);){if(r)r=!1;else if(this.expect(gh.comma),this.afterTrailingComma(gh.braceR))break;var s=this.parseProperty(t,e);t||this.checkPropClash(s,i,e),n.properties.push(s)}return this.finishNode(n,t?"ObjectPattern":"ObjectExpression")},Qh.parseProperty=function(t,e){var n,r,i,s,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(gh.ellipsis))return t?(o.argument=this.parseIdent(!1),this.type===gh.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===gh.parenL&&e&&(e.parenthesizedAssign<0&&(e.parenthesizedAssign=this.start),e.parenthesizedBind<0&&(e.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,e),this.type===gh.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(t||e)&&(i=this.start,s=this.startLoc),t||(n=this.eat(gh.star)));var a=this.containsEsc;return this.parsePropertyName(o),!t&&!a&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(gh.star),this.parsePropertyName(o,e)):r=!1,this.parsePropertyValue(o,t,n,r,i,s,e,a),this.finishNode(o,"Property")},Qh.parsePropertyValue=function(t,e,n,r,i,s,o,a){if((n||r)&&this.type===gh.colon&&this.unexpected(),this.eat(gh.colon))t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),t.kind="init";else if(this.options.ecmaVersion>=6&&this.type===gh.parenL)e&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(n,r);else if(e||a||!(this.options.ecmaVersion>=5)||t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||this.type===gh.comma||this.type===gh.braceR)this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?((n||r)&&this.unexpected(),this.checkUnreserved(t.key),"await"!==t.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),t.kind="init",e?t.value=this.parseMaybeDefault(i,s,t.key):this.type===gh.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),t.value=this.parseMaybeDefault(i,s,t.key)):t.value=t.key,t.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1);var u="get"===t.kind?0:1;if(t.value.params.length!==u){var h=t.value.start;"get"===t.kind?this.raiseRecoverable(h,"getter should have no params"):this.raiseRecoverable(h,"setter should have exactly one param")}else"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")}},Qh.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(gh.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(gh.bracketR),t.key;t.computed=!1}return t.key=this.type===gh.num||this.type===gh.string?this.parseExprAtom():this.parseIdent(!0)},Qh.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},Qh.parseMethod=function(t,e,n){var r=this.startNode(),i=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=t),this.options.ecmaVersion>=8&&(r.async=!!e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Vh(e,r.generator)|(n?128:0)),this.expect(gh.parenL),r.params=this.parseBindingList(gh.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(r,"FunctionExpression")},Qh.parseArrowExpression=function(t,e,n){var r=this.yieldPos,i=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|Vh(n,!1)),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=s,this.finishNode(t,"ArrowFunctionExpression")},Qh.parseFunctionBody=function(t,e,n){var r=e&&this.type!==gh.braceL,i=this.strict,s=!1;if(r)t.body=this.parseMaybeAssign(),t.expression=!0,this.checkParams(t,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);i&&!o||(s=this.strictDirective(this.end))&&o&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list");var a=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(t,!i&&!s&&!e&&!n&&this.isSimpleParamList(t.params)),t.body=this.parseBlock(!1),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=a}this.exitScope(),this.strict&&t.id&&this.checkLVal(t.id,5),this.strict=i},Qh.isSimpleParamList=function(t){for(var e=0,n=t;e<n.length;e+=1){if("Identifier"!==n[e].type)return!1}return!0},Qh.checkParams=function(t,e){for(var n={},r=0,i=t.params;r<i.length;r+=1){var s=i[r];this.checkLVal(s,1,e?null:n)}},Qh.parseExprList=function(t,e,n,r){for(var i=[],s=!0;!this.eat(t);){if(s)s=!1;else if(this.expect(gh.comma),e&&this.afterTrailingComma(t))break;var o=void 0;n&&this.type===gh.comma?o=null:this.type===gh.ellipsis?(o=this.parseSpread(r),r&&this.type===gh.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),i.push(o)}return i},Qh.checkUnreserved=function(t){var e=t.start,n=t.end,r=t.name;(this.inGenerator&&"yield"===r&&this.raiseRecoverable(e,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===r&&this.raiseRecoverable(e,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(r)&&this.raise(e,"Unexpected keyword '"+r+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(e,n).indexOf("\\"))||(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(this.inAsync||"await"!==r||this.raiseRecoverable(e,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(e,"The keyword '"+r+"' is reserved"))},Qh.parseIdent=function(t,e){var n=this.startNode();return t&&"never"===this.options.allowReserved&&(t=!1),this.type===gh.name?n.name=this.value:this.type.keyword?(n.name=this.type.keyword,"class"!==n.name&&"function"!==n.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop()):this.unexpected(),this.next(),this.finishNode(n,"Identifier"),t||(this.checkUnreserved(n),"await"!==n.name||this.awaitIdentPos||(this.awaitIdentPos=n.start)),n},Qh.parseYield=function(t){this.yieldPos||(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type===gh.semi||this.canInsertSemicolon()||this.type!==gh.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(gh.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")},Qh.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0),this.finishNode(t,"AwaitExpression")};var Jh=Bh.prototype;Jh.raise=function(t,e){var n=Nh(this.input,t);e+=" ("+n.line+":"+n.column+")";var r=new SyntaxError(e);throw r.pos=t,r.loc=n,r.raisedAt=this.pos,r},Jh.raiseRecoverable=Jh.raise,Jh.curPosition=function(){if(this.options.locations)return new kh(this.curLine,this.pos-this.lineStart)};var Zh=Bh.prototype,tc=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};Zh.enterScope=function(t){this.scopeStack.push(new tc(t))},Zh.exitScope=function(){this.scopeStack.pop()},Zh.treatFunctionsAsVarInScope=function(t){return t.flags&Mh||!this.inModule&&1&t.flags},Zh.declareName=function(t,e,n){var r=!1;if(2===e){var i=this.currentScope();r=i.lexical.indexOf(t)>-1||i.functions.indexOf(t)>-1||i.var.indexOf(t)>-1,i.lexical.push(t),this.inModule&&1&i.flags&&delete this.undefinedExports[t]}else if(4===e){this.currentScope().lexical.push(t)}else if(3===e){var s=this.currentScope();r=this.treatFunctionsAsVar?s.lexical.indexOf(t)>-1:s.lexical.indexOf(t)>-1||s.var.indexOf(t)>-1,s.functions.push(t)}else for(var o=this.scopeStack.length-1;o>=0;--o){var a=this.scopeStack[o];if(a.lexical.indexOf(t)>-1&&!(32&a.flags&&a.lexical[0]===t)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(t)>-1){r=!0;break}if(a.var.push(t),this.inModule&&1&a.flags&&delete this.undefinedExports[t],a.flags&Th)break}r&&this.raiseRecoverable(n,"Identifier '"+t+"' has already been declared")},Zh.checkLocalExport=function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&(this.undefinedExports[t.name]=t)},Zh.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Zh.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&Th)return e}},Zh.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&Th&&!(16&e.flags))return e}};var ec=function(t,e,n){this.type="",this.start=e,this.end=0,t.options.locations&&(this.loc=new Ch(t,n)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[e,0])},nc=Bh.prototype;function rc(t,e,n,r){return t.type=e,t.end=n,this.options.locations&&(t.loc.end=r),this.options.ranges&&(t.range[1]=n),t}nc.startNode=function(){return new ec(this,this.start,this.startLoc)},nc.startNodeAt=function(t,e){return new ec(this,t,e)},nc.finishNode=function(t,e){return rc.call(this,t,e,this.lastTokEnd,this.lastTokEndLoc)},nc.finishNodeAt=function(t,e,n,r){return rc.call(this,t,e,n,r)};var ic=function(t,e,n,r,i){this.token=t,this.isExpr=!!e,this.preserveSpace=!!n,this.override=r,this.generator=!!i},sc={b_stat:new ic("{",!1),b_expr:new ic("{",!0),b_tmpl:new ic("${",!1),p_stat:new ic("(",!1),p_expr:new ic("(",!0),q_tmpl:new ic("`",!0,!0,function(t){return t.tryReadTemplateToken()}),f_stat:new ic("function",!1),f_expr:new ic("function",!0),f_expr_gen:new ic("function",!0,!1,null,!0),f_gen:new ic("function",!1,!1,null,!0)},oc=Bh.prototype;oc.initialContext=function(){return[sc.b_stat]},oc.braceIsBlock=function(t){var e=this.curContext();return e===sc.f_expr||e===sc.f_stat||(t!==gh.colon||e!==sc.b_stat&&e!==sc.b_expr?t===gh._return||t===gh.name&&this.exprAllowed?vh.test(this.input.slice(this.lastTokEnd,this.start)):t===gh._else||t===gh.semi||t===gh.eof||t===gh.parenR||t===gh.arrow||(t===gh.braceL?e===sc.b_stat:t!==gh._var&&t!==gh._const&&t!==gh.name&&!this.exprAllowed):!e.isExpr)},oc.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var e=this.context[t];if("function"===e.token)return e.generator}return!1},oc.updateContext=function(t){var e,n=this.type;n.keyword&&t===gh.dot?this.exprAllowed=!1:(e=n.updateContext)?e.call(this,t):this.exprAllowed=n.beforeExpr},gh.parenR.updateContext=gh.braceR.updateContext=function(){if(1!==this.context.length){var t=this.context.pop();t===sc.b_stat&&"function"===this.curContext().token&&(t=this.context.pop()),this.exprAllowed=!t.isExpr}else this.exprAllowed=!0},gh.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?sc.b_stat:sc.b_expr),this.exprAllowed=!0},gh.dollarBraceL.updateContext=function(){this.context.push(sc.b_tmpl),this.exprAllowed=!0},gh.parenL.updateContext=function(t){var e=t===gh._if||t===gh._for||t===gh._with||t===gh._while;this.context.push(e?sc.p_stat:sc.p_expr),this.exprAllowed=!0},gh.incDec.updateContext=function(){},gh._function.updateContext=gh._class.updateContext=function(t){!t.beforeExpr||t===gh.semi||t===gh._else||t===gh._return&&vh.test(this.input.slice(this.lastTokEnd,this.start))||(t===gh.colon||t===gh.braceL)&&this.curContext()===sc.b_stat?this.context.push(sc.f_stat):this.context.push(sc.f_expr),this.exprAllowed=!1},gh.backQuote.updateContext=function(){this.curContext()===sc.q_tmpl?this.context.pop():this.context.push(sc.q_tmpl),this.exprAllowed=!1},gh.star.updateContext=function(t){if(t===gh._function){var e=this.context.length-1;this.context[e]===sc.f_expr?this.context[e]=sc.f_expr_gen:this.context[e]=sc.f_gen}this.exprAllowed=!0},gh.name.updateContext=function(t){var e=!1;this.options.ecmaVersion>=6&&t!==gh.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(e=!0),this.exprAllowed=e};var ac="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",uc={9:ac,10:ac+" Extended_Pictographic"},hc="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",cc="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",pc={9:cc,10:cc+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd"},lc={};function dc(t){var e=lc[t]={binary:Ph(uc[t]+" "+hc),nonBinary:{General_Category:Ph(hc),Script:Ph(pc[t])}};e.nonBinary.Script_Extensions=e.nonBinary.Script,e.nonBinary.gc=e.nonBinary.General_Category,e.nonBinary.sc=e.nonBinary.Script,e.nonBinary.scx=e.nonBinary.Script_Extensions}dc(9),dc(10);var fc=Bh.prototype,mc=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=lc[t.options.ecmaVersion>=10?10:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function gc(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}function vc(t){return 36===t||t>=40&&t<=43||46===t||63===t||t>=91&&t<=94||t>=123&&t<=125}function yc(t){return t>=65&&t<=90||t>=97&&t<=122}function xc(t){return yc(t)||95===t}function _c(t){return xc(t)||Ec(t)}function Ec(t){return t>=48&&t<=57}function bc(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function Ac(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t-48}function Sc(t){return t>=48&&t<=55}mc.prototype.reset=function(t,e,n){var r=-1!==n.indexOf("u");this.start=0|t,this.source=e+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},mc.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},mc.prototype.at=function(t){var e=this.source,n=e.length;if(t>=n)return-1;var r=e.charCodeAt(t);return!this.switchU||r<=55295||r>=57344||t+1>=n?r:(r<<10)+e.charCodeAt(t+1)-56613888},mc.prototype.nextIndex=function(t){var e=this.source,n=e.length;if(t>=n)return n;var r=e.charCodeAt(t);return!this.switchU||r<=55295||r>=57344||t+1>=n?t+1:t+2},mc.prototype.current=function(){return this.at(this.pos)},mc.prototype.lookahead=function(){return this.at(this.nextIndex(this.pos))},mc.prototype.advance=function(){this.pos=this.nextIndex(this.pos)},mc.prototype.eat=function(t){return this.current()===t&&(this.advance(),!0)},fc.validateRegExpFlags=function(t){for(var e=t.validFlags,n=t.flags,r=0;r<n.length;r++){var i=n.charAt(r);-1===e.indexOf(i)&&this.raise(t.start,"Invalid regular expression flag"),n.indexOf(i,r+1)>-1&&this.raise(t.start,"Duplicate regular expression flag")}},fc.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&t.groupNames.length>0&&(t.switchN=!0,this.regexp_pattern(t))},fc.regexp_pattern=function(t){t.pos=0,t.lastIntValue=0,t.lastStringValue="",t.lastAssertionIsQuantifiable=!1,t.numCapturingParens=0,t.maxBackReference=0,t.groupNames.length=0,t.backReferenceNames.length=0,this.regexp_disjunction(t),t.pos!==t.source.length&&(t.eat(41)&&t.raise("Unmatched ')'"),(t.eat(93)||t.eat(125))&&t.raise("Lone quantifier brackets")),t.maxBackReference>t.numCapturingParens&&t.raise("Invalid escape");for(var e=0,n=t.backReferenceNames;e<n.length;e+=1){var r=n[e];-1===t.groupNames.indexOf(r)&&t.raise("Invalid named capture referenced")}},fc.regexp_disjunction=function(t){for(this.regexp_alternative(t);t.eat(124);)this.regexp_alternative(t);this.regexp_eatQuantifier(t,!0)&&t.raise("Nothing to repeat"),t.eat(123)&&t.raise("Lone quantifier brackets")},fc.regexp_alternative=function(t){for(;t.pos<t.source.length&&this.regexp_eatTerm(t););},fc.regexp_eatTerm=function(t){return this.regexp_eatAssertion(t)?(t.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(t)&&t.switchU&&t.raise("Invalid quantifier"),!0):!(t.switchU?!this.regexp_eatAtom(t):!this.regexp_eatExtendedAtom(t))&&(this.regexp_eatQuantifier(t),!0)},fc.regexp_eatAssertion=function(t){var e=t.pos;if(t.lastAssertionIsQuantifiable=!1,t.eat(94)||t.eat(36))return!0;if(t.eat(92)){if(t.eat(66)||t.eat(98))return!0;t.pos=e}if(t.eat(40)&&t.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),t.eat(41)||t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!n,!0}return t.pos=e,!1},fc.regexp_eatQuantifier=function(t,e){return void 0===e&&(e=!1),!!this.regexp_eatQuantifierPrefix(t,e)&&(t.eat(63),!0)},fc.regexp_eatQuantifierPrefix=function(t,e){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,e)},fc.regexp_eatBracedQuantifier=function(t,e){var n=t.pos;if(t.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(t)&&(r=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(i=t.lastIntValue),t.eat(125)))return-1!==i&&i<r&&!e&&t.raise("numbers out of order in {} quantifier"),!0;t.switchU&&!e&&t.raise("Incomplete quantifier"),t.pos=n}return!1},fc.regexp_eatAtom=function(t){return this.regexp_eatPatternCharacters(t)||t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)},fc.regexp_eatReverseSolidusAtomEscape=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatAtomEscape(t))return!0;t.pos=e}return!1},fc.regexp_eatUncapturingGroup=function(t){var e=t.pos;if(t.eat(40)){if(t.eat(63)&&t.eat(58)){if(this.regexp_disjunction(t),t.eat(41))return!0;t.raise("Unterminated group")}t.pos=e}return!1},fc.regexp_eatCapturingGroup=function(t){if(t.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(t):63===t.current()&&t.raise("Invalid group"),this.regexp_disjunction(t),t.eat(41))return t.numCapturingParens+=1,!0;t.raise("Unterminated group")}return!1},fc.regexp_eatExtendedAtom=function(t){return t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)||this.regexp_eatInvalidBracedQuantifier(t)||this.regexp_eatExtendedPatternCharacter(t)},fc.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1},fc.regexp_eatSyntaxCharacter=function(t){var e=t.current();return!!vc(e)&&(t.lastIntValue=e,t.advance(),!0)},fc.regexp_eatPatternCharacters=function(t){for(var e=t.pos,n=0;-1!==(n=t.current())&&!vc(n);)t.advance();return t.pos!==e},fc.regexp_eatExtendedPatternCharacter=function(t){var e=t.current();return!(-1===e||36===e||e>=40&&e<=43||46===e||63===e||91===e||94===e||124===e)&&(t.advance(),!0)},fc.regexp_groupSpecifier=function(t){if(t.eat(63)){if(this.regexp_eatGroupName(t))return-1!==t.groupNames.indexOf(t.lastStringValue)&&t.raise("Duplicate capture group name"),void t.groupNames.push(t.lastStringValue);t.raise("Invalid group")}},fc.regexp_eatGroupName=function(t){if(t.lastStringValue="",t.eat(60)){if(this.regexp_eatRegExpIdentifierName(t)&&t.eat(62))return!0;t.raise("Invalid capture group name")}return!1},fc.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=gc(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=gc(t.lastIntValue);return!0}return!1},fc.regexp_eatRegExpIdentifierStart=function(t){var e=t.pos,n=t.current();return t.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(t)&&(n=t.lastIntValue),function(t){return uh(t,!0)||36===t||95===t}(n)?(t.lastIntValue=n,!0):(t.pos=e,!1)},fc.regexp_eatRegExpIdentifierPart=function(t){var e=t.pos,n=t.current();return t.advance(),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(t)&&(n=t.lastIntValue),function(t){return hh(t,!0)||36===t||95===t||8204===t||8205===t}(n)?(t.lastIntValue=n,!0):(t.pos=e,!1)},fc.regexp_eatAtomEscape=function(t){return!!(this.regexp_eatBackReference(t)||this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)||t.switchN&&this.regexp_eatKGroupName(t))||(t.switchU&&(99===t.current()&&t.raise("Invalid unicode escape"),t.raise("Invalid escape")),!1)},fc.regexp_eatBackReference=function(t){var e=t.pos;if(this.regexp_eatDecimalEscape(t)){var n=t.lastIntValue;if(t.switchU)return n>t.maxBackReference&&(t.maxBackReference=n),!0;if(n<=t.numCapturingParens)return!0;t.pos=e}return!1},fc.regexp_eatKGroupName=function(t){if(t.eat(107)){if(this.regexp_eatGroupName(t))return t.backReferenceNames.push(t.lastStringValue),!0;t.raise("Invalid named reference")}return!1},fc.regexp_eatCharacterEscape=function(t){return this.regexp_eatControlEscape(t)||this.regexp_eatCControlLetter(t)||this.regexp_eatZero(t)||this.regexp_eatHexEscapeSequence(t)||this.regexp_eatRegExpUnicodeEscapeSequence(t)||!t.switchU&&this.regexp_eatLegacyOctalEscapeSequence(t)||this.regexp_eatIdentityEscape(t)},fc.regexp_eatCControlLetter=function(t){var e=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=e}return!1},fc.regexp_eatZero=function(t){return 48===t.current()&&!Ec(t.lookahead())&&(t.lastIntValue=0,t.advance(),!0)},fc.regexp_eatControlEscape=function(t){var e=t.current();return 116===e?(t.lastIntValue=9,t.advance(),!0):110===e?(t.lastIntValue=10,t.advance(),!0):118===e?(t.lastIntValue=11,t.advance(),!0):102===e?(t.lastIntValue=12,t.advance(),!0):114===e&&(t.lastIntValue=13,t.advance(),!0)},fc.regexp_eatControlLetter=function(t){var e=t.current();return!!yc(e)&&(t.lastIntValue=e%32,t.advance(),!0)},fc.regexp_eatRegExpUnicodeEscapeSequence=function(t){var e,n=t.pos;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var r=t.lastIntValue;if(t.switchU&&r>=55296&&r<=56319){var i=t.pos;if(t.eat(92)&&t.eat(117)&&this.regexp_eatFixedHexDigits(t,4)){var s=t.lastIntValue;if(s>=56320&&s<=57343)return t.lastIntValue=1024*(r-55296)+(s-56320)+65536,!0}t.pos=i,t.lastIntValue=r}return!0}if(t.switchU&&t.eat(123)&&this.regexp_eatHexDigits(t)&&t.eat(125)&&((e=t.lastIntValue)>=0&&e<=1114111))return!0;t.switchU&&t.raise("Invalid unicode escape"),t.pos=n}return!1},fc.regexp_eatIdentityEscape=function(t){if(t.switchU)return!!this.regexp_eatSyntaxCharacter(t)||!!t.eat(47)&&(t.lastIntValue=47,!0);var e=t.current();return!(99===e||t.switchN&&107===e)&&(t.lastIntValue=e,t.advance(),!0)},fc.regexp_eatDecimalEscape=function(t){t.lastIntValue=0;var e=t.current();if(e>=49&&e<=57){do{t.lastIntValue=10*t.lastIntValue+(e-48),t.advance()}while((e=t.current())>=48&&e<=57);return!0}return!1},fc.regexp_eatCharacterClassEscape=function(t){var e=t.current();if(function(t){return 100===t||68===t||115===t||83===t||119===t||87===t}(e))return t.lastIntValue=-1,t.advance(),!0;if(t.switchU&&this.options.ecmaVersion>=9&&(80===e||112===e)){if(t.lastIntValue=-1,t.advance(),t.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(t)&&t.eat(125))return!0;t.raise("Invalid property name")}return!1},fc.regexp_eatUnicodePropertyValueExpression=function(t){var e=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var n=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t)){var r=t.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(t,n,r),!0}}if(t.pos=e,this.regexp_eatLoneUnicodePropertyNameOrValue(t)){var i=t.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(t,i),!0}return!1},fc.regexp_validateUnicodePropertyNameAndValue=function(t,e,n){wh(t.unicodeProperties.nonBinary,e)||t.raise("Invalid property name"),t.unicodeProperties.nonBinary[e].test(n)||t.raise("Invalid property value")},fc.regexp_validateUnicodePropertyNameOrValue=function(t,e){t.unicodeProperties.binary.test(e)||t.raise("Invalid property name")},fc.regexp_eatUnicodePropertyName=function(t){var e=0;for(t.lastStringValue="";xc(e=t.current());)t.lastStringValue+=gc(e),t.advance();return""!==t.lastStringValue},fc.regexp_eatUnicodePropertyValue=function(t){var e=0;for(t.lastStringValue="";_c(e=t.current());)t.lastStringValue+=gc(e),t.advance();return""!==t.lastStringValue},fc.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)},fc.regexp_eatCharacterClass=function(t){if(t.eat(91)){if(t.eat(94),this.regexp_classRanges(t),t.eat(93))return!0;t.raise("Unterminated character class")}return!1},fc.regexp_classRanges=function(t){for(;this.regexp_eatClassAtom(t);){var e=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var n=t.lastIntValue;!t.switchU||-1!==e&&-1!==n||t.raise("Invalid character class"),-1!==e&&-1!==n&&e>n&&t.raise("Range out of order in character class")}}},fc.regexp_eatClassAtom=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var n=t.current();(99===n||Sc(n))&&t.raise("Invalid class escape"),t.raise("Invalid escape")}t.pos=e}var r=t.current();return 93!==r&&(t.lastIntValue=r,t.advance(),!0)},fc.regexp_eatClassEscape=function(t){var e=t.pos;if(t.eat(98))return t.lastIntValue=8,!0;if(t.switchU&&t.eat(45))return t.lastIntValue=45,!0;if(!t.switchU&&t.eat(99)){if(this.regexp_eatClassControlLetter(t))return!0;t.pos=e}return this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)},fc.regexp_eatClassControlLetter=function(t){var e=t.current();return!(!Ec(e)&&95!==e)&&(t.lastIntValue=e%32,t.advance(),!0)},fc.regexp_eatHexEscapeSequence=function(t){var e=t.pos;if(t.eat(120)){if(this.regexp_eatFixedHexDigits(t,2))return!0;t.switchU&&t.raise("Invalid escape"),t.pos=e}return!1},fc.regexp_eatDecimalDigits=function(t){var e=t.pos,n=0;for(t.lastIntValue=0;Ec(n=t.current());)t.lastIntValue=10*t.lastIntValue+(n-48),t.advance();return t.pos!==e},fc.regexp_eatHexDigits=function(t){var e=t.pos,n=0;for(t.lastIntValue=0;bc(n=t.current());)t.lastIntValue=16*t.lastIntValue+Ac(n),t.advance();return t.pos!==e},fc.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var e=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var n=t.lastIntValue;e<=3&&this.regexp_eatOctalDigit(t)?t.lastIntValue=64*e+8*n+t.lastIntValue:t.lastIntValue=8*e+n}else t.lastIntValue=e;return!0}return!1},fc.regexp_eatOctalDigit=function(t){var e=t.current();return Sc(e)?(t.lastIntValue=e-48,t.advance(),!0):(t.lastIntValue=0,!1)},fc.regexp_eatFixedHexDigits=function(t,e){var n=t.pos;t.lastIntValue=0;for(var r=0;r<e;++r){var i=t.current();if(!bc(i))return t.pos=n,!1;t.lastIntValue=16*t.lastIntValue+Ac(i),t.advance()}return!0};var wc=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Ch(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},Ic=Bh.prototype;function Pc(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}Ic.next=function(){this.options.onToken&&this.options.onToken(new wc(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ic.getToken=function(){return this.next(),new wc(this)},"undefined"!=typeof Symbol&&(Ic[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===gh.eof,value:e}}}}),Ic.curContext=function(){return this.context[this.context.length-1]},Ic.nextToken=function(){var t=this.curContext();return t&&t.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(gh.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},Ic.readToken=function(t){return uh(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},Ic.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);return t<=55295||t>=57344?t:(t<<10)+this.input.charCodeAt(this.pos+1)-56613888},Ic.skipBlockComment=function(){var t,e=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(yh.lastIndex=n;(t=yh.exec(this.input))&&t.index<this.pos;)++this.curLine,this.lineStart=t.index+t[0].length;this.options.onComment&&this.options.onComment(!0,this.input.slice(n+2,r),n,this.pos,e,this.curPosition())},Ic.skipLineComment=function(t){for(var e=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=t);this.pos<this.input.length&&!xh(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(e+t,this.pos),e,this.pos,n,this.curPosition())},Ic.skipSpace=function(){t:for(;this.pos<this.input.length;){var t=this.input.charCodeAt(this.pos);switch(t){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break t}break;default:if(!(t>8&&t<14||t>=5760&&_h.test(String.fromCharCode(t))))break t;++this.pos}}},Ic.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=t,this.value=e,this.updateContext(n)},Ic.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(gh.ellipsis)):(++this.pos,this.finishToken(gh.dot))},Ic.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(gh.assign,2):this.finishOp(gh.slash,1)},Ic.readToken_mult_modulo_exp=function(t){var e=this.input.charCodeAt(this.pos+1),n=1,r=42===t?gh.star:gh.modulo;return this.options.ecmaVersion>=7&&42===t&&42===e&&(++n,r=gh.starstar,e=this.input.charCodeAt(this.pos+2)),61===e?this.finishOp(gh.assign,n+1):this.finishOp(r,n)},Ic.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?this.finishOp(124===t?gh.logicalOR:gh.logicalAND,2):61===e?this.finishOp(gh.assign,2):this.finishOp(124===t?gh.bitwiseOR:gh.bitwiseAND,1)},Ic.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(gh.assign,2):this.finishOp(gh.bitwiseXOR,1)},Ic.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?45!==e||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!vh.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(gh.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===e?this.finishOp(gh.assign,2):this.finishOp(gh.plusMin,1)},Ic.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),n=1;return e===t?(n=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(gh.assign,n+1):this.finishOp(gh.bitShift,n)):33!==e||60!==t||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===e&&(n=2),this.finishOp(gh.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Ic.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(gh.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(gh.arrow)):this.finishOp(61===t?gh.eq:gh.prefix,1)},Ic.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(gh.parenL);case 41:return++this.pos,this.finishToken(gh.parenR);case 59:return++this.pos,this.finishToken(gh.semi);case 44:return++this.pos,this.finishToken(gh.comma);case 91:return++this.pos,this.finishToken(gh.bracketL);case 93:return++this.pos,this.finishToken(gh.bracketR);case 123:return++this.pos,this.finishToken(gh.braceL);case 125:return++this.pos,this.finishToken(gh.braceR);case 58:return++this.pos,this.finishToken(gh.colon);case 63:return++this.pos,this.finishToken(gh.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(gh.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(120===e||88===e)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===e||79===e)return this.readRadixNumber(8);if(98===e||66===e)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 126:return this.finishOp(gh.prefix,1)}this.raise(this.pos,"Unexpected character '"+Pc(t)+"'")},Ic.finishOp=function(t,e){var n=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,n)},Ic.readRegexp=function(){for(var t,e,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(vh.test(r)&&this.raise(n,"Unterminated regular expression"),t)t=!1;else{if("["===r)e=!0;else if("]"===r&&e)e=!1;else if("/"===r&&!e)break;t="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var s=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(s);var a=this.regexpState||(this.regexpState=new mc(this));a.reset(n,i,o),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var u=null;try{u=new RegExp(i,o)}catch(t){}return this.finishToken(gh.regexp,{pattern:i,flags:o,value:u})},Ic.readInt=function(t,e){for(var n=this.pos,r=0,i=0,s=null==e?1/0:e;i<s;++i){var o=this.input.charCodeAt(this.pos),a=void 0;if((a=o>=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=t)break;++this.pos,r=r*t+a}return this.pos===n||null!=e&&this.pos-n!==e?null:r},Ic.readRadixNumber=function(t){this.pos+=2;var e=this.readInt(t);return null==e&&this.raise(this.start+2,"Expected number in radix "+t),uh(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(gh.num,e)},Ic.readNumber=function(t){var e=this.pos;t||null!==this.readInt(10)||this.raise(e,"Invalid number");var n=this.pos-e>=2&&48===this.input.charCodeAt(e);n&&this.strict&&this.raise(e,"Invalid number"),n&&/[89]/.test(this.input.slice(e,this.pos))&&(n=!1);var r=this.input.charCodeAt(this.pos);46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(e,"Invalid number")),uh(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i=this.input.slice(e,this.pos),s=n?parseInt(i,8):parseFloat(i);return this.finishToken(gh.num,s)},Ic.readCodePoint=function(){var t;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var e=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(e,"Code point out of bounds")}else t=this.readHexChar(4);return t},Ic.readString=function(t){for(var e="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===t)break;92===r?(e+=this.input.slice(n,this.pos),e+=this.readEscapedChar(!1),n=this.pos):(xh(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(n,this.pos++),this.finishToken(gh.string,e)};var kc={};Ic.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(t){if(t!==kc)throw t;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Ic.invalidStringToken=function(t,e){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw kc;this.raise(t,e)},Ic.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==gh.template&&this.type!==gh.invalidTemplate?(t+=this.input.slice(e,this.pos),this.finishToken(gh.template,t)):36===n?(this.pos+=2,this.finishToken(gh.dollarBraceL)):(++this.pos,this.finishToken(gh.backQuote));if(92===n)t+=this.input.slice(e,this.pos),t+=this.readEscapedChar(!0),e=this.pos;else if(xh(n)){switch(t+=this.input.slice(e,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos}else++this.pos}},Ic.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(gh.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Ic.readEscapedChar=function(t){var e=this.input.charCodeAt(++this.pos);switch(++this.pos,e){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Pc(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:if(e>=48&&e<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(n,8);return r>255&&(n=n.slice(0,-1),r=parseInt(n,8)),this.pos+=n.length-1,e=this.input.charCodeAt(this.pos),"0"===n&&56!==e&&57!==e||!this.strict&&!t||this.invalidStringToken(this.pos-1-n.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}return xh(e)?"":String.fromCharCode(e)}},Ic.readHexChar=function(t){var e=this.pos,n=this.readInt(16,t);return null===n&&this.invalidStringToken(e,"Bad character escape sequence"),n},Ic.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(hh(i,r))this.pos+=i<=65535?1:2;else{if(92!==i)break;this.containsEsc=!0,t+=this.input.slice(n,this.pos);var s=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(e?uh:hh)(o,r)||this.invalidStringToken(s,"Invalid Unicode escape"),t+=Pc(o),n=this.pos}e=!1}return t+this.input.slice(n,this.pos)},Ic.readWord=function(){var t=this.readWord1(),e=gh.name;return this.keywords.test(t)&&(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+t),e=fh[t]),this.finishToken(e,t)};var Cc=function(t){return t&&t.default||t}(Object.freeze({version:"6.1.1",parse:function(t,e){return Bh.parse(t,e)},parseExpressionAt:function(t,e,n){return Bh.parseExpressionAt(t,e,n)},tokenizer:function(t,e){return Bh.tokenizer(t,e)},Parser:Bh,defaultOptions:Rh,Position:kh,SourceLocation:Ch,getLineInfo:Nh,Node:ec,TokenType:ch,tokTypes:gh,keywordTypes:fh,TokContext:ic,tokContexts:sc,isIdentifierChar:hh,isIdentifierStart:uh,Token:wc,isNewLine:xh,lineBreak:vh,lineBreakG:yh,nonASCIIwhitespace:_h}));const Nc=Cc.tokTypes,Rc=Cc.isIdentifierStart;var Oc=function(t){return class extends t{parseLiteral(t){const e=super.parseLiteral(t);return 110==e.raw.charCodeAt(e.raw.length-1)&&(e.bigint=this.getNumberInput(e.start,e.end)),e}readRadixNumber(t){let e=this.pos;this.pos+=2;let n=this.readInt(t);if(null===n&&this.raise(this.start+2,`Expected number in radix ${t}`),110==this.input.charCodeAt(this.pos)){let t=this.getNumberInput(e,this.pos);n="undefined"!=typeof BigInt?BigInt(t):null,++this.pos}else Rc(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");return this.finishToken(Nc.num,n)}readNumber(t){let e=this.pos;if(t)return super.readNumber(t);if(48===this.input.charCodeAt(e)&&110!==this.input.charCodeAt(e+1))return super.readNumber(t);if(null===this.readInt(10)&&this.raise(e,"Invalid number"),110!=this.input.charCodeAt(this.pos))return this.pos=e,super.readNumber(t);let n=this.getNumberInput(e,this.pos),r="undefined"!=typeof BigInt?BigInt(n):null;return++this.pos,this.finishToken(Nc.num,r)}getNumberInput(t,e){return super.getNumberInput?super.getNumberInput(t,e):this.input.slice(t,e)}}};const Mc="Import";function Tc(t){return class extends t{parseStatement(t,e,n){return this.type===gh._import&&function(){return/^(\s|\/\/.*|\/\*[^]*?\*\/)*\(/.test(this.input.slice(this.pos))}.call(this)?this.parseExpressionStatement(this.startNode(),this.parseExpression()):super.parseStatement(t,e,n)}parseExprAtom(t){return this.type===gh._import?function(){const t=this.startNode();return this.next(),this.type!==gh.parenL&&this.unexpected(),this.finishNode(t,Mc)}.call(this):super.parseExprAtom(t)}}}gh._import.startsExpr=!0;const Lc=Cc.tokTypes,Dc=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Vc=t=>{Dc.lastIndex=t.pos;let e=Dc.exec(t.input),n=t.pos+e[0].length;return"."===t.input.slice(n,n+1)};var Bc=function(t){return class extends t{parseExprAtom(t){if(this.type!==Lc._import||!Vc(this))return super.parseExprAtom(t);this.options.allowImportExportEverywhere||this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'");let e=this.startNode();return e.meta=this.parseIdent(!0),this.expect(Lc.dot),e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is import.meta"),this.containsEsc&&this.raiseRecoverable(e.property.start,'"meta" in import.meta must not contain escape sequences'),this.finishNode(e,"MetaProperty")}parseStatement(t,e,n){if(this.type!==Lc._import||!Vc(this))return super.parseStatement(t,e,n);let r=this.startNode(),i=this.parseExpression();return this.parseExpressionStatement(r,i)}}},zc=function(t){function e(){return t.call(this,"undefined")||this}return n(e,t),e.prototype.getLiteralValueAtPath=function(){},e}(jt),jc=function(t){function e(){var e=t.call(this)||this;return e.variables.undefined=new zc,e}return n(e,t),e.prototype.findVariable=function(t){return this.variables[t]?this.variables[t]:this.variables[t]=new $t(t)},e}(tn),Wc=function(){return{paths:Object.create(null),tracked:!1,unknownPath:null}},Uc=function(){function t(){this.entityPaths=new Map}return t.prototype.track=function(t,e){var n=this.entityPaths.get(t);n||(n=Wc(),this.entityPaths.set(t,n));for(var r,i=0;i<e.length;){var s=e[i];"string"==typeof s?(r=n.paths[s])||(r=Wc(),n.paths[s]=r):(r=n.unknownPath)||(r=Wc(),n.unknownPath=r),n=r,i++}var o=n.tracked;return n.tracked=!0,o},t}();function Fc(t,e,n){return{emitAsset:function(r,i){var s;"string"==typeof r&&ya(r)||Ie({code:"INVALID_ASSET_NAME",message:"Plugin error creating asset, name is not a plain (non relative or absolute URL) string name."});do{var o=M();s?o.update(s):o.update(r),s=o.digest("hex").substr(0,8)}while(t.has(s));var a={name:r,source:i,fileName:void 0};return e&&void 0!==i&&qc(a,e,n),t.set(s,a),s},setAssetSource:function(r,i){var s=t.get(r);s||Ie({code:"ASSET_NOT_FOUND",message:"Plugin error - Unable to set asset source for unknown asset "+r+"."}),void 0!==s.source&&Ie({code:"ASSET_SOURCE_ALREADY_SET",message:"Plugin error - Unable to set asset source for "+s.name+", source already set."}),"string"==typeof i||i||Ie({code:"ASSET_SOURCE_MISSING",message:"Plugin error creating asset "+name+", setAssetSource call without a source."}),s.source=i,e&&qc(s,e,n)},getAssetFileName:function(e){var n=t.get(e);return n||Ie({code:"ASSET_NOT_FOUND",message:"Plugin error - Unable to get asset filename for unknown asset "+e+"."}),void 0===n.fileName&&Ie({code:"ASSET_NOT_FINALISED",message:"Plugin error - Unable to get asset file name for asset "+e+". Ensure that the source is set and that generate is called first."}),n.fileName}}}function qc(t,e,n){var r=function(t,e,n){return void 0===t.source&&Ie({code:"ASSET_SOURCE_NOT_FOUND",message:"Plugin error creating asset "+t.name+" - no asset source set."}),t.fileName?t.fileName:Ku(Hu(n,"assetFileNames",function(e){switch(e){case"hash":var n=M();return n.update(e),n.update(":"),n.update(t.source),n.digest("hex").substr(0,8);case"name":return t.name.substr(0,t.name.length-de(t.name).length);case"extname":return de(t.name);case"ext":return de(t.name).substr(1)}}),e)}(t,e,n);t.fileName=r,e[r]={fileName:r,isAsset:!0,source:t.source}}var Gc=97,Hc=48;function Kc(t){return t<10?String.fromCharCode(Hc+t):String.fromCharCode(Gc+(t-10))}function Yc(t){for(var e="",n=0;n<t.length;n++){var r=t[n];e+=Kc(r>>4),e+=Kc(15&r)}return e}function Xc(t){for(var e=new Uint8Array(t),n=0;n<e.length;n++)e[n]=512*Math.random();return e}var Qc=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];throw new Error("Cannot use fs."+t+" inside browser")}},$c=Qc("lstatSync"),Jc=Qc("readdirSync"),Zc=Qc("readFileSync"),tp=Qc("realpathSync"),ep=Qc("writeFile");function np(t){return{name:"Rollup Core",resolveId:ip(t),load:function(t){return Zc(t,"utf-8")},resolveDynamicImport:function(t,e){if("string"==typeof t&&!this.isExternal(t,e,!1))return this.resolveId(t,e)}}}function rp(t,e){try{var n=$c(t);if(!e&&n.isSymbolicLink())return rp(tp(t),e);if(e&&n.isSymbolicLink()||n.isFile()){var r=pe(t);if(-1!==Jc(le(t)).indexOf(r))return t}}catch(t){}}function ip(t){return function(e,n){return"undefined"==typeof process&&Ie({code:"MISSING_PROCESS",message:"It looks like you're using Rollup in a non-Node.js environment. This means you must supply a plugin with custom resolveId and load functions",url:"https://rollupjs.org/guide/en#a-simple-example"}),void 0===n||ue(e)||"."===e[0]?(r=me(n?le(n):me(),e),i=t.preserveSymlinks,(s=rp(r,i))||((s=rp(r+".mjs",i))?s:s=rp(r+".js",i))):null;var r,i,s}}var sp={ongenerate:"generateBundle",onwrite:"generateBundle",transformBundle:"renderChunk",transformChunk:"renderChunk"};function op(t,e,n,r){var o=(e.plugins||[]).concat([np(e)]),a=Fc(t.assetsById),u=a.emitAsset,h=a.getAssetFileName,c=a.setAssetSource,p={},l=!1,d=o.map(function(e,o){var a,d,f=!0;if("string"!=typeof e.cacheKey&&("string"!=typeof e.name||p[e.name]?f=!1:p[e.name]=!0),!l&&(e.load||e.transform||e.transformBundle||e.transformChunk)&&(l=!0),n)if(f){var m=e.cacheKey||e.name;d=n[m]||(n[m]=Object.create(null)),a={has:function(t){var e=d[t];return!!e&&(e[0]=0,!0)},get:function(t){var e=d[t];if(e)return e[0]=0,e[1]},set:function(t,e){d[t]=[0,e]},delete:function(t){return delete d[t]}}}else a=hp(e.name);else a=ap;var v=!1;function y(t,e){return v||(x.warn({code:"PLUGIN_WATCHER_DEPRECATED",message:"this.watcher usage is deprecated in plugins. Use the watchChange plugin hook and this.addWatchFile() instead."}),v=!0),r.on(t,e)}var x={addWatchFile:function(e){t.finished&&this.error("addWatchFile can only be called during the build."),t.watchFiles[e]=!0},cache:a,emitAsset:u,error:function(t){"string"==typeof t&&(t={message:t}),t.code&&(t.pluginCode=t.code),t.code="PLUGIN_ERROR",t.plugin=e.name||"Plugin at position "+(o+1),Ie(t)},isExternal:function(e,n,r){return void 0===r&&(r=!1),t.isExternal(e,n,r)},getAssetFileName:h,getModuleInfo:function(e){var n=t.moduleById.get(e);if(null==n)throw new Error("Unable to find module "+e);return{id:n.id,importedIds:n.isExternal?[]:n.sources.map(function(t){return n.resolvedIds[t].id}),isExternal:!!n.isExternal}},meta:{rollupVersion:s},moduleIds:t.moduleById.keys(),parse:t.contextParse,resolveId:function(t,e){return g.hookFirst("resolveId",[t,e])},setAssetSource:c,warn:function(n){"string"==typeof n&&(n={message:n}),n.code&&(n.pluginCode=n.code),n.code="PLUGIN_WARNING",n.plugin=e.name||"Plugin at position "+(o+1),t.warn(n)},watcher:r?i({},r,{addListener:y,on:y}):void 0};return x});function f(t,e,n,r,i){void 0===r&&(r=!1);var s=o[n],a=d[n],u=s[t];if(u){var h=sp[t];if(h&&a.warn(cp(t,h,s,n)),i&&(!(a=i(a,s))||a===d[n]))throw new Error("Internal Rollup error: hookContext must return a new context object.");try{if("function"!=typeof u){if(r)return u;Ie({code:"INVALID_PLUGIN_HOOK",message:"Error running plugin hook "+t+" for "+(s.name||"Plugin at position "+(n+1))+", expected a function hook."})}return u.apply(a,e)}catch(e){"string"==typeof e&&(e={message:e}),"PLUGIN_ERROR"!==e.code&&(e.code&&(e.pluginCode=e.code),e.code="PLUGIN_ERROR"),e.plugin=s.name||"Plugin at position "+(n+1),e.hook=t,Ie(e)}}}function m(t,e,n,r,i){void 0===r&&(r=!1);var s=o[n],a=d[n],u=s[t];if(u){var h=sp[t];if(h&&a.warn(cp(t,h,s,n)),i&&(!(a=i(a,s))||a===d[n]))throw new Error("Internal Rollup error: hookContext must return a new context object.");return Promise.resolve().then(function(){if("function"!=typeof u){if(r)return u;Ie({code:"INVALID_PLUGIN_HOOK",message:"Error running plugin hook "+t+" for "+(s.name||"Plugin at position "+(n+1))+", expected a function hook."})}return u.apply(a,e)}).catch(function(e){"string"==typeof e&&(e={message:e}),"PLUGIN_ERROR"!==e.code&&(e.code&&(e.pluginCode=e.code),e.code="PLUGIN_ERROR"),e.plugin=s.name||"Plugin at position "+(n+1),e.hook=t,Ie(e)})}}var g={emitAsset:u,getAssetFileName:h,hasLoadersOrTransforms:l,hookSeq:function(t,e,n){for(var r=Promise.resolve(),i=function(i){r=r.then(function(){return m(t,e,i,!1,n)})},s=0;s<o.length;s++)i(s);return r},hookSeqSync:function(t,e,n){for(var r=0;r<o.length;r++)f(t,e,r,!1,n)},hookFirst:function(t,e,n){for(var r=Promise.resolve(),i=function(i){r=r.then(function(r){return null!=r?r:m(t,e,i,!1,n)})},s=0;s<o.length;s++)i(s);return r},hookParallel:function(t,e,n){for(var r=[],i=0;i<o.length;i++){var s=m(t,e,i,!1,n);s&&r.push(s)}return Promise.all(r).then(function(){})},hookReduceArg0:function(t,e,n,r){for(var i=e[0],s=e.slice(1),a=Promise.resolve(i),u=function(e){a=a.then(function(i){var a=m(t,[i].concat(s),e,!1,r);return a?a.then(function(t){return n.call(d[e],i,t,o[e])}):i})},h=0;h<o.length;h++)u(h);return a},hookReduceArg0Sync:function(t,e,n,r){for(var i=e[0],s=e.slice(1),a=0;a<o.length;a++){var u=f(t,[i].concat(s),a,!1,r);i=n.call(d[a],i,u,o[a])}return i},hookReduceValue:function(t,e,n,r,i){for(var s=Promise.resolve(e),a=function(e){s=s.then(function(s){var a=m(t,n,e,!0,i);return a?a.then(function(t){return r.call(d[e],s,t,o[e])}):s})},u=0;u<o.length;u++)a(u);return s}};return g}var ap={has:function(){return!1},get:function(){},set:function(){},delete:function(){return!1}};function up(t){Ie(t?{code:"DUPLICATE_PLUGIN_NAME",message:"The plugin name "+t+" is being used twice in the same build. Plugin names must be distinct or provide a cacheKey (please post an issue to the plugin if you are a plugin user)."}:{code:"ANONYMOUS_PLUGIN_CACHE",message:"A plugin is trying to use the Rollup cache but is not declaring a plugin name or cacheKey."})}var hp=function(t){return{has:function(){return up(t),!1},get:function(){up(t)},set:function(){up(t)},delete:function(){return up(t),!1}}};function cp(t,e,n,r){return{code:t.toUpperCase()+"_HOOK_DEPRECATED",message:"The "+t+" hook used by plugin "+(n.name||"at position "+(r+1))+" is deprecated. The "+e+" hook should be used instead."}}function pp(t,e){return he(e)?me(t,"..",e):e}var lp=function(){function t(t,e){var n,r=this;if(this.assetsById=new Map,this.curChunkIndex=0,this.finished=!1,this.moduleById=new Map,this.needsTreeshakingPass=!1,this.watchFiles=Object.create(null),this.externalModules=[],this.modules=[],this.curChunkIndex=0,this.deoptimizationTracker=new Uc,this.cachedModules=new Map,t.cache&&t.cache.modules)for(var s=0,o=t.cache.modules;s<o.length;s++){var a=o[s];this.cachedModules.set(a.id,a)}if(!1!==t.cache)for(var u in this.pluginCache=t.cache&&t.cache.plugins||Object.create(null),this.pluginCache)for(var h=this.pluginCache[u],c=0,p=Object.keys(h);c<p.length;c++){h[_=p[c]][0]++}if(this.preserveModules=t.preserveModules,this.cacheExpiry=t.experimentalCacheExpiry,!t.input)throw new Error("You must supply options.input to rollup");if(this.treeshake=!1!==t.treeshake,this.treeshake)if(this.treeshakingOptions=t.treeshake?{annotations:!1!==t.treeshake.annotations,propertyReadSideEffects:!1!==t.treeshake.propertyReadSideEffects,pureExternalModules:t.treeshake.pureExternalModules}:{propertyReadSideEffects:!0,annotations:!0,pureExternalModules:!1},!0===this.treeshakingOptions.pureExternalModules)this.isPureExternalModule=function(){return!0};else if("function"==typeof this.treeshakingOptions.pureExternalModules)this.isPureExternalModule=this.treeshakingOptions.pureExternalModules;else if(Array.isArray(this.treeshakingOptions.pureExternalModules)){var l=new Set(this.treeshakingOptions.pureExternalModules);this.isPureExternalModule=function(t){return l.has(t)}}else this.isPureExternalModule=function(){return!1};else this.isPureExternalModule=function(){return!1};if(this.contextParse=function(t,e){return void 0===e&&(e={}),r.acornParser.parse(t,i({},Pu,e,r.acornOptions))},this.pluginDriver=op(this,t,this.pluginCache,e),e){var d=function(t){return r.pluginDriver.hookSeqSync("watchChange",[t])};e.on("change",d),e.once("restart",function(){e.removeListener("change",d)})}if("function"==typeof t.external){var f=t.external;this.isExternal=function(t,e,n){return!t.startsWith("\0")&&f(t,e,n)}}else{var m=t.external,g=new Set(Array.isArray(m)?m:m?[m]:[]);this.isExternal=function(t){return g.has(t)}}this.shimMissingExports=t.shimMissingExports,this.scope=new jc,this.context=String(t.context);var v,y=t.moduleContext;if("function"==typeof y)this.getModuleContext=function(t){return y(t)||r.context};else if("object"==typeof y){var x=new Map;for(var _ in y)x.set(me(_),y[_]);this.getModuleContext=function(t){return x.get(t)||r.context}}else this.getModuleContext=function(){return r.context};this.onwarn=t.onwarn||(v=Object.create(null),function(t){var e=t.toString();e in v||(console.error(e),v[e]=!0)}),this.acornOptions=t.acorn||{};var E=[];E.push(Tc),E.push(Bc),E.push(Oc),t.experimentalTopLevelAwait&&(this.acornOptions.allowAwaitOutsideFunction=!0);var b=t.acornInjectPlugins;E.push.apply(E,Array.isArray(b)?b:b?[b]:[]),this.acornParser=(n=Bh).extend.apply(n,E)}return t.prototype.build=function(t,e,n){var r=this;return bu("parse modules",2),this.loadEntryModules(t,e).then(function(t){var e=t.entryModules,i=t.entryModuleAliases,s=t.manualChunkModules;Au("parse modules",2),bu("analyse dependency graph",2);for(var o=0;o<e.length;o++){var a=e[o],u=e.indexOf(a,o+1);-1!==u&&Ie({code:"DUPLICATE_ENTRY_POINTS",message:"Duplicate entry points detected. The input entries "+i[o]+" and "+i[u]+" both point to the same module, "+a.id})}if(r.link(e),Au("analyse dependency graph",2),bu("mark included statements",2),n&&e.length>1)throw new Error("Internal Error: can only inline dynamic imports for single-file builds.");for(var h=0,c=e;h<c.length;h++){(a=c[h]).includeAllExports()}r.includeMarked(r.modules);for(var p=0,l=r.externalModules;p<l.length;p++){l[p].warnUnusedImports()}if(Au("mark included statements",2),bu("generate chunks",2),r.preserveModules||n||function(t,e){var n,r,i,s,o,a,u={},h=[],c=function(t){s.chunkAlias?(t.chunkAlias=s.chunkAlias,t.entryPointsHash=o):function(t,e){for(var n=0;n<t.length;n++)t[n]=t[n]^e[n]}(t.entryPointsHash,o);for(var e=0,n=t.dependencies;e<n.length;e++){var r=n[e];r instanceof ge||r.id in a||(a[r.id]=!0,u[r.id]||r.chunkAlias||c(r))}for(var i=0,p=t.dynamicImports;i<p.length;i++){var l=p[i].resolution;l instanceof Ru&&l.dynamicallyImportedBy.length>0&&!l.chunkAlias&&h.push(l)}};if(e)for(var p=0,l=Object.keys(e);p<l.length;p++){var d=l[p];o=Xc(10);for(var f=0,m=e[d];f<m.length;f++)(s=m[f]).chunkAlias&&Ie({code:"INVALID_CHUNK",message:"Cannot assign "+fe(process.cwd(),s.id)+' to the "'+d+'" chunk as it is already in the "'+s.chunkAlias+'" chunk.\nTry defining "'+d+'" first in the manualChunks definitions of the Rollup configuration.'}),s.chunkAlias=d,(n={})[s.id]=!0,a=n,c(s)}for(var g=0,v=t;g<v.length;g++)s=v[g],u[s.id]=!0,o=Xc(10),(r={})[s.id]=null,a=r,c(s);for(var y=0,x=h;y<x.length;y++)s=x[y],u[s.id]||(u[s.id]=!0,o=Xc(10),(i={})[s.id]=null,a=i,c(s))}(e,s),i)for(o=e.length-1;o>=0;o--)e[o].chunkAlias=i[o];var d=[];if(r.preserveModules)for(var f=0,m=r.modules;f<m.length;f++){var g=m[f],v=new Qu(r,[g]);!g.isEntryPoint&&v.isEmpty||(v.entryModules=[g]),d.push(v)}else{for(var y={},x=0,_=r.modules;x<_.length;x++){var E=Yc((g=_[x]).entryPointsHash),b=y[E];b?b.push(g):y[E]=[g]}for(var A in y){var S=y[A];Fu(S);v=new Qu(r,S);d.push(v)}}for(var w=0,I=d;w<I.length;w++){(v=I[w]).link()}for(var P=0,k=d=d.filter(function(t){return!t.isEmpty||t.entryModules.length>0||t.isManualChunk});P<k.length;P++){v=k[P];(r.preserveModules||v.entryModules.length>0)&&v.generateEntryExportsOrMarkAsTainted()}var C=[];if(!r.preserveModules)for(var N=0,R=d;N<R.length;N++)for(var O=0,M=(v=R[N]).entryModules;O<M.length;O++){a=M[O];if(v.facadeModule!==a){var T=new Qu(r,[]);T.turnIntoFacade(a),C.push(T)}}return Au("generate chunks",2),r.finished=!0,d.concat(C)})},t.prototype.finaliseAssets=function(t){var e=Object.create(null);return this.assetsById.forEach(function(n){void 0!==n.source&&qc(n,e,t)}),e},t.prototype.getCache=function(){for(var t in this.pluginCache){for(var e=this.pluginCache[t],n=!0,r=0,i=Object.keys(e);r<i.length;r++){var s=i[r];e[s][0]>=this.cacheExpiry?delete e[s]:n=!1}n&&delete this.pluginCache[t]}return{modules:this.modules.map(function(t){return t.toJSON()}),plugins:this.pluginCache}},t.prototype.includeMarked=function(t){if(this.treeshake){var e=1;do{bu("treeshaking pass "+e,3),this.needsTreeshakingPass=!1;for(var n=0,r=t;n<r.length;n++){(o=r[n]).isExecuted&&o.include()}Au("treeshaking pass "+e++,3)}while(this.needsTreeshakingPass)}else for(var i=0,s=t;i<s.length;i++){var o;(o=s[i]).includeAllInBundle()}},t.prototype.warn=function(t){t.toString=function(){var e="";return t.plugin&&(e+="("+t.plugin+" plugin) "),t.loc&&(e+=va(t.loc.file)+" ("+t.loc.line+":"+t.loc.column+") "),e+=t.message},this.onwarn(t)},t.prototype.fetchAllDependencies=function(t){var e=this,n=Promise.all(t.getDynamicImportExpressions().map(function(n,r){return e.pluginDriver.hookFirst("resolveDynamicImport",[n,t.id]).then(function(i){if(i){var s=t.dynamicImports[r];if(s.alias=ga(i,"string"==typeof n?n:void 0),"string"!=typeof n)s.resolution=i;else{if(!e.isExternal(i,t.id,!0))return e.fetchModule(i,t.id).then(function(t){s.resolution=t});var o=void 0;e.moduleById.has(i)?o=e.moduleById.get(i):(o=new ge({graph:e,id:i}),e.externalModules.push(o),e.moduleById.set(i,t)),s.resolution=o,o.exportsNamespace=!0}}})}));return n.catch(function(){}),Promise.all(t.sources.map(function(n){return e.resolveAndFetchDependency(t,n)})).then(function(){return n})},t.prototype.fetchModule=function(t,e){var n=this,r=this.moduleById.get(t);if(r){if(r.isExternal)throw new Error("Cannot fetch external module "+t);return Promise.resolve(r)}var s=new Ru(this,t);return this.moduleById.set(t,s),this.watchFiles[t]=!0,bu("load modules",3),Promise.resolve(this.pluginDriver.hookFirst("load",[t])).catch(function(n){Au("load modules",3);var r="Could not load "+t;throw e&&(r+=" (imported by "+e+")"),r+=": "+n.message,new Error(r)}).then(function(e){return Au("load modules",3),"string"==typeof e?e:e&&"object"==typeof e&&"string"==typeof e.code?e:void Ie({code:"BAD_LOADER",message:"Error loading "+va(t)+": plugin load hook should return a string, a { code, map } object, or nothing/null"})}).then(function(e){var r="string"==typeof e?{ast:null,code:e}:e,o=n.cachedModules.get(t);if(o&&!o.customTransformCache&&o.originalCode===r.code){if(o.transformAssets)for(var a=0,u=o.transformAssets;a<u.length;a++){var h=u[a];n.pluginDriver.emitAsset(h.name,h.source)}return o}return function(t,e,n){var r=n.id,s=[],o="string"==typeof e.map?JSON.parse(e.map):e.map;o&&"string"==typeof o.mappings&&(o.mappings=V(o.mappings));var a,u,h,c,p,l=t.pluginDriver.emitAsset,d=e.code,f=e.ast,m=!1,g=e.code;return t.pluginDriver.hookReduceArg0("transform",[g,r],function(e,i,o){if(!m&&h.used&&(m=!0),m){if(i&&Array.isArray(i.dependencies))for(var p=0,l=i.dependencies;p<l.length;p++){var d=l[p],g=me(le(r),d);t.watchFiles[g]||(t.watchFiles[g]=!0)}}else if(u.length&&(n.transformAssets=u),i&&Array.isArray(i.dependencies)){c.warnedTransformDependencies||this.warn({code:"TRANSFORM_DEPENDENCIES_DEPRECATED",message:'Returning "dependencies" from plugin transform hook is deprecated for using this.addWatchFile() instead.'}),c.warnedTransformDependencies=!0,a||(a=[]);for(var v=0,y=i.dependencies;v<y.length;v++)d=y[v],a.push(me(le(r),d))}return null==i?e:("string"==typeof i?i={ast:void 0,code:i,map:void 0}:"string"==typeof i.map&&(i.map=JSON.parse(i.map)),i.map&&"string"==typeof i.map.mappings&&(i.map.mappings=V(i.map.mappings)),null!==i.map&&s.push(i.map||{missing:!0,plugin:o.name}),f=i.ast,i.code)},function(e,n){var s,o,d,f;return c=n,n.cacheKey?m=!0:(o=e.cache,(d={used:!1,cache:void 0}).cache={has:function(t){return d.used=!0,o.has(t)},get:function(t){return d.used=!0,o.get(t)},set:function(t,e){return d.used=!0,o.set(t,e)},delete:function(t){return d.used=!0,o.delete(t)}},h=d),s=function(t,e){var n=[];return{assets:n,emitAsset:function(r,i){var s=e(r,i),o=t.get(s);return n.push({fileName:void 0,name:o.name,source:o.source}),s}}}(t.assetsById,l),u=s.assets,f=s.emitAsset,i({},e,{cache:h?h.cache:e.cache,warn:function(t,n){"string"==typeof t&&(t={message:t}),n&&Pe(t,n,g,r),t.id=r,t.hook="transform",e.warn(t)},error:function(t,n){"string"==typeof t&&(t={message:t}),n&&Pe(t,n,g,r),t.id=r,t.hook="transform",e.error(t)},emitAsset:f,addWatchFile:function(t){a||(a=[]),a.push(t),e.addWatchFile(t)},setAssetSource:function(t,n){if(e.setAssetSource(t,n),!m&&!p)try{this.error({code:"INVALID_SETASSETSOURCE",message:"setAssetSource cannot be called in transform for caching reasons. Use emitAsset with a source, or call setAssetSource in another hook."})}catch(t){p=t}}})}).catch(function(t){"string"==typeof t&&(t={message:t}),"PLUGIN_ERROR"!==t.code&&(t.code&&(t.pluginCode=t.code),t.code="PLUGIN_ERROR"),t.id=r,Ie(t)}).then(function(t){if(!m&&p)throw p;return{ast:f,code:t,customTransformCache:m,originalCode:d,originalSourcemap:o,sourcemapChain:s,transformDependencies:a}})}(n,r,s)}).then(function(e){return s.setSource(e),n.modules.push(s),n.moduleById.set(t,s),n.fetchAllDependencies(s).then(function(){for(var t in s.exports)"default"!==t&&(s.exportsAll[t]=s.id);return s.exportAllSources.forEach(function(t){var e=s.resolvedIds[t].id,r=n.moduleById.get(e);if(!r.isExternal)for(var i in r.exportsAll)i in s.exportsAll?n.warn({code:"NAMESPACE_CONFLICT",message:"Conflicting namespaces: "+va(s.id)+" re-exports '"+i+"' from both "+va(s.exportsAll[i])+" and "+va(r.exportsAll[i])+" (will be ignored)",name:i,reexporter:s.id,sources:[s.exportsAll[i],r.exportsAll[i]]}):s.exportsAll[i]=r.exportsAll[i]}),s})})},t.prototype.link=function(t){for(var e=0,n=this.modules;e<n.length;e++){n[e].linkDependencies()}for(var r=function(t){for(var e=0,n=!0,r=[],i={},s=[],o=[],a={},u=function(t){if(!i[t.id]){if(t instanceof ge)return t.execIndex=e++,void(i[t.id]=!0);n&&(t.isExecuted=!0);for(var h=0,c=t.dependencies;h<c.length;h++){var p=c[h];p.id in a?i[p.id]||r.push(qu(p.id,t.id,a)):(a[p.id]=t.id,u(p))}for(var l=0,d=t.dynamicImports;l<d.length;l++){var f=d[l].resolution;f instanceof Ru&&-1===o.indexOf(f)&&o.push(f)}t.execIndex=e++,i[t.id]=!0,s.push(t)}},h=0,c=t;h<c.length;h++)(d=c[h]).isEntryPoint=!0,a[d.id]||(a[d.id]=null,u(d));n=!1;for(var p=0,l=o;p<l.length;p++){var d=l[p];a[d.id]||(a[d.id]=null,u(d))}return{orderedModules:s,cyclePaths:r}}(t),i=r.orderedModules,s=0,o=r.cyclePaths;s<o.length;s++){var a=o[s];this.warn({code:"CIRCULAR_DEPENDENCY",importer:a[0],message:"Circular dependency: "+a.join(" -> ")})}this.modules=i;for(var u=0,h=this.modules;u<h.length;u++){h[u].bindReferences()}this.warnForMissingExports()},t.prototype.loadEntryModules=function(t,e){var n,r,i=this,s=!1;"string"==typeof t&&(t=[t]),Array.isArray(t)?(s=!0,r=t.concat([]),n=t):(r=Object.keys(t),n=r.map(function(e){return t[e]}));var o=n.concat([]);return e&&Object.keys(e).forEach(function(t){e[t].forEach(function(t){-1===o.indexOf(t)&&o.push(t)})}),Promise.all(o.map(function(t){return i.loadModule(t)})).then(function(t){if(s)for(var i=0;i<r.length;i++)r[i]=ga(t[i].id,r[i]);var a,u=t.slice(0,n.length);if(e){a={};for(var h=0,c=Object.keys(e);h<c.length;h++){var p=c[h],l=e[p];a[p]=l.map(function(e){var n=o.indexOf(e);return t[n]})}}return{entryModules:u,entryModuleAliases:r,manualChunkModules:a}})},t.prototype.loadModule=function(t){var e=this;return this.pluginDriver.hookFirst("resolveId",[t,void 0]).then(function(n){return!1===n&&Ie({code:"UNRESOLVED_ENTRY",message:"Entry module cannot be external"}),null==n&&Ie({code:"UNRESOLVED_ENTRY",message:"Could not resolve entry ("+t+")"}),e.fetchModule(n,void 0)})},t.prototype.normalizeResolveIdResult=function(t,e,n){var r="",i=!1;return t?("object"==typeof t?(r=t.id,t.external&&(i=!0)):(r=t,this.isExternal(r,e.id,!0)&&(i=!0)),i&&(r=pp(e.id,r))):(r=pp(e.id,n),i=!0,!1===t||this.isExternal(r,e.id,!0)||(he(n)&&Ie({code:"UNRESOLVED_IMPORT",message:"Could not resolve '"+n+"' from "+va(e.id)}),this.warn({code:"UNRESOLVED_IMPORT",importer:va(e.id),message:"'"+n+"' is imported by "+va(e.id)+", but could not be resolved – treating it as an external dependency",source:n,url:"https://rollupjs.org/guide/en#warning-treating-module-as-external-dependency"}))),{id:r,external:i}},t.prototype.resolveAndFetchDependency=function(t,e){var n=this;return Promise.resolve(t.resolvedIds[e]||Promise.resolve(this.isExternal(e,t.id,!1)?{id:e,external:!0}:this.pluginDriver.hookFirst("resolveId",[e,t.id])).then(function(r){return n.normalizeResolveIdResult(r,t,e)})).then(function(r){if(t.resolvedIds[e]=r,!r.external)return n.fetchModule(r.id,t.id);if(!n.moduleById.has(r.id)){var i=new ge({graph:n,id:r.id});n.externalModules.push(i),n.moduleById.set(r.id,i)}n.moduleById.get(r.id)instanceof ge==!1&&Ie({code:"INVALID_EXTERNAL_ID",message:"'"+e+"' is imported as an external by "+va(t.id)+", but is already an existing non-external module id."})})},t.prototype.warnForMissingExports=function(){for(var t=0,e=this.modules;t<e.length;t++)for(var n=e[t],r=0,i=Object.keys(n.importDescriptions);r<i.length;r++){var s=i[r],o=n.importDescriptions[s];"*"===o.name||o.module.getVariableForExportName(o.name)||n.warn({code:"NON_EXISTENT_EXPORT",message:"Non-existent export '"+o.name+"' is imported from "+va(o.module.id),name:o.name,source:o.module.id},o.start)}},t}();function dp(t){switch(typeof t){case"function":return t();case"string":return t;default:return""}}var fp=function(t,e){return e?t+"\n"+e:t},mp=function(t,e){return e?t+"\n\n"+e:t};function gp(t,e){Ie({code:"INVALID_EXPORT_OPTION",message:"'"+t+"' was specified for output.exports, but entry module has following exports: "+e.join(", ")})}function vp(t,e){var n=e.exports,r=e.name,i=e.format,s=t.getExportNames();return"default"===n?1===s.length&&"default"===s[0]||gp("default",s):"none"===n&&s.length&&gp("none",s),n&&"auto"!==n||(0===s.length?n="none":1===s.length&&"default"===s[0]?n="default":(null!==t.facadeModule&&t.facadeModule.isEntryPoint&&"es"!==i&&-1!==s.indexOf("default")&&t.graph.warn({code:"MIXED_EXPORTS",message:"Using named and default exports together. Consumers of your bundle will have to use "+(r||"bundle")+"['default'] to access the default export, which may not be what you want. Use `output.exports: 'named'` to disable this warning",url:"https://rollupjs.org/guide/en#output-exports"}),n="named")),/(?:default|named|none)/.test(n)||Ie({code:"INVALID_EXPORT_OPTION",message:"output.exports must be 'default', 'named', 'none', 'auto', or left unspecified (defaults to 'auto')",url:"https://rollupjs.org/guide/en#output-exports"}),n}var yp=function(t,e){return function(n,r){return void 0!==e[n]?e[n]:void 0!==t[n]?t[n]:r}},xp=function(t){return t&&"object"!=typeof t?{}:t},_p=function(t,e,n){var r=xp(e[n]),s=xp(t[n]);return void 0!==r?r&&s?i({},s,r):r:s},Ep=function(t){"string"==typeof t?console.warn(t):console.warn(t.message)},bp=function(t,e,n){return void 0===n&&(n=Ep),e.silent?function(){}:t.onwarn?function(e){return t.onwarn(e,n)}:n},Ap=function(t,e){var n=t.external;return"function"==typeof n?function(t){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return n.apply(void 0,[t].concat(r))||-1!==e.external.indexOf(t)}:(n||[]).concat(e.external)},Sp={c:"config",d:"dir",e:"external",f:"format",g:"globals",h:"help",i:"input",m:"sourcemap",n:"name",o:"file",v:"version",w:"watch"};function wp(t){var e=t.config,n=void 0===e?{}:e,r=t.command,s=void 0===r?{}:r,o=t.defaultOnWarnHandler,a=function(t){var e=i({},t);e.external=t.external?t.external.split(","):[],t.globals&&(e.globals=Object.create(null),t.globals.split(",").forEach(function(t){var n=t.split(":");e.globals[n[0]]=n[1],-1===e.external.indexOf(n[0])&&e.external.push(n[0])}));return e}(s),u=function(t,e,n){void 0===e&&(e={});var r=yp(t,e),i={acorn:t.acorn,acornInjectPlugins:t.acornInjectPlugins,cache:r("cache"),chunkGroupingSize:r("chunkGroupingSize",5e3),context:t.context,experimentalCacheExpiry:r("experimentalCacheExpiry",10),experimentalOptimizeChunks:r("experimentalOptimizeChunks"),experimentalTopLevelAwait:r("experimentalTopLevelAwait"),external:Ap(t,e),inlineDynamicImports:r("inlineDynamicImports",!1),input:r("input"),manualChunks:r("manualChunks"),moduleContext:t.moduleContext,onwarn:bp(t,e,n),perf:r("perf",!1),plugins:t.plugins,preserveModules:r("preserveModules"),preserveSymlinks:r("preserveSymlinks"),shimMissingExports:r("shimMissingExports"),treeshake:_p(t,e,"treeshake"),watch:t.watch};i.cache&&i.cache.cache&&(i.cache=i.cache.cache);return i}(n,a,o);a.output&&Object.assign(a,a.output);var h=n.output,c=Array.isArray(h)?h:h?[h]:[];0===c.length&&c.push({});var p=c.map(function(t){return function(t,e){void 0===e&&(e={});var n=yp(t,e),r=n("format");switch(r){case"esm":case"module":r="es";break;case"commonjs":r="cjs"}return{amd:i({},t.amd,e.amd),assetFileNames:n("assetFileNames"),banner:n("banner"),chunkFileNames:n("chunkFileNames"),compact:n("compact",!1),dir:n("dir"),dynamicImportFunction:n("dynamicImportFunction"),entryFileNames:n("entryFileNames"),esModule:n("esModule",!0),exports:n("exports"),extend:n("extend"),file:n("file"),footer:n("footer"),format:"esm"===r?"es":r,freeze:n("freeze",!0),globals:n("globals"),indent:n("indent",!0),interop:n("interop",!0),intro:n("intro"),name:n("name"),namespaceToStringTag:n("namespaceToStringTag",!1),noConflict:n("noConflict"),outro:n("outro"),paths:n("paths"),preferConst:n("preferConst"),sourcemap:n("sourcemap"),sourcemapExcludeSources:n("sourcemapExcludeSources"),sourcemapFile:n("sourcemapFile"),sourcemapPathTransform:n("sourcemapPathTransform"),strict:n("strict",!0)}}(t,a)}),l=[],d=Object.keys(u);Ip(l,Object.keys(n),d,"input option",/^output$/);var f=Object.keys(p[0]);Ip(l,p.reduce(function(t,e){return t.concat(Object.keys(e))},[]),f,"output option");var m=f.filter(function(t){return"sourcemapPathTransform"!==t});return Ip(l,Object.keys(a),d.concat(m,Object.keys(Sp),"config","environment","silent"),"CLI flag",/^_|output|(config.*)$/),{inputOptions:u,optionError:l.length>0?l.join("\n"):null,outputOptions:p}}function Ip(t,e,n,r,i){void 0===i&&(i=/$./);var s=e.filter(function(t){return-1===n.indexOf(t)&&!i.test(t)});s.length>0&&t.push("Unknown "+r+": "+s.join(", ")+". Allowed options: "+n.sort().join(", "))}var Pp,kp,Cp={get:function(){throw new Error("bundle.generate(...) now returns a Promise instead of a { code, map } object")}};function Np(t,e){return e.options&&e.options.call({meta:{rollupVersion:s}},t)||t}function Rp(t){return t.isAsset?kp.ASSET:t.isEntry?kp.ENTRY_CHUNK:kp.SECONDARY_CHUNK}function Op(t){return{output:Object.keys(t).map(function(e){return t[e]}).sort(function(t,e){var n=Rp(t),r=Rp(e);return n===r?0:n<r?-1:1})}}function Mp(t){return!0===t.isAsset}!function(t){t[t.ENTRY_CHUNK=0]="ENTRY_CHUNK",t[t.SECONDARY_CHUNK=1]="SECONDARY_CHUNK",t[t.ASSET=2]="ASSET"}(kp||(kp={})),t.VERSION=s,t.rollup=function(t){try{var e=function(t){if(!t)throw new Error("You must supply an options object to rollup");var e=wp({config:t}),n=e.inputOptions,r=e.optionError;r&&n.onwarn({message:r,code:"UNKNOWN_OPTION"});var i=n.plugins;return n.plugins=Array.isArray(i)?i.filter(Boolean):i?[i]:[],(n=n.plugins.reduce(Np,n)).inlineDynamicImports?(n.preserveModules&&Ie({code:"INVALID_OPTION",message:'"preserveModules" does not support the "inlineDynamicImports" option.'}),n.manualChunks&&Ie({code:"INVALID_OPTION",message:'"manualChunks" option is not supported for "inlineDynamicImports".'}),n.experimentalOptimizeChunks&&Ie({code:"INVALID_OPTION",message:'"experimentalOptimizeChunks" option is not supported for "inlineDynamicImports".'}),(n.input instanceof Array&&n.input.length>1||"object"==typeof n.input&&Object.keys(n.input).length>1)&&Ie({code:"INVALID_OPTION",message:'Multiple inputs are not supported for "inlineDynamicImports".'})):n.preserveModules&&(n.manualChunks&&Ie({code:"INVALID_OPTION",message:'"preserveModules" does not support the "manualChunks" option.'}),n.experimentalOptimizeChunks&&Ie({code:"INVALID_OPTION",message:'"preserveModules" does not support the "experimentalOptimizeChunks" option.'})),n}(t);Iu(e);var n=new lp(e,Pp);Pp=void 0;var r=!1!==t.cache;return delete e.cache,delete t.cache,bu("BUILD",1),n.pluginDriver.hookParallel("buildStart",[e]).then(function(){return n.build(e.input,e.manualChunks,e.inlineDynamicImports)}).then(function(t){return n.pluginDriver.hookParallel("buildEnd").then(function(){return t})},function(t){return n.pluginDriver.hookParallel("buildEnd",[t]).then(function(){throw t})}).then(function(t){Au("BUILD",1);var s=!1;function o(r){return function(t,e,n,r){if(!e)throw new Error("You must supply an options object");var s=wp({config:{output:i({},e,e.output,t.output)}});if(s.optionError)throw new Error(s.optionError);var o,a=s.outputOptions[0],u=r.hookReduceArg0Sync("outputOptions",[a],function(t,e){return e||t});return"es6"===(o=u).format&&Ie({message:'The "es6" output format is deprecated – use "esm" instead',url:"https://rollupjs.org/guide/en#output-format"}),o.format||Ie({message:'You must specify "output.format", which can be one of "amd", "cjs", "system", "esm", "iife" or "umd".',url:"https://rollupjs.org/guide/en#output-format"}),"string"==typeof u.file&&("string"==typeof u.dir&&Ie({code:"INVALID_OPTION",message:'You must set either "output.file" for a single-file build or "output.dir" when generating multiple chunks.'}),t.preserveModules&&Ie({code:"INVALID_OPTION",message:'You must set "output.dir" instead of "output.file" when using the "preserveModules" option.'}),"object"!=typeof t.input||Array.isArray(t.input)||Ie({code:"INVALID_OPTION",message:'You must set "output.dir" instead of "output.file" when providing named inputs.'})),n&&("umd"!==u.format&&"iife"!==u.format||Ie({code:"INVALID_OPTION",message:"UMD and IIFE output formats are not supported for code-splitting builds."}),"string"==typeof u.file&&Ie({code:"INVALID_OPTION",message:'You must set "output.dir" instead of "output.file" when generating multiple chunks.'})),u}(e,r,t.length>1,n.pluginDriver)}function a(r,o){bu("GENERATE",1);var a=r.assetFileNames||"assets/[name]-[hash][extname]",u=n.finaliseAssets(a),h=function(t){if(0===t.length)return"/";if(1===t.length)return le(t[0]);var e=t.slice(1).reduce(function(t,e){var n,r=e.split(/\/+|\\+/);for(n=0;t[n]===r[n]&&n<Math.min(t.length,r.length);n++);return t.slice(0,n)},t[0].split(/\/+|\\+/));return e.length>1?e.join("/"):"/"}(function(t){for(var e=[],n=0,r=t;n<r.length;n++)for(var i=0,s=r[n].entryModules;i<s.length;i++){var o=s[i];ue(o.id)&&e.push(o.id)}return e}(t));return n.pluginDriver.hookParallel("renderStart").then(function(){return t=r,e=n.pluginDriver,Promise.all([e.hookReduceValue("banner",dp(t.banner),[],fp),e.hookReduceValue("footer",dp(t.footer),[],fp),e.hookReduceValue("intro",dp(t.intro),[],mp),e.hookReduceValue("outro",dp(t.outro),[],mp)]).then(function(t){var e=t[0],n=t[1],r=t[2],i=t[3];return r&&(r+="\n\n"),i&&(i="\n\n"+i),e.length&&(e+="\n"),n.length&&(n="\n"+n),{intro:r,outro:i,banner:e,footer:n}}).catch(function(t){Ie({code:"ADDON_ERROR",message:"Could not retrieve "+t.hook+". Check configuration of "+t.plugin+".\n\tError Message: "+t.message})});var t,e}).then(function(o){for(var a=0,c=t;a<c.length;a++){var p=c[a];e.preserveModules||p.generateInternalExports(r),p.facadeModule&&p.facadeModule.isEntryPoint&&(p.exportMode=vp(p,r))}for(var l=0,d=t;l<d.length;l++)(p=d[l]).preRender(r,h);!s&&e.experimentalOptimizeChunks&&(function(t,e,n,r){for(var i,s=function(s){var o=t[s],a=[];if(o.visitStaticDependenciesUntilCondition(function(t){t instanceof Qu&&a.push(t)}),a.length<2)return i=s,"continue";var u,h=1,c=!0,p=a[0],l=a[1],d=function(t){return!(null!==t.facadeModule||t.isManualChunk||!l||null!==l.facadeModule||t.getRenderedSourceLength()>n)},f=function(){if(c)return d(p)&&(c=!1),"continue";var i=n-u.getRenderedSourceLength()-p.getRenderedSourceLength();if(i<=0)return d(p)||(c=!0),"continue";var o=new Set;p.visitStaticDependenciesUntilCondition(function(t){return o.add(t)});var f=new Set([p,u]);if(u.visitStaticDependenciesUntilCondition(function(t){return t!==p&&t!==u&&!o.has(t)&&(t instanceof ge||(i-=t.getRenderedSourceLength())<=0||void f.add(t))}))return d(p)||(c=!0),"continue";if(p.visitStaticDependenciesUntilCondition(function(t){return!f.has(t)&&(t instanceof ge||(i-=t.getRenderedSourceLength())<=0||void 0)}))return d(p)||(c=!0),"continue";var m=t.indexOf(p);m<=s&&s--,t.splice(m,1),u.merge(p,t,e,r),a.splice(--h,1),p=u,l&&!d(l)&&(c=!0)};do{f()}while(u=p,p=l,l=a[++h],p);i=s},o=0;o<t.length;o++)s(o),o=i}(t,r,e.chunkGroupingSize,h),s=!0),function(t,e,n,r,i){for(var s={},o=t.reduce(function(t,e){var n=t[0],r=t[1];return(e.facadeModule&&e.facadeModule.isEntryPoint?n:r).push(e),[n,r]},[[],[]]),a=o[0],u=o[1],h=a.concat(u),c=0;c<h.length;c++){var p=h[c];if(n.file)p.id=pe(n.file);else if(e.preserveModules)p.generateIdPreserveModules(r,s);else{var l=void 0,d=void 0;p.facadeModule&&p.facadeModule.isEntryPoint?(l=n.entryFileNames||"[name].js",d="output.entryFileNames"):(l=n.chunkFileNames||"[name]-[hash].js",d="output.chunkFileNames"),p.generateId(l,d,i,n,s)}s[p.id]=!0}}(t,e,r,h,o);for(var f=function(e){var n=t[e],r=n.facadeModule;u[n.id]={code:void 0,dynamicImports:n.getDynamicImportIds(),exports:n.getExportNames(),facadeModuleId:r&&r.id,fileName:n.id,imports:n.getImportIds(),isDynamicEntry:null!==r&&r.dynamicallyImportedBy.length>0,isEntry:null!==r&&r.isEntryPoint,map:void 0,modules:n.renderedModules,get name(){return n.getChunkName()}}},m=0;m<t.length;m++)f(m);return Promise.all(t.map(function(t){var e=u[t.id];return t.render(r,o,e).then(function(t){return e.code=t.code,e.map=t.map,n.pluginDriver.hookParallel("ongenerate",[i({bundle:e},r),e])})})).then(function(){})}).catch(function(t){return n.pluginDriver.hookParallel("renderError",[t]).then(function(){throw t})}).then(function(){var t=new Map(n.assetsById),e=Fc(t,u,a);return n.pluginDriver.hookSeq("generateBundle",[r,u,o],function(t){return i({},t,e)}).then(function(){t.forEach(function(t){void 0===t.fileName&&qc(t,u,a)})})}).then(function(){return Au("GENERATE",1),u})}var u={cache:r?n.getCache():void 0,generate:function(t){var e=a(o(t),!1).then(function(t){return Op(t)});return Object.defineProperty(e,"code",Cp),Object.defineProperty(e,"map",Cp),e},watchFiles:Object.keys(n.watchFiles),write:function(t){var r=o(t);return r.dir||r.file||Ie({code:"MISSING_OPTION",message:'You must specify "output.file" or "output.dir" for the build.'}),a(r,!0).then(function(t){for(var s=0,o=0,a=Object.keys(t);o<a.length;o++){var h=a[o];if(!t[h].isAsset&&++s>1)break}return s>1&&(r.sourcemapFile&&Ie({code:"INVALID_OPTION",message:'"output.sourcemapFile" is only supported for single-file builds.'}),"string"==typeof r.file&&Ie({code:"INVALID_OPTION",message:'When building multiple chunks, the "output.dir" option must be used, not "output.file".'+("string"!=typeof e.input||!0===e.inlineDynamicImports?"":' To inline dynamic imports, set the "inlineDynamicImports" option.')})),Promise.all(Object.keys(t).map(function(e){return function(t,e,n,r){var s,o,a=me(r.dir||le(r.file),n.fileName);if(Mp(n))o=n.source;else if(o=n.code,r.sourcemap&&n.map){var u=void 0;"inline"===r.sourcemap?u=n.map.toUrl():(u=pe(n.fileName)+".map",s=ep(a+".map",n.map.toString())),o+="//# "+cu+"="+u+"\n"}return ep(a,o).then(function(){return s}).then(function(){return!Mp(n)&&t.pluginDriver.hookSeq("onwrite",[i({bundle:e},r),n])}).then(function(){})}(n,u,t[e],r)})).then(function(){return n.pluginDriver.hookParallel("writeBundle",[t])}).then(function(){return Op(t)})})}};return!0===e.perf&&(u.getTimings=Eu),u})}catch(t){return Promise.reject(t)}},Object.defineProperty(t,"__esModule",{value:!0})});