PageSourceSearch

https://livinglines.app/static/js/4179.baaf8a40.chunk.js

js livinglines.app collected 2026-10-07 13:37:50 UTC 342,938 bytes, 2 lines download raw bytes

1/*! For license information please see 4179.baaf8a40.chunk.js.LICENSE.txt */
2(self.webpackChunkranking=self.webpackChunkranking||[]).push([[4179],{4691(t,e,r){var n,o,i;o=[],void 0===(i="function"===typeof(n=function(){"use strict";function e(t,e){return"undefined"==typeof e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}function n(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){c(n.response,e,r)},n.onerror=function(){console.error("could not download file")},n.send()}function o(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function i(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(n){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var s="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof r.g&&r.g.global===r.g?r.g:void 0,a=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=s.saveAs||("object"!=typeof window||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(t,e,r){var a=s.URL||s.webkitURL,c=document.createElement("a");e=e||t.name||"download",c.download=e,c.rel="noopener","string"==typeof t?(c.href=t,c.origin===location.origin?i(c):o(c.href)?n(t,e,r):i(c,c.target="_blank")):(c.href=a.createObjectURL(t),setTimeout(function(){a.revokeObjectURL(c.href)},4e4),setTimeout(function(){i(c)},0))}:"msSaveOrOpenBlob"in navigator?function(t,r,s){if(r=r||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(e(t,s),r);else if(o(t))n(t,r,s);else{var a=document.createElement("a");a.href=t,a.target="_blank",setTimeout(function(){i(a)})}}:function(t,e,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof t)return n(t,e,r);var i="application/octet-stream"===t.type,c=/constructor/i.test(s.HTMLElement)||s.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||i&&c||a)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location=t,o=null},l.readAsDataURL(t)}else{var h=s.URL||s.webkitURL,p=h.createObjectURL(t);o?o.location=p:location.href=p,o=null,setTimeout(function(){h.revokeObjectURL(p)},4e4)}});s.saveAs=c.saveAs=c,t.exports=c})?n.apply(e,o):n)||(t.exports=i)},5069(t,e,r){"use strict";r.d(e,{CHp:()=>Ca,D3e:()=>La,DB2:()=>no,Fmo:()=>rs,GQG:()=>Da,Hjg:()=>yc,J1n:()=>qi,ND6:()=>vl,NTc:()=>Io,PsV:()=>Za,QVs:()=>is,VJV:()=>Wa,VQT:()=>Fa,Vkn:()=>da,XIK:()=>dc,Y9Y:()=>rl,Yus:()=>Nn,ddb:()=>Na,fzL:()=>ca,gdh:()=>ha,kDD:()=>Bn,nA6:()=>sc,vUR:()=>Ia,wi6:()=>nl,wmN:()=>Aa,yoT:()=>el,zUP:()=>ua});var n=Object.defineProperty,o=Object.defineProperties,i=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,u=(t,e,r)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,l=(t,e)=>{for(var r in e||(e={}))a.call(e,r)&&u(t,r,e[r]);if(s)for(var r of s(e))c.call(e,r)&&u(t,r,e[r]);return t},h=(t,e)=>o(t,i(e)),p=(t,e,r)=>(u(t,"symbol"!==typeof e?e+"":e,r),r),f=(t,e,r)=>new Promise((n,o)=>{var i=t=>{try{a(r.next(t))}catch(e){o(e)}},s=t=>{try{a(r.throw(t))}catch(e){o(e)}},a=t=>t.done?n(t.value):Promise.resolve(t.value).then(i,s);a((r=r.apply(t,e)).next())});class d{constructor(t){p(this,"rootKey"),this.rootKey=t}}const m=Object.seal({});class w extends d{constructor(t){super(t),p(this,"root"),this.root=new Array}prepForXml(t){var e;t.stack.push(this);const r=this.root.map(e=>e instanceof d||"m:oMath"===e.rootKey?e.prepForXml(t):e).filter(t=>void 0!==t);return t.stack.pop(),{[this.rootKey]:r.length?1===r.length&&(null==(e=r[0])?void 0:e._attr)?r[0]:r:m}}addChildElement(t){return this.root.push(t),this}}class g extends w{prepForXml(t){const e=super.prepForXml(t);if(e&&("object"!==typeof e[this.rootKey]||Object.keys(e[this.rootKey]).length))return e}}class y extends d{constructor(t){super("_attr"),p(this,"xmlKeys"),this.root=t}prepForXml(t){const e={};return Object.keys(this.root).forEach(t=>{const r=this.root[t];
2if(void 0!==r){const n=this.xmlKeys&&this.xmlKeys[t]||t;e[n]=r}}),{_attr:e}}}class b extends d{constructor(t){super("_attr"),this.root=t}prepForXml(t){return{_attr:Object.values(this.root).filter(t=>{let{value:e}=t;return void 0!==e}).reduce((t,e)=>{let{key:r,value:n}=e;return h(l({},t),{[r]:n})},{})}}}class v extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}}var x="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:"undefined"!==typeof self?self:{};function _(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var E,T={},S={exports:{}},k="object"===typeof Reflect?Reflect:null,A=k&&"function"===typeof k.apply?k.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};E=k&&"function"===typeof k.ownKeys?k.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var I=Number.isNaN||function(t){return t!==t};function R(){R.init.call(this)}S.exports=R,S.exports.once=function(t,e){return new Promise(function(r,n){function o(r){t.removeListener(e,i),n(r)}function i(){"function"===typeof t.removeListener&&t.removeListener("error",o),r([].slice.call(arguments))}M(t,e,i,{once:!0}),"error"!==e&&function(t,e,r){"function"===typeof t.on&&M(t,"error",e,r)}(t,o,{once:!0})})},R.EventEmitter=R,R.prototype._events=void 0,R.prototype._eventsCount=0,R.prototype._maxListeners=void 0;var C=10;function N(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function O(t){return void 0===t._maxListeners?R.defaultMaxListeners:t._maxListeners}function F(t,e,r,n){var o,i,s,a;if(N(r),void 0===(i=t._events)?(i=t._events=Object.create(null),t._eventsCount=0):(void 0!==i.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),i=t._events),s=i[e]),void 0===s)s=i[e]=r,++t._eventsCount;else if("function"===typeof s?s=i[e]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(o=O(t))>0&&s.length>o&&!s.warned){s.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=s.length,a=c,console&&console.warn&&console.warn(a)}return t}function P(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function D(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},o=P.bind(n);return o.listener=r,n.wrapFn=o,o}function B(t,e,r){var n=t._events;if(void 0===n)return[];var o=n[e];return void 0===o?[]:"function"===typeof o?r?[o.listener||o]:[o]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(o):U(o,o.length)}function L(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function U(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function M(t,e,r,n){if("function"===typeof t.on)n.once?t.once(e,r):t.on(e,r);else{if("function"!==typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,function o(i){n.once&&t.removeEventListener(e,o),r(i)})}}Object.defineProperty(R,"defaultMaxListeners",{enumerable:!0,get:function(){return C},set:function(t){if("number"!==typeof t||t<0||I(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");C=t}}),R.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},R.prototype.setMaxListeners=function(t){if("number"!==typeof t||t<0||I(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},R.prototype.getMaxListeners=function(){return O(this)},R.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){var i;if(e.length>0&&(i=e[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var a=o[t];if(void 0===a)return!1;if("function"===typeof a)A(a,this,e);else{var c=a.length,u=U(a,c);for(r=0;r<c;++r)A(u[r],this,e)}return!0},R.prototype.addListener=function(t,e){return F(this,t,e,!1)},R.prototype.on=R.prototype.addListener,R.prototype.prependListener=function(t,e){return F(this,t,e,!0)},R.prototype.once=function(t,e){return N(e),this.on(t,D(this,t,e)),this},R.prototype.prependOnceListener=function(t,e){return N(e),this.prependListener(t,D(this,t,e)),this},R.prototype.removeListener=function(t,e){var r,n,o,i,s;if(N(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit
2("removeListener",t,r.listener||e));else if("function"!==typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===e||r[i].listener===e){s=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,s||e)}return this},R.prototype.off=R.prototype.removeListener,R.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},R.prototype.listeners=function(t){return B(this,t,!0)},R.prototype.rawListeners=function(t){return B(this,t,!1)},R.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):L.call(t,e)},R.prototype.listenerCount=L,R.prototype.eventNames=function(){return this._eventsCount>0?E(this._events):[]};var j=S.exports,z={exports:{}};"function"===typeof Object.create?z.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:z.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}};var W=z.exports;function K(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var H,G,V={exports:{}},q=V.exports={};function Z(){throw new Error("setTimeout has not been defined")}function X(){throw new Error("clearTimeout has not been defined")}function Y(t){if(H===setTimeout)return setTimeout(t,0);if((H===Z||!H)&&setTimeout)return H=setTimeout,setTimeout(t,0);try{return H(t,0)}catch(e){try{return H.call(null,t,0)}catch(r){return H.call(this,t,0)}}}!function(){try{H="function"===typeof setTimeout?setTimeout:Z}catch(t){H=Z}try{G="function"===typeof clearTimeout?clearTimeout:X}catch(t){G=X}}();var J,Q=[],$=!1,tt=-1;function et(){$&&J&&($=!1,J.length?Q=J.concat(Q):tt=-1,Q.length&&rt())}function rt(){if(!$){var t=Y(et);$=!0;for(var e=Q.length;e;){for(J=Q,Q=[];++tt<e;)J&&J[tt].run();tt=-1,e=Q.length}J=null,$=!1,function(t){if(G===clearTimeout)return clearTimeout(t);if((G===X||!G)&&clearTimeout)return G=clearTimeout,clearTimeout(t);try{return G(t)}catch(e){try{return G.call(null,t)}catch(r){return G.call(this,t)}}}(t)}}function nt(t,e){this.fun=t,this.array=e}function ot(){}q.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Q.push(new nt(t,e)),1!==Q.length||$||Y(rt)},nt.prototype.run=function(){this.fun.apply(null,this.array)},q.title="browser",q.browser=!0,q.env={},q.argv=[],q.version="",q.versions={},q.on=ot,q.addListener=ot,q.once=ot,q.off=ot,q.removeListener=ot,q.removeAllListeners=ot,q.emit=ot,q.prependListener=ot,q.prependOnceListener=ot,q.listeners=function(t){return[]},q.binding=function(t){throw new Error("process.binding is not supported")},q.cwd=function(){return"/"},q.chdir=function(t){throw new Error("process.chdir is not supported")},q.umask=function(){return 0};const it=K(V.exports);var st,at;function ct(){return at?st:(at=1,st=j.EventEmitter)}var ut,lt={},ht={};var pt,ft,dt={};function mt(){return ft||(ft=1,function(t){var e=function(){if(ut)return ht;ut=1,ht.byteLength=function(t){var e=i(t),r=e[0],n=e[1];return 3*(r+n)/4-n},ht.toByteArray=function(t){var n,o,s=i(t),a=s[0],c=s[1],u=new r(function(t,e,r){return 3*(e+r)/4-r}(0,a,c)),l=0,h=c>0?a-4:a;for(o=0;o<h;o+=4)n=e[t.charCodeAt(o)]<<18|e[t.charCodeAt(o+1)]<<12|e[t.charCodeAt(o+2)]<<6|e[t.charCodeAt(o+3)],u[l++]=n>>16&255,u[l++]=n>>8&255,u[l++]=255&n;return 2===c&&(n=e[t.charCodeAt(o)]<<2|e[t.charCodeAt(o+1)]>>
vendor: 6,124 bytes, line 2
24,u[l++]=255&n),1===c&&(n=e[t.charCodeAt(o)]<<10|e[t.charCodeAt(o+1)]<<4|e[t.charCodeAt(o+2)]>>2,u[l++]=n>>8&255,u[l++]=255&n),u},ht.fromByteArray=function(e){for(var r,n=e.length,o=n%3,i=[],s=16383,c=0,u=n-o;c<u;c+=s)i.push(a(e,c,c+s>u?u:c+s));return 1===o?(r=e[n-1],i.push(t[r>>2]+t[r<<4&63]+"==")):2===o&&(r=(e[n-2]<<8)+e[n-1],i.push(t[r>>10]+t[r>>4&63]+t[r<<2&63]+"=")),i.join("")};for(var t=[],e=[],r="undefined"!==typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)t[o]=n[o],e[n.charCodeAt(o)]=o;function i(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function s(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[63&e]}function a(t,e,r){for(var n,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(s(n));return o.join("")}return e["-".charCodeAt(0)]=62,e["_".charCodeAt(0)]=63,ht}(),r=(pt||(pt=1,dt.read=function(t,e,r,n,o){var i,s,a=8*o-n-1,c=(1<<a)-1,u=c>>1,l=-7,h=r?o-1:0,p=r?-1:1,f=t[e+h];for(h+=p,i=f&(1<<-l)-1,f>>=-l,l+=a;l>0;i=256*i+t[e+h],h+=p,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=256*s+t[e+h],h+=p,l-=8);if(0===i)i=1-u;else{if(i===c)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),i-=u}return(f?-1:1)*s*Math.pow(2,i-n)},dt.write=function(t,e,r,n,o,i){var s,a,c,u=8*i-o-1,l=(1<<u)-1,h=l>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:i-1,d=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+h>=1?p/c:p*Math.pow(2,1-h))*c>=2&&(s++,c/=2),s+h>=l?(a=0,s=l):s+h>=1?(a=(e*c-1)*Math.pow(2,o),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,o),s=0));o>=8;t[r+f]=255&a,f+=d,a/=256,o-=8);for(s=s<<o|a,u+=o;u>0;t[r+f]=255&s,f+=d,s/=256,u-=8);t[r+f-d]|=128*m}),dt),n="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=s,t.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},t.INSPECT_MAX_BYTES=50;var o=2147483647;function i(t){if(t>o)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"===typeof t){if("string"===typeof e)throw new TypeError('The "string" argument must be of type string. Received type number');return u(t)}return a(t,e,r)}function a(t,e,r){if("string"===typeof t)return function(t,e){"string"===typeof e&&""!==e||(e="utf8");if(!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=0|f(t,e),n=i(r),o=n.write(t,e);o!==r&&(n=n.slice(0,o));return n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(M(t,Uint8Array)){var e=new Uint8Array(t);return h(e.buffer,e.byteOffset,e.byteLength)}return l(t)}(t);if(null==t)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(M(t,ArrayBuffer)||t&&M(t.buffer,ArrayBuffer))return h(t,e,r);if("undefined"!==typeof SharedArrayBuffer&&(M(t,SharedArrayBuffer)||t&&M(t.buffer,SharedArrayBuffer)))return h(t,e,r);if("number"===typeof t)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return s.from(n,e,r);var o=function(t){if(s.isBuffer(t)){var e=0|p(t.length),r=i(e);return 0===r.length||t.copy(r,0,0,e),r}if(void 0!==t.length)return"number"!==typeof t.length||j(t.length)?i(0):l(t);if("Buffer"===t.type&&Array.isArray(t.data))return l(t.data)}(t);if(o)return o;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!==typeof t)throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function u(t){return c(t),i(t<0?0:0|p(t))}function l(t){for(var e=t.length<0?0:0|p(t.length),r=i(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}function h(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function p(t){if(t>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function f(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||M(t,ArrayBuffer))return t.byteLength;if("string"!==typeof t)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return L(t).length;default:if(o)return n?-1:B(t).length;e=(""+e).toLowerCase(),o=!0}}function d(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,e,r);case"utf8":case"utf-8":return T(this,e,r);case"ascii":return k(this,e,r);case"latin1":case"binary":return A(this,e,r);case"base64":return E(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function m(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function w(t,e,r,n,o){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),j(r=+r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}
vendor: 4,366 bytes, line 2
2else if(r<0){if(!o)return-1;r=0}if("string"===typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,o);if("number"===typeof e)return e&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,n,o){var i,s=1,a=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,r/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var l=-1;for(i=r;i<a;i++)if(u(t,i)===u(e,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===c)return l*s}else-1!==l&&(i-=i-l),l=-1}else for(r+c>a&&(r=a-c),i=r;i>=0;i--){for(var h=!0,p=0;p<c;p++)if(u(t,i+p)!==u(e,p)){h=!1;break}if(h)return i}return-1}function y(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a=parseInt(e.substr(2*s,2),16);if(j(a))return s;t[r+s]=a}return s}function b(t,e,r,n){return U(B(e,t.length-r),t,r,n)}function v(t,e,r,n){return U(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function x(t,e,r,n){return U(L(e),t,r,n)}function _(t,e,r,n){return U(function(t,e){for(var r,n,o,i=[],s=0;s<t.length&&!((e-=2)<0);++s)n=(r=t.charCodeAt(s))>>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function E(t,r,n){return 0===r&&n===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(r,n))}function T(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,s,a,c,u=t[o],l=null,h=u>239?4:u>223?3:u>191?2:1;if(o+h<=r)switch(h){case 1:u<128&&(l=u);break;case 2:128===(192&(i=t[o+1]))&&(c=(31&u)<<6|63&i)>127&&(l=c);break;case 3:i=t[o+1],s=t[o+2],128===(192&i)&&128===(192&s)&&(c=(15&u)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:i=t[o+1],s=t[o+2],a=t[o+3],128===(192&i)&&128===(192&s)&&128===(192&a)&&(c=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,h=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=h}return function(t){var e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=S));return r}(n)}t.kMaxLength=o,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(r){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return a(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return function(t,e,r){return c(t),t<=0?i(t):void 0!==e?"string"===typeof r?i(t).fill(e,r):i(t).fill(e):i(t)}(t,e,r)},s.allocUnsafe=function(t){return u(t)},s.allocUnsafeSlow=function(t){return u(t)},s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(M(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),M(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=s.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];
vendor: 4,632 bytes, line 2
2if(M(i,Uint8Array))o+i.length>n.length?s.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else{if(!s.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o)}o+=i.length}return n},s.byteLength=f,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0===arguments.length?T(this,0,t):d.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},n&&(s.prototype[n]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,o){if(M(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),c=Math.min(i,a),u=this.slice(n,o),l=t.slice(e,r),h=0;h<c;++h)if(u[h]!==l[h]){i=u[h],a=l[h];break}return i<a?-1:a<i?1:0},s.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return w(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return w(this,t,e,r,!1)},s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"===typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return y(this,t,e,r);case"utf8":case"utf-8":return b(this,t,e,r);case"ascii":case"latin1":case"binary":return v(this,t,e,r);case"base64":return x(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function k(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}function A(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}function I(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=z[t[i]];return o}function R(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function C(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,r,n,o,i){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function O(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function F(t,e,n,o,i){return e=+e,n>>>=0,i||O(t,0,n,4),r.write(t,e,n,o,23,4),n+4}function P(t,e,n,o,i){return e=+e,n>>>=0,i||O(t,0,n,8),r.write(t,e,n,o,52,8),n+8}s.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||C(t,e,this.length);for(var n=this[t],o=1,i=0;
vendor: 5,530 bytes, line 2
2++i<e&&(o*=256);)n+=this[t+i]*o;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||C(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},s.prototype.readUint8=s.prototype.readUInt8=function(t,e){return t>>>=0,e||C(t,1,this.length),this[t]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||C(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||C(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||C(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},s.prototype.readInt8=function(t,e){return t>>>=0,e||C(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||C(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||C(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||C(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||C(t,4,this.length),r.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||C(t,4,this.length),r.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||C(t,8,this.length),r.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||C(t,8,this.length),r.read(this,t,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||N(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||N(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);N(this,t,e,r,o-1,-o)}var i=0,s=1,a=0;for(this[e]=255&t;++i<r&&(s*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/s|0)-a&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var o=Math.pow(2,8*r-1);N(this,t,e,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/s|0)-a&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return F(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return F(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return P(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return P(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o=n-r;return this===t&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),o}
2,s.prototype.fill=function(t,e,r,n){if("string"===typeof t){if("string"===typeof e?(n=e,e=0,r=this.length):"string"===typeof r&&(n=r,r=this.length),void 0!==n&&"string"!==typeof n)throw new TypeError("encoding must be a string");if("string"===typeof n&&!s.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===t.length){var o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"===typeof t?t&=255:"boolean"===typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(i=e;i<r;++i)this[i]=t;else{var a=s.isBuffer(t)?t:s.from(t,n),c=a.length;if(0===c)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=a[i%c]}return this};var D=/[^+/0-9A-Za-z-_]/g;function B(t,e){var r;e=e||1/0;for(var n=t.length,o=null,i=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function L(t){return e.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(D,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function U(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}function M(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function j(t){return t!==t}var z=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()}(lt)),lt}var wt,gt,yt,bt,vt,xt,_t,Et,Tt,St,kt,At,It,Rt,Ct,Nt,Ot={},Ft={};function Pt(){return gt?wt:(gt=1,wt=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"===typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"===typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0})}function Dt(){if(bt)return yt;bt=1;var t=Pt();return yt=function(){return t()&&!!Symbol.toStringTag}}function Bt(){if(At)return kt;At=1;var t=function(){if(St)return Tt;St=1;var t=Object.prototype.toString,e=Math.max,r=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r};return Tt=function(n){var o=this;if("function"!==typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,s=function(t){for(var e=[],r=1||0,n=0;r<t.length;r+=1,n+=1)e[n]=t[r];return e}(arguments),a=e(0,o.length-s.length),c=[],u=0;u<a;u++)c[u]="$"+u;if(i=Function("binder","return function ("+function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r}(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof i){var t=o.apply(this,r(s,arguments));return Object(t)===t?t:this}return o.apply(n,r(s,arguments))}),o.prototype){var l=function(){};l.prototype=o.prototype,i.prototype=new l,l.prototype=null}return i},Tt}();return kt=Function.prototype.bind||t}function Lt(){if(Nt)return Ct;var t;Nt=1;var e=SyntaxError,r=Function,n=TypeError,o=function(t){try{return r('"use strict"; return ('+t+").constructor;")()}catch(e){}},i=Object.getOwnPropertyDescriptor;if(i)try{i({},"")}catch(A){i=null}var s=function(){throw new n},a=i?function(){try{return s}catch(t){try{return i(arguments,"callee").get}catch(e){return s}}}():s,c=function(){if(xt)return vt;xt=1;var t="undefined"!==typeof Symbol&&Symbol,e=Pt();return vt=function(){return"function"===typeof t&&"function"===typeof Symbol&&"symbol"===typeof t("foo")&&"symbol"===typeof Symbol("bar")&&e()}}()(),u=function(){if(Et)return _t;Et=1;var t={foo:{}},e=Object;return _t=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof e)}}()(),l=Object.getPrototypeOf||(u?function(t){return t.__proto__}:null),h={},p="undefined"!==typeof Uint8Array&&l?l(Uint8Array):t,f={"%AggregateError%":"undefined"===typeof AggregateError?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?t:ArrayBuffer,"%ArrayIteratorPrototype%":c&&l?l([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"===typeof Atomics?t:Atomics,"%BigInt%":"undefined"===typeof BigInt?t:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?t:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?t:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?t:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?t:FinalizationRegistry,"%Function%":r,"%GeneratorFunction%":h,"%Int8Array%":"undefined"===typeof Int8Array?t:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?t:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":c&&l?l(l([][Symbol.iterator]())):t,"%JSON%":"object"===typeof JSON?JSON:t,"%Map%":"undefined"===typeof Map?t:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&c&&l?l((new Map)[Symbol.iterator]()):t,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?t:Promise,"%Proxy%":"undefined"===typeof Proxy?t:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?t:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?t:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&c&&l?l((new Set)[Symbol.iterator]()):t,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c&&l?l(""[Symbol.iterator]()):t,"%Symbol%":c?Symbol:t,"%SyntaxError%":e,"%ThrowTypeError%":a,"%TypedArray%":p,"%TypeError%":n,"%Uint8Array%":"undefined"===typeof Uint8Array?t:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?t:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?t:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?t:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?t:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?t:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?t:WeakSet};if(l)try{null.error}catch(A){var d=l(l(A));f["%Error.prototype%"]=d}var m=function t(e){var r;if("%AsyncFunction%"===e)r=o("async function () {}");else if("%GeneratorFunction%"===e)r=o("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=o("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&l&&(r=l(i.prototype))}return f[e]=r,r},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=Bt(),y=function(){if(Rt)return It;Rt=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,r=Bt();return It=r.call(t,e)}(),b=g.call(Function.call,Array.prototype.concat),v=g.call(Function.apply,Array.prototype.splice),x=g.call(Function.call,String.prototype.replace),_=g.call(Function.call,String.prototype.slice),E=g.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,S=/\\(\\)?/g,k=function(t,r){var o,i=t;if(y(w,i)&&(i="%"+(o=w[i])[0]+"%"),y(f,i)){var s=f[i];if(s===h&&(s=m(i)),"undefined"===typeof s&&!r)throw new n("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:i,value:s}}throw new e("intrinsic "+t+" does not exist!")};return Ct=function(t,r){if("string"!==typeof t||0===t.length)throw new n("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof r)throw new n('"allowMissing" argument must be a boolean');if(null===E(/^%?[^%]*%?$/,t))throw new e("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=function(t){var r=_(t,0,1),n=_(t,-1);if("%"===r&&"%"!==n)throw new e("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==r)throw new e("invalid intrinsic syntax, expected opening `%`");var o=[];return x(t,T,function(t,e,r,n){o[o.length]=r?x(n,S,"$1"):e||t}),o}(t),s=o.length>0?o[0]:"",a=k("%"+s+"%",r),c=a.name,u=a.value,l=!1,h=a.alias;
2h&&(s=h[0],v(o,b([0,1],h)));for(var p=1,d=!0;p<o.length;p+=1){var m=o[p],w=_(m,0,1),g=_(m,-1);if(('"'===w||"'"===w||"`"===w||'"'===g||"'"===g||"`"===g)&&w!==g)throw new e("property names with quotes must have matching quotes");if("constructor"!==m&&d||(l=!0),y(f,c="%"+(s+="."+m)+"%"))u=f[c];else if(null!=u){if(!(m in u)){if(!r)throw new n("base intrinsic for "+t+" exists, but the property is not available.");return}if(i&&p+1>=o.length){var A=i(u,m);u=(d=!!A)&&"get"in A&&!("originalValue"in A.get)?A.get:u[m]}else d=y(u,m),u=u[m];d&&!l&&(f[c]=u)}}return u},Ct}var Ut,Mt,jt,zt,Wt,Kt,Ht,Gt,Vt,qt,Zt,Xt,Yt,Jt,Qt,$t,te,ee,re,ne,oe,ie,se,ae,ce,ue,le,he,pe,fe,de,me,we,ge={exports:{}};function ye(){if(Mt)return Ut;Mt=1;var t=Lt()("%Object.defineProperty%",!0),e=function(){if(t)try{return t({},"a",{value:1}),!0}catch(e){return!1}return!1};return e.hasArrayLengthDefineBug=function(){if(!e())return null;try{return 1!==t([],"length",{value:1}).length}catch(r){return!0}},Ut=e}function be(){if(zt)return jt;zt=1;var t=Lt()("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch(e){t=null}return jt=t}function ve(){if(Gt)return Ht;Gt=1;var t=Lt(),e=function(){if(Kt)return Wt;Kt=1;var t=ye()(),e=Lt(),r=t&&e("%Object.defineProperty%",!0);if(r)try{r({},"a",{value:1})}catch(s){r=!1}var n=e("%SyntaxError%"),o=e("%TypeError%"),i=be();return Wt=function(t,e,s){if(!t||"object"!==typeof t&&"function"!==typeof t)throw new o("`obj` must be an object or a function`");if("string"!==typeof e&&"symbol"!==typeof e)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],h=!!i&&i(t,e);if(r)r(t,e,{configurable:null===u&&h?h.configurable:!u,enumerable:null===a&&h?h.enumerable:!a,value:s,writable:null===c&&h?h.writable:!c});else{if(!l&&(a||c||u))throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=s}},Wt}(),r=ye()(),n=be(),o=t("%TypeError%"),i=t("%Math.floor%");return Ht=function(t,s){if("function"!==typeof t)throw new o("`fn` is not a function");if("number"!==typeof s||s<0||s>4294967295||i(s)!==s)throw new o("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],c=!0,u=!0;if("length"in t&&n){var l=n(t,"length");l&&!l.configurable&&(c=!1),l&&!l.writable&&(u=!1)}return(c||u||!a)&&(r?e(t,"length",s,!0,!0):e(t,"length",s)),t},Ht}function xe(){return Vt||(Vt=1,function(t){var e=Bt(),r=Lt(),n=ve(),o=r("%TypeError%"),i=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(s,i),c=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch(h){c=null}t.exports=function(t){if("function"!==typeof t)throw new o("a function is required");var r=a(e,s,arguments);return n(r,1+u(0,t.length-(arguments.length-1)),!0)};var l=function(){return a(e,i,arguments)};c?c(t.exports,"apply",{value:l}):t.exports.apply=l}(ge)),ge.exports}function _e(){if(Zt)return qt;Zt=1;var t=Lt(),e=xe(),r=e(t("String.prototype.indexOf"));return qt=function(n,o){var i=t(n,!!o);return"function"===typeof i&&r(n,".prototype.")>-1?e(i):i}}function Ee(){if(Qt)return Jt;Qt=1;var t,e=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,o=Dt()(),i=Object.getPrototypeOf;return Jt=function(s){if("function"!==typeof s)return!1;if(n.test(r.call(s)))return!0;if(!o)return"[object GeneratorFunction]"===e.call(s);if(!i)return!1;if("undefined"===typeof t){var a=function(){if(!o)return!1;try{return Function("return function*() {}")()}catch(t){}}();
2t=!!a&&i(a)}return i(s)===t}}function Te(){if(re)return ee;re=1;var t=function(){if(te)return $t;te=1;var t,e,r=Function.prototype.toString,n="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof n&&"function"===typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw e}}),e={},n(function(){throw 42},null,t)}catch(p){p!==e&&(n=null)}else n=null;var o=/^\s*class\b/,i=function(t){try{var e=r.call(t);return o.test(e)}catch(n){return!1}},s=function(t){try{return!i(t)&&(r.call(t),!0)}catch(e){return!1}},a=Object.prototype.toString,c="function"===typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),l=function(){return!1};if("object"===typeof document){var h=document.all;a.call(h)===a.call(document.all)&&(l=function(t){if((u||!t)&&("undefined"===typeof t||"object"===typeof t))try{var e=a.call(t);return("[object HTMLAllCollection]"===e||"[object HTML document.all class]"===e||"[object HTMLCollection]"===e||"[object Object]"===e)&&null==t("")}catch(r){}return!1})}return $t=n?function(r){if(l(r))return!0;if(!r)return!1;if("function"!==typeof r&&"object"!==typeof r)return!1;try{n(r,null,t)}catch(o){if(o!==e)return!1}return!i(r)&&s(r)}:function(t){if(l(t))return!0;if(!t)return!1;if("function"!==typeof t&&"object"!==typeof t)return!1;if(c)return s(t);if(i(t))return!1;var e=a.call(t);return!("[object Function]"!==e&&"[object GeneratorFunction]"!==e&&!/^\[object HTML/.test(e))&&s(t)}}(),e=Object.prototype.toString,r=Object.prototype.hasOwnProperty;return ee=function(n,o,i){if(!t(o))throw new TypeError("iterator must be a function");var s;arguments.length>=3&&(s=i),"[object Array]"===e.call(n)?function(t,e,n){for(var o=0,i=t.length;o<i;o++)r.call(t,o)&&(null==n?e(t[o],o,t):e.call(n,t[o],o,t))}(n,o,s):"string"===typeof n?function(t,e,r){for(var n=0,o=t.length;n<o;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)}(n,o,s):function(t,e,n){for(var o in t)r.call(t,o)&&(null==n?e(t[o],o,t):e.call(n,t[o],o,t))}(n,o,s)},ee}function Se(){if(se)return ie;se=1;var t=Te(),e=function(){if(oe)return ne;oe=1;var t=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],e="undefined"===typeof globalThis?x:globalThis;return ne=function(){for(var r=[],n=0;n<t.length;n++)"function"===typeof e[t[n]]&&(r[r.length]=t[n]);return r}}(),r=xe(),n=_e(),o=be(),i=n("Object.prototype.toString"),s=Dt()(),a="undefined"===typeof globalThis?x:globalThis,c=e(),u=n("String.prototype.slice"),l=Object.getPrototypeOf,h=n("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},p={__proto__:null};t(c,s&&o&&l?function(t){var e=new a[t];if(Symbol.toStringTag in e){var n=l(e),i=o(n,Symbol.toStringTag);if(!i){var s=l(n);i=o(s,Symbol.toStringTag)}p["$"+t]=r(i.get)}}:function(t){var e=new a[t],n=e.slice||e.set;n&&(p["$"+t]=r(n))});return ie=function(e){if(!e||"object"!==typeof e)return!1;if(!s){var r=u(i(e),8,-1);return h(c,r)>-1?r:"Object"===r&&function(e){var r=!1;return t(p,function(t,n){if(!r)try{t(e),r=u(n,1)}catch(o){}}),r}(e)}return o?function(e){var r=!1;return t(p,function(t,n){if(!r)try{"$"+t(e)===n&&(r=u(n,1))}catch(o){}}),r}(e):null}}function ke(){return ue||(ue=1,function(t){var e=function(){if(Yt)return Xt;Yt=1;var t=Dt()(),e=_e()("Object.prototype.toString"),r=function(r){return!(t&&r&&"object"===typeof r&&Symbol.toStringTag in r)&&"[object Arguments]"===e(r)},n=function(t){return!!r(t)||null!==t&&"object"===typeof t&&"number"===typeof t.length&&t.length>=0&&"[object Array]"!==e(t)&&"[object Function]"===e(t.callee)},o=function(){return r(arguments)}();return r.isLegacyArguments=n,Xt=o?r:n}(),r=Ee(),n=Se(),o=function(){if(ce)return ae;ce=1;var t=Se();return ae=function(e){return!!t(e)}}();function i(t){return t.call.bind(t)}var s="undefined"!==typeof BigInt,a="undefined"!==typeof Symbol,c=i(Object.prototype.toString),u=i(Number.prototype.valueOf),l=i(String.prototype.valueOf),h=i(Boolean.prototype.valueOf);if(s)var p=i(BigInt.prototype.valueOf);if(a)var f=i(Symbol.prototype.valueOf);function d(t,e){if("object"!==typeof t)return!1;try{return e(t),!0}catch(r){return!1}}function m(t){return"[object Map]"===c(t)}function w(t){return"[object Set]"===c(t)}function g(t){return"[object WeakMap]"===c(t)}function y(t){return"[object WeakSet]"===c(t)}function b(t){return"[object ArrayBuffer]"===c(t)}function v(t){return"undefined"!==typeof ArrayBuffer&&(b.working?b(t):t instanceof ArrayBuffer)}function x(t){return"[object DataView]"===c(t)}
2function _(t){return"undefined"!==typeof DataView&&(x.working?x(t):t instanceof DataView)}t.isArgumentsObject=e,t.isGeneratorFunction=r,t.isTypedArray=o,t.isPromise=function(t){return"undefined"!==typeof Promise&&t instanceof Promise||null!==t&&"object"===typeof t&&"function"===typeof t.then&&"function"===typeof t.catch},t.isArrayBufferView=function(t){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):o(t)||_(t)},t.isUint8Array=function(t){return"Uint8Array"===n(t)},t.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===n(t)},t.isUint16Array=function(t){return"Uint16Array"===n(t)},t.isUint32Array=function(t){return"Uint32Array"===n(t)},t.isInt8Array=function(t){return"Int8Array"===n(t)},t.isInt16Array=function(t){return"Int16Array"===n(t)},t.isInt32Array=function(t){return"Int32Array"===n(t)},t.isFloat32Array=function(t){return"Float32Array"===n(t)},t.isFloat64Array=function(t){return"Float64Array"===n(t)},t.isBigInt64Array=function(t){return"BigInt64Array"===n(t)},t.isBigUint64Array=function(t){return"BigUint64Array"===n(t)},m.working="undefined"!==typeof Map&&m(new Map),t.isMap=function(t){return"undefined"!==typeof Map&&(m.working?m(t):t instanceof Map)},w.working="undefined"!==typeof Set&&w(new Set),t.isSet=function(t){return"undefined"!==typeof Set&&(w.working?w(t):t instanceof Set)},g.working="undefined"!==typeof WeakMap&&g(new WeakMap),t.isWeakMap=function(t){return"undefined"!==typeof WeakMap&&(g.working?g(t):t instanceof WeakMap)},y.working="undefined"!==typeof WeakSet&&y(new WeakSet),t.isWeakSet=function(t){return y(t)},b.working="undefined"!==typeof ArrayBuffer&&b(new ArrayBuffer),t.isArrayBuffer=v,x.working="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=_;var E="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function T(t){return"[object SharedArrayBuffer]"===c(t)}function S(t){return"undefined"!==typeof E&&("undefined"===typeof T.working&&(T.working=T(new E)),T.working?T(t):t instanceof E)}function k(t){return d(t,u)}function A(t){return d(t,l)}function I(t){return d(t,h)}function R(t){return s&&d(t,p)}function C(t){return a&&d(t,f)}t.isSharedArrayBuffer=S,t.isAsyncFunction=function(t){return"[object AsyncFunction]"===c(t)},t.isMapIterator=function(t){return"[object Map Iterator]"===c(t)},t.isSetIterator=function(t){return"[object Set Iterator]"===c(t)},t.isGeneratorObject=function(t){return"[object Generator]"===c(t)},t.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===c(t)},t.isNumberObject=k,t.isStringObject=A,t.isBooleanObject=I,t.isBigIntObject=R,t.isSymbolObject=C,t.isBoxedPrimitive=function(t){return k(t)||A(t)||I(t)||R(t)||C(t)},t.isAnyArrayBuffer=function(t){return"undefined"!==typeof Uint8Array&&(v(t)||S(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})})}(Ft)),Ft}function Ae(){return pe||(pe=1,function(t){var e=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},r=/%[sdj%]/g;t.format=function(t){if(!w(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(s(arguments[n]));return e.join(" ")}n=1;for(var o=arguments,i=o.length,a=String(t).replace(r,function(t){if("%%"===t)return"%";if(n>=i)return t;switch(t){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(e){return"[Circular]"}default:return t}}),c=o[n];n<i;c=o[++n])d(c)||!b(c)?a+=" "+c:a+=" "+s(c);return a},t.deprecate=function(e,r){if("undefined"!==typeof it&&!0===it.noDeprecation)return e;if("undefined"===typeof it)return function(){return t.deprecate(e,r).apply(this,arguments)};var n=!1;return function(){if(!n){if(it.throwDeprecation)throw new Error(r);it.traceDeprecation?console.trace(r):console.error(r),n=!0}return e.apply(this,arguments)}};var n={},o=/^$/;if(it.env.NODE_DEBUG){var i=it.env.NODE_DEBUG;i=i.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),o=new RegExp("^"+i+"$","i")}function s(e,r){var n={seen:[],stylize:c};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),f(r)?n.showHidden=r:r&&t._extend(n,r),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=a),u(n,e,n.depth)}function a(t,e){var r=s.styles[e];return r?"\x1b["+s.colors[r][0]+"m"+t+"\x1b["+s.colors[r][1]+"m":t}function c(t,e){return t}function u(e,r,n){if(e.customInspect&&r&&_(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return w(o)||(o=u(e,o,n)),o}var i=function(t,e){if(g(e))return t.stylize("undefined","undefined");if(w(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";
2return t.stylize(r,"string")}if(m(e))return t.stylize(""+e,"number");if(f(e))return t.stylize(""+e,"boolean");if(d(e))return t.stylize("null","null")}(e,r);if(i)return i;var s=Object.keys(r),a=function(t){var e={};return t.forEach(function(t,r){e[t]=!0}),e}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(r)),x(r)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return l(r);if(0===s.length){if(_(r)){var c=r.name?": "+r.name:"";return e.stylize("[Function"+c+"]","special")}if(y(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(v(r))return e.stylize(Date.prototype.toString.call(r),"date");if(x(r))return l(r)}var b,E="",T=!1,S=["{","}"];(p(r)&&(T=!0,S=["[","]"]),_(r))&&(E=" [Function"+(r.name?": "+r.name:"")+"]");return y(r)&&(E=" "+RegExp.prototype.toString.call(r)),v(r)&&(E=" "+Date.prototype.toUTCString.call(r)),x(r)&&(E=" "+l(r)),0!==s.length||T&&0!=r.length?n<0?y(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),b=T?function(t,e,r,n,o){for(var i=[],s=0,a=e.length;s<a;++s)k(e,String(s))?i.push(h(t,e,r,n,String(s),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(h(t,e,r,n,o,!0))}),i}(e,r,n,a,s):s.map(function(t){return h(e,r,n,a,t,T)}),e.seen.pop(),function(t,e,r){var n=t.reduce(function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(n>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(b,E,S)):S[0]+E+S[1]}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,r,n,o,i){var s,a,c;if((c=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?a=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(a=t.stylize("[Setter]","special")),k(n,o)||(s="["+o+"]"),a||(t.seen.indexOf(c.value)<0?(a=d(r)?u(t,c.value,null):u(t,c.value,r-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map(function(t){return"  "+t}).join("\n").slice(2):"\n"+a.split("\n").map(function(t){return"   "+t}).join("\n")):a=t.stylize("[Circular]","special")),g(s)){if(i&&o.match(/^\d+$/))return a;(s=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function p(t){return Array.isArray(t)}function f(t){return"boolean"===typeof t}function d(t){return null===t}function m(t){return"number"===typeof t}function w(t){return"string"===typeof t}function g(t){return void 0===t}function y(t){return b(t)&&"[object RegExp]"===E(t)}function b(t){return"object"===typeof t&&null!==t}function v(t){return b(t)&&"[object Date]"===E(t)}function x(t){return b(t)&&("[object Error]"===E(t)||t instanceof Error)}function _(t){return"function"===typeof t}function E(t){return Object.prototype.toString.call(t)}function T(t){return t<10?"0"+t.toString(10):t.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!n[e])if(o.test(e)){var r=it.pid;n[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else n[e]=function(){};return n[e]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=ke(),t.isArray=p,t.isBoolean=f,t.isNull=d,t.isNullOrUndefined=function(t){return null==t},t.isNumber=m,t.isString=w,t.isSymbol=function(t){return"symbol"===typeof t},t.isUndefined=g,t.isRegExp=y,t.types.isRegExp=y,t.isObject=b,t.isDate=v,t.types.isDate=v,t.isError=x,t.types.isNativeError=x,t.isFunction=_,t.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},t.isBuffer=he?le:(he=1,le=function(t){return t&&"object"===typeof t&&"function"===typeof t.copy&&"function"===typeof t.fill&&"function"===typeof t.readUInt8});var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.log=function(){console.log("%s - %s",function(){var t=new Date,e=[T(t.getHours()),T(t.getMinutes()),T(t.getSeconds())].join(":");return[t.getDate(),S[t.getMonth()],e].join(" ")}(),t.format.apply(t,arguments))},t.inherits=W,t._extend=function(t,e){if(!e||!b(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var A="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}t.promisify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');if(A&&t[A]){var r;if("function"!==typeof(r=t[A]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(r,A,{value:r,enumerable:!1,writable:!1,
2configurable:!0}),r}function r(){for(var e,r,n=new Promise(function(t,n){e=t,r=n}),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push(function(t,n){t?r(t):e(n)});try{t.apply(this,o)}catch(s){r(s)}return n}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),A&&Object.defineProperty(r,A,{value:r,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(r,e(t))},t.promisify.custom=A,t.callbackify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var n=e.pop();if("function"!==typeof n)throw new TypeError("The last argument must be of type Function");var o=this,i=function(){return n.apply(o,arguments)};t.apply(this,e).then(function(t){it.nextTick(i.bind(null,null,t))},function(t){it.nextTick(I.bind(null,t,i))})}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,e(t)),r}}(Ot)),Ot}function Ie(){if(de)return fe;function t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}de=1;var n=mt().Buffer,o=Ae().inspect,i=o&&o.custom||"inspect";function s(t,e,r){n.prototype.copy.call(t,e,r)}return fe=function(){function a(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),this.head=null,this.tail=null,this.length=0}var c,u,l;return c=a,u=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r}},{key:"concat",value:function(t){if(0===this.length)return n.alloc(0);for(var e=n.allocUnsafe(t>>>0),r=this.head,o=0;r;)s(r.data,e,o),o+=r.data.length,r=r.next;return e}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,r=1,n=e.data;for(t-=n.length;e=e.next;){var o=e.data,i=t>o.length?o.length:t;if(i===o.length?n+=o:n+=o.slice(0,t),0===(t-=i)){i===o.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=o.slice(i));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(t){var e=n.allocUnsafe(t),r=this.head,o=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,s=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,s),0===(t-=s)){s===i.length?(++o,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(s));break}++o}return this.length-=o,e}},{key:i,value:function(r,n){return o(this,function(r){for(var n=1;n<arguments.length;n++){var o=null!=arguments[n]?arguments[n]:{};n%2?t(Object(o),!0).forEach(function(t){e(r,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))})}return r}({},n,{depth:0,customInspect:!1}))}}],u&&r(c.prototype,u),l&&r(c,l),a}(),fe}function Re(){if(we)return me;function t(t,n){r(t,n),e(t)}function e(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function r(t,e){t.emit("error",e)}return we=1,me={destroy:function(n,o){var i=this,s=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return s||a?(o?o(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,it.nextTick(r,this,n)):it.nextTick(r,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(r){!o&&r?i._writableState?i._writableState.errorEmitted?it.nextTick(e,i):(i._writableState.errorEmitted=!0,it.nextTick(t,i,r)):it.nextTick(t,i,r):o?(it.nextTick(e,i),o(r)):it.nextTick(e,i)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}var Ce,Ne,Oe,Fe,Pe,De,Be,Le,Ue,Me={};function je(){if(Ce)return Me;Ce=1;var t={};function e(e,r,n){n||(n=Error);var o=function(t){var e,n;function o(e,n,o){return t.call(this,function(t,e,n){return"string"===typeof r?r:r(t,e,n)}(e,n,o))||this}return n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,o}
2(n);o.prototype.name=n.name,o.prototype.code=e,t[e]=o}function r(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map(function(t){return String(t)}),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}return e("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(t,e,n){var o,i,s,a;if("string"===typeof e&&(i="not ",e.substr(!s||s<0?0:+s,i.length)===i)?(o="must not be",e=e.replace(/^not /,"")):o="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))a="The ".concat(t," ").concat(o," ").concat(r(e,"type"));else{var c=function(t,e,r){return"number"!==typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";a='The "'.concat(t,'" ').concat(c," ").concat(o," ").concat(r(e,"type"))}return a+=". Received type ".concat(typeof n)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),e("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),e("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),e("ERR_STREAM_WRITE_AFTER_END","write after end"),e("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),e("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Me.codes=t,Me}function ze(){if(Oe)return Ne;Oe=1;var t=je().codes.ERR_INVALID_OPT_VALUE;return Ne={getHighWaterMark:function(e,r,n,o){var i=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(r,o,n);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new t(o?n:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}}}function We(){if(Pe)return Fe;function t(t){try{if(!x.localStorage)return!1}catch(r){return!1}var e=x.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}return Pe=1,Fe=function(e,r){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw new Error(r);t("traceDeprecation")?console.trace(r):console.warn(r),n=!0}return e.apply(this,arguments)}},Fe}function Ke(){if(Be)return De;function t(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var o=n.callback;e.pendingcb--,o(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var e;Be=1,De=_,_.WritableState=v;var r={deprecate:We()},n=ct(),o=mt().Buffer,i=x.Uint8Array||function(){};var s,a=Re(),c=ze().getHighWaterMark,u=je().codes,l=u.ERR_INVALID_ARG_TYPE,h=u.ERR_METHOD_NOT_IMPLEMENTED,p=u.ERR_MULTIPLE_CALLBACK,f=u.ERR_STREAM_CANNOT_PIPE,d=u.ERR_STREAM_DESTROYED,m=u.ERR_STREAM_NULL_VALUES,w=u.ERR_STREAM_WRITE_AFTER_END,g=u.ERR_UNKNOWN_ENCODING,y=a.errorOrDestroy;function b(){}function v(r,n,o){e=e||He(),r=r||{},"boolean"!==typeof o&&(o=n instanceof e),this.objectMode=!!r.objectMode,o&&(this.objectMode=this.objectMode||!!r.writableObjectMode),this.highWaterMark=c(this,r,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===r.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=r.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,o=r.writecb;if("function"!==typeof o)throw new p;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,o){--e.pendingcb,r?(it.nextTick(o,n),it.nextTick(I,t,e),t._writableState.errorEmitted=!0,y(t,n)):(o(n),t._writableState.errorEmitted=!0,y(t,n),I(t,e))}(t,r,n,e,o);else{var i=k(r)||t.destroyed;i||r.corked||r.bufferProcessing||!r.bufferedRequest||S(t,r),n?it.nextTick(T,t,r,i,o):T(t,r,i,o)}}(n,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==r.emitClose,this.autoDestroy=!!r.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function _(t){var r=this instanceof(e=e||He());if(!r&&!s.call(_,this))return new _(t);this._writableState=new v(t,this,r),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),n.call(this)}function E(t,e,r,n,o,i,s){e.writelen=n,e.writecb=s,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new d("write")):r?t._writev(o,e.onwrite):t._write(o,i,e.onwrite),e.sync=!1}function T(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),I(t,e)}function S(e,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(e._writev&&n&&n.next){var o=r.bufferedRequestCount,i=new Array(o),s=r.corkedRequestsFree;s.entry=n;for(var a=0,c=!0;n;)i[a]=n,n.isBuf||(c=!1),n=n.next,a+=1;i.allBuffers=c,E(e,r,!0,r.length,i,"",s.finish),r.pendingcb++,r.lastBufferedRequest=null,s.next?(r.corkedRequestsFree=s.next,
2s.next=null):r.corkedRequestsFree=new t(r),r.bufferedRequestCount=0}else{for(;n;){var u=n.chunk,l=n.encoding,h=n.callback;if(E(e,r,!1,r.objectMode?1:u.length,u,l,h),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function k(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function A(t,e){t._final(function(r){e.pendingcb--,r&&y(t,r),e.prefinished=!0,t.emit("prefinish"),I(t,e)})}function I(t,e){var r=k(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!==typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,it.nextTick(A,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var n=t._readableState;(!n||n.autoDestroy&&n.endEmitted)&&t.destroy()}return r}return W(_,n),v.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(v.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(s=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(t){return!!s.call(this,t)||this===_&&(t&&t._writableState instanceof v)}})):s=function(t){return t instanceof this},_.prototype.pipe=function(){y(this,new f)},_.prototype.write=function(t,e,r){var n,s=this._writableState,a=!1,c=!s.objectMode&&(n=t,o.isBuffer(n)||n instanceof i);return c&&!o.isBuffer(t)&&(t=function(t){return o.from(t)}(t)),"function"===typeof e&&(r=e,e=null),c?e="buffer":e||(e=s.defaultEncoding),"function"!==typeof r&&(r=b),s.ending?function(t,e){var r=new w;y(t,r),it.nextTick(e,r)}(this,r):(c||function(t,e,r,n){var o;return null===r?o=new m:"string"===typeof r||e.objectMode||(o=new l("chunk",["string","Buffer"],r)),!o||(y(t,o),it.nextTick(n,o),!1)}(this,s,t,r))&&(s.pendingcb++,a=function(t,e,r,n,i,s){if(!r){var a=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=o.from(e,r));return e}(e,n,i);n!==a&&(r=!0,i="buffer",n=a)}var c=e.objectMode?1:n.length;e.length+=c;var u=e.length<e.highWaterMark;u||(e.needDrain=!0);if(e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else E(t,e,!1,c,n,i,s);return u}(this,s,c,t,e,r)),a},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||S(this,t))},_.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new g(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(_.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(t,e,r){r(new h("_write()"))},_.prototype._writev=null,_.prototype.end=function(t,e,r){var n=this._writableState;return"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||function(t,e,r){e.ending=!0,I(t,e),r&&(e.finished?it.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,n,r),this},Object.defineProperty(_.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),_.prototype.destroy=a.destroy,_.prototype._undestroy=a.undestroy,_.prototype._destroy=function(t,e){e(t)},De}function He(){if(Ue)return Le;Ue=1;var t=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};Le=s;var e=pr(),r=Ke();W(s,e);for(var n=t(r.prototype),o=0;o<n.length;o++){var i=n[o];s.prototype[i]||(s.prototype[i]=r.prototype[i])}function s(t){if(!(this instanceof s))return new s(t);e.call(this,t),r.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",a)))}function a(){this._writableState.ended||it.nextTick(c,this)}function c(t){t.end()}return Object.defineProperty(s.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(s.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(s.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(s.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),Le}var Ge,Ve,qe,Ze,Xe,Ye,Je,Qe,$e,tr,er,rr,nr,or,ir,sr,ar={},cr={exports:{}};function ur(){if(Ve)return ar;Ve=1;var t=(Ge||(Ge=1,function(t,e){var r=mt(),n=r.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function i(t,e,r){return n(t,e,r)}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=i),o(n,i),i.from=function(t,e,r){if("number"===typeof t)throw new TypeError("Argument must not be a number");return n(t,e,r)},i.alloc=function(t,e,r){if("number"!==typeof t)throw new TypeError("Argument must be a number");var o=n(t);return void 0!==e?"string"===typeof r?o.fill(e,r):o.fill(e):o.fill(0),o},i.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return n(t)},i.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}}(cr,cr.exports)),cr.exports).Buffer,e=t.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(r){var n;switch(this.encoding=function(r){var n=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
2case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(r);if("string"!==typeof n&&(t.isEncoding===e||!e(r)))throw new Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=i,this.end=s,n=4;break;case"utf8":this.fillLast=o,n=4;break;case"base64":this.text=a,this.end=c,n=3;break;default:return this.write=u,void(this.end=l)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}function n(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function o(t){var e=this.lastTotal-this.lastNeed,r=function(t,e){if(128!==(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function i(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function s(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function a(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function c(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function u(t){return t.toString(this.encoding)}function l(t){return t&&t.length?this.write(t):""}return ar.StringDecoder=r,r.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},r.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},r.prototype.text=function(t,e){var r=function(t,e,r){var o=e.length-1;if(o<r)return 0;var i=n(e[o]);if(i>=0)return i>0&&(t.lastNeed=i-1),i;if(--o<r||-2===i)return 0;if(i=n(e[o]),i>=0)return i>0&&(t.lastNeed=i-2),i;if(--o<r||-2===i)return 0;if(i=n(e[o]),i>=0)return i>0&&(2===i?i=0:t.lastNeed=i-3),i;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var o=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,o),t.toString("utf8",e,o)},r.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length},ar}function lr(){if(Ze)return qe;Ze=1;var t=je().codes.ERR_STREAM_PREMATURE_CLOSE;function e(){}return qe=function r(n,o,i){if("function"===typeof o)return r(n,null,o);o||(o={}),i=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t.apply(this,n)}}}(i||e);var s=o.readable||!1!==o.readable&&n.readable,a=o.writable||!1!==o.writable&&n.writable,c=function(){n.writable||l()},u=n._writableState&&n._writableState.finished,l=function(){a=!1,u=!0,s||i.call(n)},h=n._readableState&&n._readableState.endEmitted,p=function(){s=!1,h=!0,a||i.call(n)},f=function(t){i.call(n,t)},d=function(){var e;return s&&!h?(n._readableState&&n._readableState.ended||(e=new t),i.call(n,e)):a&&!u?(n._writableState&&n._writableState.ended||(e=new t),i.call(n,e)):void 0},m=function(){n.req.on("finish",l)};return!function(t){return t.setHeader&&"function"===typeof t.abort}(n)?a&&!n._writableState&&(n.on("end",c),n.on("close",c)):(n.on("complete",l),n.on("abort",d),n.req?m():n.on("request",m)),n.on("end",p),n.on("finish",l),!1!==o.error&&n.on("error",f),n.on("close",d),function(){n.removeListener("complete",l),n.removeListener("abort",d),n.removeListener("request",m),n.req&&n.req.removeListener("finish",l),n.removeListener("end",c),n.removeListener("close",c),n.removeListener("finish",l),n.removeListener("end",p),n.removeListener("error",f),n.removeListener("close",d)}},qe}function hr(){if(Ye)return Xe;var t;function e(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Ye=1;var r=lr(),n=Symbol("lastResolve"),o=Symbol("lastReject"),i=Symbol("error"),s=Symbol("ended"),a=Symbol("lastPromise"),c=Symbol("handlePromise"),u=Symbol("stream");function l(t,e){return{value:t,done:e}}function h(t){var e=t[n];if(null!==e){var r=t[u].read();null!==r&&(t[a]=null,t[n]=null,t[o]=null,e(l(r,!1)))}}function p(t){it.nextTick(h,t)}var f=Object.getPrototypeOf(function(){}
2),d=Object.setPrototypeOf((e(t={get stream(){return this[u]},next:function(){var t=this,e=this[i];if(null!==e)return Promise.reject(e);if(this[s])return Promise.resolve(l(void 0,!0));if(this[u].destroyed)return new Promise(function(e,r){it.nextTick(function(){t[i]?r(t[i]):e(l(void 0,!0))})});var r,n=this[a];if(n)r=new Promise(function(t,e){return function(r,n){t.then(function(){e[s]?r(l(void 0,!0)):e[c](r,n)},n)}}(n,this));else{var o=this[u].read();if(null!==o)return Promise.resolve(l(o,!1));r=new Promise(this[c])}return this[a]=r,r}},Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var t=this;return new Promise(function(e,r){t[u].destroy(null,function(t){t?r(t):e(l(void 0,!0))})})}),t),f);return Xe=function(t){var h,f=Object.create(d,(e(h={},u,{value:t,writable:!0}),e(h,n,{value:null,writable:!0}),e(h,o,{value:null,writable:!0}),e(h,i,{value:null,writable:!0}),e(h,s,{value:t._readableState.endEmitted,writable:!0}),e(h,c,{value:function(t,e){var r=f[u].read();r?(f[a]=null,f[n]=null,f[o]=null,t(l(r,!1))):(f[n]=t,f[o]=e)},writable:!0}),h));return f[a]=null,r(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=f[o];return null!==e&&(f[a]=null,f[n]=null,f[o]=null,e(t)),void(f[i]=t)}var r=f[n];null!==r&&(f[a]=null,f[n]=null,f[o]=null,r(l(void 0,!0))),f[s]=!0}),t.on("readable",p.bind(null,f)),f}}function pr(){if(tr)return $e;var t;tr=1,$e=_,_.ReadableState=v,j.EventEmitter;var e=function(t,e){return t.listeners(e).length},r=ct(),n=mt().Buffer,o=x.Uint8Array||function(){};var i,s=Ae();i=s&&s.debuglog?s.debuglog("stream"):function(){};var a,c,u,l=Ie(),h=Re(),p=ze().getHighWaterMark,f=je().codes,d=f.ERR_INVALID_ARG_TYPE,m=f.ERR_STREAM_PUSH_AFTER_EOF,w=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;W(_,r);var y=h.errorOrDestroy,b=["error","close","destroy","pause","resume"];function v(e,r,n){t=t||He(),e=e||{},"boolean"!==typeof n&&(n=r instanceof t),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=p(this,e,"readableHighWaterMark",n),this.buffer=new l,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(a||(a=ur().StringDecoder),this.decoder=new a(e.encoding),this.encoding=e.encoding)}function _(e){if(t=t||He(),!(this instanceof _))return new _(e);var n=this instanceof t;this._readableState=new v(e,this,n),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),r.call(this)}function E(t,e,r,s,a){i("readableAddChunk",e);var c,u=t._readableState;if(null===e)u.reading=!1,function(t,e){if(i("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?A(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,I(t)))}(t,u);else if(a||(c=function(t,e){var r;i=e,n.isBuffer(i)||i instanceof o||"string"===typeof e||void 0===e||t.objectMode||(r=new d("chunk",["string","Buffer","Uint8Array"],e));var i;return r}(u,e)),c)y(t,c);else if(u.objectMode||e&&e.length>0)if("string"===typeof e||u.objectMode||Object.getPrototypeOf(e)===n.prototype||(e=function(t){return n.from(t)}(e)),s)u.endEmitted?y(t,new g):T(t,u,e,!0);else if(u.ended)y(t,new m);else{if(u.destroyed)return!1;u.reading=!1,u.decoder&&!r?(e=u.decoder.write(e),u.objectMode||0!==e.length?T(t,u,e,!1):R(t,u)):T(t,u,e,!1)}else s||(u.reading=!1,R(t,u));return!u.ended&&(u.length<u.highWaterMark||0===u.length)}function T(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&A(t)),R(t,e)}Object.defineProperty(_.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),_.prototype.destroy=h.destroy,_.prototype._undestroy=h.undestroy,_.prototype._destroy=function(t,e){e(t)},_.prototype.push=function(t,e){var r,o=this._readableState;return o.objectMode?r=!0:"string"===typeof t&&((e=e||o.defaultEncoding)!==o.encoding&&(t=n.from(t,e),e=""),r=!0),E(this,t,e,!1,r)},_.prototype.unshift=function(t){return E(this,t,null,!0,!1)},_.prototype.isPaused=function(){return!1===this._readableState.flowing},_.prototype.setEncoding=function(t){a||(a=ur().StringDecoder);var e=new a(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;
vendor: 5,685 bytes, line 2
2for(var r=this._readableState.buffer.head,n="";null!==r;)n+=e.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var S=1073741824;function k(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=S?t=S:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function A(t){var e=t._readableState;i("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(i("emitReadable",e.flowing),e.emittedReadable=!0,it.nextTick(I,t))}function I(t){var e=t._readableState;i("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,P(t)}function R(t,e){e.readingMore||(e.readingMore=!0,it.nextTick(C,t,e))}function C(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(i("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function N(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function O(t){i("readable nexttick read 0"),t.read(0)}function F(t,e){i("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),P(t),e.flowing&&!e.reading&&t.read(0)}function P(t){var e=t._readableState;for(i("flow",e.flowing);e.flowing&&null!==t.read(););}function D(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function B(t){var e=t._readableState;i("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,it.nextTick(L,e,t))}function L(t,e){if(i("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function U(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}return _.prototype.read=function(t){i("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return i("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):A(this),null;if(0===(t=k(t,e))&&e.ended)return 0===e.length&&B(this),null;var n,o=e.needReadable;return i("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&i("length less than watermark",o=!0),e.ended||e.reading?i("reading or ended",o=!1):o&&(i("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=k(r,e))),null===(n=t>0?D(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&B(this)),null!==n&&this.emit("data",n),n},_.prototype._read=function(t){y(this,new w("_read()"))},_.prototype.pipe=function(t,r){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,i("pipe count=%d opts=%j",o.pipesCount,r);var s=(!r||!1!==r.end)&&t!==it.stdout&&t!==it.stderr?c:m;function a(e,r){i("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,i("cleanup"),t.removeListener("close",f),t.removeListener("finish",d),t.removeListener("drain",u),t.removeListener("error",p),t.removeListener("unpipe",a),n.removeListener("end",c),n.removeListener("end",m),n.removeListener("data",h),l=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||u())}function c(){i("onend"),t.end()}o.endEmitted?it.nextTick(s):n.once("end",s),t.on("unpipe",a);var u=function(t){return function(){var r=t._readableState;i("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&e(t,"data")&&(r.flowing=!0,P(t))}}(n);t.on("drain",u);var l=!1;function h(e){i("ondata");var r=t.write(e);i("dest.write",r),!1===r&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==U(o.pipes,t))&&!l&&(i("false write response, pause",o.awaitDrain),o.awaitDrain++),n.pause())}function p(r){i("onerror",r),m(),t.removeListener("error",p),0===e(t,"error")&&y(t,r)}function f(){t.removeListener("finish",d),m()}function d(){i("onfinish"),t.removeListener("close",f),m()}function m(){i("unpipe"),n.unpipe(t)}return n.on("data",h),function(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",p),t.once("close",f),t.once("finish",d),t.emit("pipe",n),o.flowing||(i("pipe resume"),n.resume()),t},_.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var s=U(e.pipes,t);return-1===s||(e.pipes.splice(s,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},_.prototype.on=function(t,e){var n=r.prototype.on.call(this,t,e),o=this._readableState;return"data"===t?(o.readableListening=this.listenerCount("readable")>
20,!1!==o.flowing&&this.resume()):"readable"===t&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,i("on readable",o.length,o.reading),o.length?A(this):o.reading||it.nextTick(O,this))),n},_.prototype.addListener=_.prototype.on,_.prototype.removeListener=function(t,e){var n=r.prototype.removeListener.call(this,t,e);return"readable"===t&&it.nextTick(N,this),n},_.prototype.removeAllListeners=function(t){var e=r.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||it.nextTick(N,this),e},_.prototype.resume=function(){var t=this._readableState;return t.flowing||(i("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,it.nextTick(F,t,e))}(this,t)),t.paused=!1,this},_.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},_.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var o in t.on("end",function(){if(i("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(o){(i("wrapped data"),r.decoder&&(o=r.decoder.write(o)),!r.objectMode||null!==o&&void 0!==o)&&((r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause())))}),t)void 0===this[o]&&"function"===typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var s=0;s<b.length;s++)t.on(b[s],this.emit.bind(this,b[s]));return this._read=function(e){i("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"===typeof Symbol&&(_.prototype[Symbol.asyncIterator]=function(){return void 0===c&&(c=hr()),c(this)}),Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(_.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(_.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),_._fromList=D,Object.defineProperty(_.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(_.from=function(t,e){return void 0===u&&(u=Qe?Je:(Qe=1,Je=function(){throw new Error("Readable.from is not available in the browser")})),u(_,t,e)}),$e}function fr(){if(rr)return er;rr=1,er=a;var t=je().codes,e=t.ERR_METHOD_NOT_IMPLEMENTED,r=t.ERR_MULTIPLE_CALLBACK,n=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=t.ERR_TRANSFORM_WITH_LENGTH_0,i=He();function s(t,e){var n=this._transformState;n.transforming=!1;var o=n.writecb;if(null===o)return this.emit("error",new r);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),o(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(t){if(!(this instanceof a))return new a(t);i.call(this,t),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",c)}function c(){var t=this;"function"!==typeof this._flush||this._readableState.destroyed?u(this,null,null):this._flush(function(e,r){u(t,e,r)})}function u(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new o;if(t._transformState.transforming)throw new n;return t.push(null)}return W(a,i),a.prototype.push=function(t,e){return this._transformState.needTransform=!1,i.prototype.push.call(this,t,e)},a.prototype._transform=function(t,r,n){n(new e("_transform()"))},a.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},a.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},a.prototype._destroy=function(t,e){i.prototype._destroy.call(this,t,function(t){e(t)})},er}var dr=wr,mr=j.EventEmitter;function wr(){mr.call(this)}W(wr,mr),wr.Readable=pr(),wr.Writable=Ke(),wr.Duplex=He(),wr.Transform=fr(),wr.PassThrough=function(){if(or)return nr;or=1,nr=e;var t=fr();function e(r){if(!(this instanceof e))return new e(r);t.call(this,r)}return W(e,t),e.prototype._transform=function(t,e,r){r(null,t)},nr}(),wr.finished=lr(),wr.pipeline=function(){if(sr)return ir;var t;sr=1;var e=je().codes,r=e.ERR_MISSING_ARGS,n=e.ERR_STREAM_DESTROYED;function o(t){if(t)throw t}function i(t){t()}function s(t,e){return t.pipe(e)}return ir=function(){for(var e=arguments.length,a=new Array(e),c=0;c<e;c++)a[c]=arguments[c];var u,l=function(t){return t.length?"function"!==typeof t[t.length-1]?o:t.pop():o}(a);if(Array.isArray(a[0])&&(a=a[0]),a.length<2)throw new r("streams");var h=a.map(function(e,r){var o=r<a.length-1;return function(e,r,o,i){i=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(i);var s=!1;e.on("close",function(){s=!0}),void 0===t&&(t=lr()),t(e,{readable:r,writable:o},function(t){if(t)return i(t);s=!0,i()});var a=!1;return function(t){if(!s&&!a)return a=!0,function(t){return t.setHeader&&"function"===typeof t.abort}(e)?e.abort():"function"===typeof e.destroy?e.destroy():void i(t||new n("pipe"))}}(e,o,r>
vendor: 5,151 bytes, line 2
20,function(t){u||(u=t),t&&h.forEach(i),o||(h.forEach(i),l(u))})});return a.reduce(s)},ir}(),wr.Stream=wr,wr.prototype.pipe=function(t,e){var r=this;function n(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",n),t.on("drain",o),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",a));var i=!1;function s(){i||(i=!0,t.end())}function a(){i||(i=!0,"function"===typeof t.destroy&&t.destroy())}function c(t){if(u(),0===mr.listenerCount(this,"error"))throw t}function u(){r.removeListener("data",n),t.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",a),r.removeListener("error",c),t.removeListener("error",c),r.removeListener("end",u),r.removeListener("close",u),t.removeListener("close",u)}return r.on("error",c),t.on("error",c),r.on("end",u),r.on("close",u),t.on("close",u),t.emit("pipe",r),t},function(t){t.parser=function(t,e){return new n(t,e)},t.SAXParser=n,t.SAXStream=i,t.createStream=function(t,e){return new i(t,e)},t.MAX_BUFFER_LENGTH=65536;var e,r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function n(e,o){if(!(this instanceof n))return new n(e,o);var i=this;!function(t){for(var e=0,n=r.length;e<n;e++)t[r[e]]=""}(i),i.q=i.c="",i.bufferCheckPosition=t.MAX_BUFFER_LENGTH,i.opt=o||{},i.opt.lowercase=i.opt.lowercase||i.opt.lowercasetags,i.looseCase=i.opt.lowercase?"toLowerCase":"toUpperCase",i.tags=[],i.closed=i.closedRoot=i.sawRoot=!1,i.tag=i.error=null,i.strict=!!e,i.noscript=!(!e&&!i.opt.noscript),i.state=v.BEGIN,i.strictEntities=i.opt.strictEntities,i.ENTITIES=i.strictEntities?Object.create(t.XML_ENTITIES):Object.create(t.ENTITIES),i.attribList=[],i.opt.xmlns&&(i.ns=Object.create(l)),i.trackPosition=!1!==i.opt.position,i.trackPosition&&(i.position=i.line=i.column=0),_(i,"onready")}t.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(t){function e(){}return e.prototype=t,new e}),Object.keys||(Object.keys=function(t){var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e}),n.prototype={end:function(){A(this)},write:function(e){var n=this;if(this.error)throw this.error;if(n.closed)return k(n,"Cannot write after close. Assign an onready handler.");if(null===e)return A(n);"object"===typeof e&&(e=e.toString());for(var o=0,i="";i=B(e,o++),n.c=i,i;)switch(n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++),n.state){case v.BEGIN:if(n.state=v.BEGIN_WHITESPACE,"\ufeff"===i)continue;D(n,i);continue;case v.BEGIN_WHITESPACE:D(n,i);continue;case v.TEXT:if(n.sawRoot&&!n.closedRoot){for(var c=o-1;i&&"<"!==i&&"&"!==i;)(i=B(e,o++))&&n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++);n.textNode+=e.substring(c,o-1)}"<"!==i||n.sawRoot&&n.closedRoot&&!n.strict?(m(i)||n.sawRoot&&!n.closedRoot||I(n,"Text data outside of root node."),"&"===i?n.state=v.TEXT_ENTITY:n.textNode+=i):(n.state=v.OPEN_WAKA,n.startTagPosition=n.position);continue;case v.SCRIPT:"<"===i?n.state=v.SCRIPT_ENDING:n.script+=i;continue;case v.SCRIPT_ENDING:"/"===i?n.state=v.CLOSE_TAG:(n.script+="<"+i,n.state=v.SCRIPT);continue;case v.OPEN_WAKA:if("!"===i)n.state=v.SGML_DECL,n.sgmlDecl="";else if(m(i));else if(y(h,i))n.state=v.OPEN_TAG,n.tagName=i;else if("/"===i)n.state=v.CLOSE_TAG,n.tagName="";else if("?"===i)n.state=v.PROC_INST,n.procInstName=n.procInstBody="";else{if(I(n,"Unencoded <"),n.startTagPosition+1<n.position){var u=n.position-n.startTagPosition;i=new Array(u).join(" ")+i}n.textNode+="<"+i,n.state=v.TEXT}continue;case v.SGML_DECL:(n.sgmlDecl+i).toUpperCase()===s?(E(n,"onopencdata"),n.state=v.CDATA,n.sgmlDecl="",n.cdata=""):n.sgmlDecl+i==="--"?(n.state=v.COMMENT,n.comment="",n.sgmlDecl=""):(n.sgmlDecl+i).toUpperCase()===a?(n.state=v.DOCTYPE,(n.doctype||n.sawRoot)&&I(n,"Inappropriately located doctype declaration"),n.doctype="",n.sgmlDecl=""):">"===i?(E(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=v.TEXT):w(i)?(n.state=v.SGML_DECL_QUOTED,n.sgmlDecl+=i):n.sgmlDecl+=i;continue;case v.SGML_DECL_QUOTED:i===n.q&&(n.state=v.SGML_DECL,n.q=""),n.sgmlDecl+=i;continue;case v.DOCTYPE:">"===i?(n.state=v.TEXT,E(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=i,"["===i?n.state=v.DOCTYPE_DTD:w(i)&&(n.state=v.DOCTYPE_QUOTED,n.q=i));continue;case v.DOCTYPE_QUOTED:n.doctype+=i,i===n.q&&(n.q="",n.state=v.DOCTYPE);continue;case v.DOCTYPE_DTD:n.doctype+=i,"]"===i?n.state=v.DOCTYPE:w(i)&&(n.state=v.DOCTYPE_DTD_QUOTED,n.q=i);continue;case v.DOCTYPE_DTD_QUOTED:n.doctype+=i,i===n.q&&(n.state=v.DOCTYPE_DTD,n.q="");continue;case v.COMMENT:"-"===i?n.state=v.COMMENT_ENDING:n.comment+=i;continue;case v.COMMENT_ENDING:"-"===i?(n.state=v.COMMENT_ENDED,n.comment=S(n.opt,n.comment),n.comment&&E(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+i,n.state=v.COMMENT);continue;case v.COMMENT_ENDED:">"!==i?(I(n,"Malformed comment"),n.comment+="--"+i,n.state=v.COMMENT):n.state=v.TEXT;continue;
vendor: 4,590 bytes, line 2
2case v.CDATA:"]"===i?n.state=v.CDATA_ENDING:n.cdata+=i;continue;case v.CDATA_ENDING:"]"===i?n.state=v.CDATA_ENDING_2:(n.cdata+="]"+i,n.state=v.CDATA);continue;case v.CDATA_ENDING_2:">"===i?(n.cdata&&E(n,"oncdata",n.cdata),E(n,"onclosecdata"),n.cdata="",n.state=v.TEXT):"]"===i?n.cdata+="]":(n.cdata+="]]"+i,n.state=v.CDATA);continue;case v.PROC_INST:"?"===i?n.state=v.PROC_INST_ENDING:m(i)?n.state=v.PROC_INST_BODY:n.procInstName+=i;continue;case v.PROC_INST_BODY:if(!n.procInstBody&&m(i))continue;"?"===i?n.state=v.PROC_INST_ENDING:n.procInstBody+=i;continue;case v.PROC_INST_ENDING:">"===i?(E(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=v.TEXT):(n.procInstBody+="?"+i,n.state=v.PROC_INST_BODY);continue;case v.OPEN_TAG:y(p,i)?n.tagName+=i:(R(n),">"===i?O(n):"/"===i?n.state=v.OPEN_TAG_SLASH:(m(i)||I(n,"Invalid character in tag name"),n.state=v.ATTRIB));continue;case v.OPEN_TAG_SLASH:">"===i?(O(n,!0),F(n)):(I(n,"Forward-slash in opening tag not followed by >"),n.state=v.ATTRIB);continue;case v.ATTRIB:if(m(i))continue;">"===i?O(n):"/"===i?n.state=v.OPEN_TAG_SLASH:y(h,i)?(n.attribName=i,n.attribValue="",n.state=v.ATTRIB_NAME):I(n,"Invalid attribute name");continue;case v.ATTRIB_NAME:"="===i?n.state=v.ATTRIB_VALUE:">"===i?(I(n,"Attribute without value"),n.attribValue=n.attribName,N(n),O(n)):m(i)?n.state=v.ATTRIB_NAME_SAW_WHITE:y(p,i)?n.attribName+=i:I(n,"Invalid attribute name");continue;case v.ATTRIB_NAME_SAW_WHITE:if("="===i)n.state=v.ATTRIB_VALUE;else{if(m(i))continue;I(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",E(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===i?O(n):y(h,i)?(n.attribName=i,n.state=v.ATTRIB_NAME):(I(n,"Invalid attribute name"),n.state=v.ATTRIB)}continue;case v.ATTRIB_VALUE:if(m(i))continue;w(i)?(n.q=i,n.state=v.ATTRIB_VALUE_QUOTED):(I(n,"Unquoted attribute value"),n.state=v.ATTRIB_VALUE_UNQUOTED,n.attribValue=i);continue;case v.ATTRIB_VALUE_QUOTED:if(i!==n.q){"&"===i?n.state=v.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=i;continue}N(n),n.q="",n.state=v.ATTRIB_VALUE_CLOSED;continue;case v.ATTRIB_VALUE_CLOSED:m(i)?n.state=v.ATTRIB:">"===i?O(n):"/"===i?n.state=v.OPEN_TAG_SLASH:y(h,i)?(I(n,"No whitespace between attributes"),n.attribName=i,n.attribValue="",n.state=v.ATTRIB_NAME):I(n,"Invalid attribute name");continue;case v.ATTRIB_VALUE_UNQUOTED:if(!g(i)){"&"===i?n.state=v.ATTRIB_VALUE_ENTITY_U:n.attribValue+=i;continue}N(n),">"===i?O(n):n.state=v.ATTRIB;continue;case v.CLOSE_TAG:if(n.tagName)">"===i?F(n):y(p,i)?n.tagName+=i:n.script?(n.script+="</"+n.tagName,n.tagName="",n.state=v.SCRIPT):(m(i)||I(n,"Invalid tagname in closing tag"),n.state=v.CLOSE_TAG_SAW_WHITE);else{if(m(i))continue;b(h,i)?n.script?(n.script+="</"+i,n.state=v.SCRIPT):I(n,"Invalid tagname in closing tag."):n.tagName=i}continue;case v.CLOSE_TAG_SAW_WHITE:if(m(i))continue;">"===i?F(n):I(n,"Invalid characters in closing tag");continue;case v.TEXT_ENTITY:case v.ATTRIB_VALUE_ENTITY_Q:case v.ATTRIB_VALUE_ENTITY_U:var l,x;switch(n.state){case v.TEXT_ENTITY:l=v.TEXT,x="textNode";break;case v.ATTRIB_VALUE_ENTITY_Q:l=v.ATTRIB_VALUE_QUOTED,x="attribValue";break;case v.ATTRIB_VALUE_ENTITY_U:l=v.ATTRIB_VALUE_UNQUOTED,x="attribValue"}";"===i?(n[x]+=P(n),n.entity="",n.state=l):y(n.entity.length?d:f,i)?n.entity+=i:(I(n,"Invalid character in entity name"),n[x]+="&"+n.entity+i,n.entity="",n.state=l);continue;default:throw new Error(n,"Unknown state: "+n.state)}return n.position>=n.bufferCheckPosition&&function(e){for(var n=Math.max(t.MAX_BUFFER_LENGTH,10),o=0,i=0,s=r.length;i<s;i++){var a=e[r[i]].length;if(a>n)switch(r[i]){case"textNode":T(e);break;case"cdata":E(e,"oncdata",e.cdata),e.cdata="";break;case"script":E(e,"onscript",e.script),e.script="";break;default:k(e,"Max buffer length exceeded: "+r[i])}o=Math.max(o,a)}var c=t.MAX_BUFFER_LENGTH-o;e.bufferCheckPosition=c+e.position}(n),n},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var t;T(t=this),""!==t.cdata&&(E(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(E(t,"onscript",t.script),t.script="")}};try{e=dr.Stream}catch(L){e=function(){}}var o=t.EVENTS.filter(function(t){return"error"!==t&&"end"!==t});function i(t,r){if(!(this instanceof i))return new i(t,r);e.apply(this),this._parser=new n(t,r),this.writable=!0,this.readable=!0;var s=this;this._parser.onend=function(){s.emit("end")},this._parser.onerror=function(t){s.emit("error",t),s._parser.error=null},this._decoder=null,o.forEach(function(t){Object.defineProperty(s,"on"
2+t,{get:function(){return s._parser["on"+t]},set:function(e){if(!e)return s.removeAllListeners(t),s._parser["on"+t]=e,e;s.on(t,e)},enumerable:!0,configurable:!1})})}i.prototype=Object.create(e.prototype,{constructor:{value:i}}),i.prototype.write=function(t){if("function"===typeof Buffer&&"function"===typeof Buffer.isBuffer&&Buffer.isBuffer(t)){if(!this._decoder){var e=ur().StringDecoder;this._decoder=new e("utf8")}t=this._decoder.write(t)}return this._parser.write(t.toString()),this.emit("data",t),!0},i.prototype.end=function(t){return t&&t.length&&this.write(t),this._parser.end(),!0},i.prototype.on=function(t,r){var n=this;return n._parser["on"+t]||-1===o.indexOf(t)||(n._parser["on"+t]=function(){var e=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),n.emit.apply(n,e)}),e.prototype.on.call(n,t,r)};var s="[CDATA[",a="DOCTYPE",c="http://www.w3.org/XML/1998/namespace",u="http://www.w3.org/2000/xmlns/",l={xml:c,xmlns:u},h=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,f=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,d=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function m(t){return" "===t||"\n"===t||"\r"===t||"\t"===t}function w(t){return'"'===t||"'"===t}function g(t){return">"===t||m(t)}function y(t,e){return t.test(e)}function b(t,e){return!y(t,e)}var v=0;for(var x in t.STATE={BEGIN:v++,BEGIN_WHITESPACE:v++,TEXT:v++,TEXT_ENTITY:v++,OPEN_WAKA:v++,SGML_DECL:v++,SGML_DECL_QUOTED:v++,DOCTYPE:v++,DOCTYPE_QUOTED:v++,DOCTYPE_DTD:v++,DOCTYPE_DTD_QUOTED:v++,COMMENT_STARTING:v++,COMMENT:v++,COMMENT_ENDING:v++,COMMENT_ENDED:v++,CDATA:v++,CDATA_ENDING:v++,CDATA_ENDING_2:v++,PROC_INST:v++,PROC_INST_BODY:v++,PROC_INST_ENDING:v++,OPEN_TAG:v++,OPEN_TAG_SLASH:v++,ATTRIB:v++,ATTRIB_NAME:v++,ATTRIB_NAME_SAW_WHITE:v++,ATTRIB_VALUE:v++,ATTRIB_VALUE_QUOTED:v++,ATTRIB_VALUE_CLOSED:v++,ATTRIB_VALUE_UNQUOTED:v++,ATTRIB_VALUE_ENTITY_Q:v++,ATTRIB_VALUE_ENTITY_U:v++,CLOSE_TAG:v++,CLOSE_TAG_SAW_WHITE:v++,SCRIPT:v++,SCRIPT_ENDING:v++},t.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},t.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:1
vendor: 4,094 bytes, line 2
274,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(t.ENTITIES).forEach(function(e){var r=t.ENTITIES[e],n="number"===typeof r?String.fromCharCode(r):r;t.ENTITIES[e]=n}),t.STATE)t.STATE[t.STATE[x]]=x;function _(t,e,r){t[e]&&t[e](r)}function E(t,e,r){t.textNode&&T(t),_(t,e,r)}function T(t){t.textNode=S(t.opt,t.textNode),t.textNode&&_(t,"ontext",t.textNode),t.textNode=""}function S(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function k(t,e){return T(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,_(t,"onerror",e),t}function A(t){return t.sawRoot&&!t.closedRoot&&I(t,"Unclosed root tag"),t.state!==v.BEGIN&&t.state!==v.BEGIN_WHITESPACE&&t.state!==v.TEXT&&k(t,"Unexpected end"),T(t),t.c="",t.closed=!0,_(t,"onend"),n.call(t,t.strict,t.opt),t}function I(t,e){if("object"!==typeof t||!(t instanceof n))throw new Error("bad call to strictFail");t.strict&&k(t,e)}function R(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,r=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(r.ns=e.ns),t.attribList.length=0,E(t,"onopentagstart",r)}function C(t,e){var r=t.indexOf(":")<0?["",t]:t.split(":"),n=r[0],o=r[1];return e&&"xmlns"===t&&(n="xmlns",o=""),{prefix:n,local:o}}function N(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))t.attribName=t.attribValue="";else{if(t.opt.xmlns){var e=C(t.attribName,!0),r=e.prefix,n=e.local;if("xmlns"===r)if("xml"===n&&t.attribValue!==c)I(t,"xml: prefix must be bound to "+c+"\nActual: "+t.attribValue);else if("xmlns"===n&&t.attribValue!==u)I(t,"xmlns: prefix must be bound to "+u+"\nActual: "+t.attribValue);else{var o=t.tag,i=t.tags[t.tags.length-1]||t;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[n]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,E(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}}function O(t,e){if(t.opt.xmlns){var r=t.tag,n=C(t.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(I(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),r.uri=n.prefix);var o=t.tags[t.tags.length-1]||t;
2r.ns&&o.ns!==r.ns&&Object.keys(r.ns).forEach(function(e){E(t,"onopennamespace",{prefix:e,uri:r.ns[e]})});for(var i=0,s=t.attribList.length;i<s;i++){var a=t.attribList[i],c=a[0],u=a[1],l=C(c,!0),h=l.prefix,p=l.local,f=""===h?"":r.ns[h]||"",d={name:c,value:u,prefix:h,local:p,uri:f};h&&"xmlns"!==h&&!f&&(I(t,"Unbound namespace prefix: "+JSON.stringify(h)),d.uri=h),t.tag.attributes[c]=d,E(t,"onattribute",d)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),E(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=v.TEXT:t.state=v.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function F(t){if(!t.tagName)return I(t,"Weird empty close tag."),t.textNode+="</>",void(t.state=v.TEXT);if(t.script){if("script"!==t.tagName)return t.script+="</"+t.tagName+">",t.tagName="",void(t.state=v.SCRIPT);E(t,"onscript",t.script),t.script=""}var e=t.tags.length,r=t.tagName;t.strict||(r=r[t.looseCase]());for(var n=r;e--&&t.tags[e].name!==n;)I(t,"Unexpected close tag");if(e<0)return I(t,"Unmatched closing tag: "+t.tagName),t.textNode+="</"+t.tagName+">",void(t.state=v.TEXT);t.tagName=r;for(var o=t.tags.length;o-- >e;){var i=t.tag=t.tags.pop();t.tagName=t.tag.name,E(t,"onclosetag",t.tagName);var s={};for(var a in i.ns)s[a]=i.ns[a];var c=t.tags[t.tags.length-1]||t;t.opt.xmlns&&i.ns!==c.ns&&Object.keys(i.ns).forEach(function(e){var r=i.ns[e];E(t,"onclosenamespace",{prefix:e,uri:r})})}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=v.TEXT}function P(t){var e,r=t.entity,n=r.toLowerCase(),o="";return t.ENTITIES[r]?t.ENTITIES[r]:t.ENTITIES[n]?t.ENTITIES[n]:("#"===(r=n).charAt(0)&&("x"===r.charAt(1)?(r=r.slice(2),o=(e=parseInt(r,16)).toString(16)):(r=r.slice(1),o=(e=parseInt(r,10)).toString(10))),r=r.replace(/^0+/,""),isNaN(e)||o.toLowerCase()!==r?(I(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e))}function D(t,e){"<"===e?(t.state=v.OPEN_WAKA,t.startTagPosition=t.position):m(e)||(I(t,"Non-whitespace before first tag."),t.textNode=e,t.state=v.TEXT)}function B(t,e){var r="";return e<t.length&&(r=t.charAt(e)),r}v=t.STATE,String.fromCodePoint||function(){var t=String.fromCharCode,e=Math.floor,r=function(){var r,n,o=[],i=-1,s=arguments.length;if(!s)return"";for(var a="";++i<s;){var c=Number(arguments[i]);if(!isFinite(c)||c<0||c>1114111||e(c)!==c)throw RangeError("Invalid code point: "+c);c<=65535?o.push(c):(r=55296+((c-=65536)>>10),n=c%1024+56320,o.push(r,n)),(i+1===s||o.length>16384)&&(a+=t.apply(null,o),o.length=0)}return a};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:r,configurable:!0,writable:!0}):String.fromCodePoint=r}()}(T);var gr,yr,br=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},vr=br,xr={copyOptions:function(t){var e,r={};for(e in t)t.hasOwnProperty(e)&&(r[e]=t[e]);return r},ensureFlagExists:function(t,e){t in e&&"boolean"===typeof e[t]||(e[t]=!1)},ensureSpacesExists:function(t){(!("spaces"in t)||"number"!==typeof t.spaces&&"string"!==typeof t.spaces)&&(t.spaces=0)},ensureAlwaysArrayExists:function(t){"alwaysArray"in t&&("boolean"===typeof t.alwaysArray||vr(t.alwaysArray))||(t.alwaysArray=!1)},ensureKeyExists:function(t,e){t+"Key"in e&&"string"===typeof e[t+"Key"]||(e[t+"Key"]=e.compact?"_"+t:t)},checkFnExists:function(t,e){return t+"Fn"in e}},_r=T,Er=xr,Tr=br;function Sr(t){var e=Number(t);if(!isNaN(e))return e;var r=t.toLowerCase();return"true"===r||"false"!==r&&t}function kr(t,e){var r;if(gr.compact){if(!yr[gr[t+"Key"]]&&(Tr(gr.alwaysArray)?-1!==gr.alwaysArray.indexOf(gr[t+"Key"]):gr.alwaysArray)&&(yr[gr[t+"Key"]]=[]),yr[gr[t+"Key"]]&&!Tr(yr[gr[t+"Key"]])&&(yr[gr[t+"Key"]]=[yr[gr[t+"Key"]]]),t+"Fn"in gr&&"string"===typeof e&&(e=gr[t+"Fn"](e,yr)),"instruction"===t&&("instructionFn"in gr||"instructionNameFn"in gr))for(r in e)if(e.hasOwnProperty(r))if("instructionFn"in gr)e[r]=gr.instructionFn(e[r],r,yr);else{var n=e[r];delete e[r],e[gr.instructionNameFn(r,n,yr)]=n}Tr(yr[gr[t+"Key"]])?yr[gr[t+"Key"]].push(e):yr[gr[t+"Key"]]=e}else{yr[gr.elementsKey]||(yr[gr.elementsKey]=[]);var o={};if(o[gr.typeKey]=t,"instruction"===t){for(r in e)if(e.hasOwnProperty(r))break;o[gr.nameKey]="instructionNameFn"in gr?gr.instructionNameFn(r,e,yr):r,gr.instructionHasAttributes?(o[gr.attributesKey]=e[r][gr.attributesKey],"instructionFn"in gr&&(o[gr.attributesKey]=gr.instructionFn(o[gr.attributesKey],r,yr))):("instructionFn"in gr&&(e[r]=gr.instructionFn(e[r],r,yr)),o[gr.instructionKey]=e[r])}else t+"Fn"in gr&&(e=gr[t+"Fn"](e,yr)),o[gr[t+"Key"]]=e;gr.addParent&&(o[gr.parentKey]=yr),yr[gr.elementsKey].push(o)}}function Ar(t){var e;if("attributesFn"in gr&&t&&(t=gr.attributesFn(t,yr)),(gr.trim||"attributeValueFn"in gr||"attributeNameFn"in gr||gr.nativeTypeAttributes)&&t)for(e in t)if(t.hasOwnProperty(e)&&(gr.trim&&(t[e]=t[e].trim()),gr.nativeTypeAttributes&&(t[e]=Sr(t[e])),"attributeValueFn"in gr&&(t[e]=gr.attributeValueFn(t[e],e,yr)),"attributeNameFn"in gr)){var r=t[e];delete t[e],t[gr.attributeNameFn(e,t[e],yr)]=r}return t}function Ir(t){var e={};if(t.body&&("xml"===t.name.toLowerCase()||gr.instructionHasAttributes)){for(var r,n=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(r=n.exec(t.body));)e[r[1]]=r[2]||r[3]||r[4];e=Ar(e)}if("xml"===t.name.toLowerCase()){if(gr.ignoreDeclaration)return;yr[gr.declarationKey]={},Object.keys(e).length&&(yr[gr.declarationKey][gr.attributesKey]=e),gr.addParent&&(yr[gr.declarationKey][gr.parentKey]=yr)}else{if(gr.ignoreInstruction)return;gr.trim&&(t.body=t.body.trim());var o={};gr.instructionHasAttributes&&Object.keys(e).length?(o[t.name]={}
2,o[t.name][gr.attributesKey]=e):o[t.name]=t.body,kr("instruction",o)}}function Rr(t,e){var r;if("object"===typeof t&&(e=t.attributes,t=t.name),e=Ar(e),"elementNameFn"in gr&&(t=gr.elementNameFn(t,yr)),gr.compact){var n;if(r={},!gr.ignoreAttributes&&e&&Object.keys(e).length)for(n in r[gr.attributesKey]={},e)e.hasOwnProperty(n)&&(r[gr.attributesKey][n]=e[n]);!(t in yr)&&(Tr(gr.alwaysArray)?-1!==gr.alwaysArray.indexOf(t):gr.alwaysArray)&&(yr[t]=[]),yr[t]&&!Tr(yr[t])&&(yr[t]=[yr[t]]),Tr(yr[t])?yr[t].push(r):yr[t]=r}else yr[gr.elementsKey]||(yr[gr.elementsKey]=[]),(r={})[gr.typeKey]="element",r[gr.nameKey]=t,!gr.ignoreAttributes&&e&&Object.keys(e).length&&(r[gr.attributesKey]=e),gr.alwaysChildren&&(r[gr.elementsKey]=[]),yr[gr.elementsKey].push(r);r[gr.parentKey]=yr,yr=r}function Cr(t){gr.ignoreText||(t.trim()||gr.captureSpacesBetweenElements)&&(gr.trim&&(t=t.trim()),gr.nativeType&&(t=Sr(t)),gr.sanitize&&(t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")),kr("text",t))}function Nr(t){gr.ignoreComment||(gr.trim&&(t=t.trim()),kr("comment",t))}function Or(t){var e=yr[gr.parentKey];gr.addParent||delete yr[gr.parentKey],yr=e}function Fr(t){gr.ignoreCdata||(gr.trim&&(t=t.trim()),kr("cdata",t))}function Pr(t){gr.ignoreDoctype||(t=t.replace(/^ /,""),gr.trim&&(t=t.trim()),kr("doctype",t))}function Dr(t){t.note=t}var Br=function(t,e){var r=_r.parser(!0,{}),n={};if(yr=n,gr=function(t){return gr=Er.copyOptions(t),Er.ensureFlagExists("ignoreDeclaration",gr),Er.ensureFlagExists("ignoreInstruction",gr),Er.ensureFlagExists("ignoreAttributes",gr),Er.ensureFlagExists("ignoreText",gr),Er.ensureFlagExists("ignoreComment",gr),Er.ensureFlagExists("ignoreCdata",gr),Er.ensureFlagExists("ignoreDoctype",gr),Er.ensureFlagExists("compact",gr),Er.ensureFlagExists("alwaysChildren",gr),Er.ensureFlagExists("addParent",gr),Er.ensureFlagExists("trim",gr),Er.ensureFlagExists("nativeType",gr),Er.ensureFlagExists("nativeTypeAttributes",gr),Er.ensureFlagExists("sanitize",gr),Er.ensureFlagExists("instructionHasAttributes",gr),Er.ensureFlagExists("captureSpacesBetweenElements",gr),Er.ensureAlwaysArrayExists(gr),Er.ensureKeyExists("declaration",gr),Er.ensureKeyExists("instruction",gr),Er.ensureKeyExists("attributes",gr),Er.ensureKeyExists("text",gr),Er.ensureKeyExists("comment",gr),Er.ensureKeyExists("cdata",gr),Er.ensureKeyExists("doctype",gr),Er.ensureKeyExists("type",gr),Er.ensureKeyExists("name",gr),Er.ensureKeyExists("elements",gr),Er.ensureKeyExists("parent",gr),Er.checkFnExists("doctype",gr),Er.checkFnExists("instruction",gr),Er.checkFnExists("cdata",gr),Er.checkFnExists("comment",gr),Er.checkFnExists("text",gr),Er.checkFnExists("instructionName",gr),Er.checkFnExists("elementName",gr),Er.checkFnExists("attributeName",gr),Er.checkFnExists("attributeValue",gr),Er.checkFnExists("attributes",gr),gr}(e),r.opt={strictEntities:!0},r.onopentag=Rr,r.ontext=Cr,r.oncomment=Nr,r.onclosetag=Or,r.onerror=Dr,r.oncdata=Fr,r.ondoctype=Pr,r.onprocessinginstruction=Ir,r.write(t).close(),n[gr.elementsKey]){var o=n[gr.elementsKey];delete n[gr.elementsKey],n[gr.elementsKey]=o,delete n.text}return n},Lr=xr,Ur=Br;var Mr,jr,zr=xr,Wr=br;function Kr(t,e,r){return(!r&&t.spaces?"\n":"")+Array(e+1).join(t.spaces)}function Hr(t,e,r){if(e.ignoreAttributes)return"";"attributesFn"in e&&(t=e.attributesFn(t,jr,Mr));var n,o,i,s,a=[];for(n in t)t.hasOwnProperty(n)&&null!==t[n]&&void 0!==t[n]&&(s=e.noQuotesForNativeAttributes&&"string"!==typeof t[n]?"":'"',o=(o=""+t[n]).replace(/"/g,"&quot;"),i="attributeNameFn"in e?e.attributeNameFn(n,o,jr,Mr):n,a.push(e.spaces&&e.indentAttributes?Kr(e,r+1,!1):" "),a.push(i+"="+s+("attributeValueFn"in e?e.attributeValueFn(o,n,jr,Mr):o)+s));return t&&Object.keys(t).length&&e.spaces&&e.indentAttributes&&a.push(Kr(e,r,!1)),a.join("")}function Gr(t,e,r){return Mr=t,jr="xml",e.ignoreDeclaration?"":"<?xml"+Hr(t[e.attributesKey],e,r)+"?>"}function Vr(t,e,r){if(e.ignoreInstruction)return"";var n;for(n in t)if(t.hasOwnProperty(n))break;var o="instructionNameFn"in e?e.instructionNameFn(n,t[n],jr,Mr):n;if("object"===typeof t[n])return Mr=t,jr=o,"<?"+o+Hr(t[n][e.attributesKey],e,r)+"?>";var i=t[n]?t[n]:"";return"instructionFn"in e&&(i=e.instructionFn(i,n,jr,Mr)),"<?"+o+(i?" "+i:"")+"?>"}function qr(t,e){return e.ignoreComment?"":"\x3c!--"+("commentFn"in e?e.commentFn(t,jr,Mr):t)+"--\x3e"}function Zr(t,e){return e.ignoreCdata?"":"<![CDATA["+("cdataFn"in e?e.cdataFn(t,jr,Mr):t.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function Xr(t,e){return e.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in e?e.doctypeFn(t,jr,Mr):t)+">"}function Yr(t,e){return e.ignoreText?"":(t=(t=(t=""+t).replace(/&amp;/g,"&")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"textFn"in e?e.textFn(t,jr,Mr):t)}function Jr(t,e,r,n){return t.reduce(function(t,o){var i=Kr(e,r,n&&!t);switch(o.type){case"element":return t+i+function(t,e,r){Mr=t,jr=t.name;var n=[],o="elementNameFn"in e?e.elementNameFn(t.name,t):t.name;n.push("<"+o),t[e.attributesKey]&&n.push(Hr(t[e.attributesKey],e,r));var i=t[e.elementsKey]&&t[e.elementsKey].length||t[e.attributesKey]&&"preserve"===t[e.attributesKey]["xml:space"];
2return i||(i="fullTagEmptyElementFn"in e?e.fullTagEmptyElementFn(t.name,t):e.fullTagEmptyElement),i?(n.push(">"),t[e.elementsKey]&&t[e.elementsKey].length&&(n.push(Jr(t[e.elementsKey],e,r+1)),Mr=t,jr=t.name),n.push(e.spaces&&function(t,e){var r;if(t.elements&&t.elements.length)for(r=0;r<t.elements.length;++r)switch(t.elements[r][e.typeKey]){case"text":if(e.indentText)return!0;break;case"cdata":if(e.indentCdata)return!0;break;case"instruction":if(e.indentInstruction)return!0;break;default:return!0}return!1}(t,e)?"\n"+Array(r+1).join(e.spaces):""),n.push("</"+o+">")):n.push("/>"),n.join("")}(o,e,r);case"comment":return t+i+qr(o[e.commentKey],e);case"doctype":return t+i+Xr(o[e.doctypeKey],e);case"cdata":return t+(e.indentCdata?i:"")+Zr(o[e.cdataKey],e);case"text":return t+(e.indentText?i:"")+Yr(o[e.textKey],e);case"instruction":var s={};return s[o[e.nameKey]]=o[e.attributesKey]?o:o[e.instructionKey],t+(e.indentInstruction?i:"")+Vr(s,e,r)}},"")}function Qr(t,e,r){var n;for(n in t)if(t.hasOwnProperty(n))switch(n){case e.parentKey:case e.attributesKey:break;case e.textKey:if(e.indentText||r)return!0;break;case e.cdataKey:if(e.indentCdata||r)return!0;break;case e.instructionKey:if(e.indentInstruction||r)return!0;break;case e.doctypeKey:case e.commentKey:default:return!0}return!1}function $r(t,e,r,n,o){Mr=t,jr=e;var i="elementNameFn"in r?r.elementNameFn(e,t):e;if("undefined"===typeof t||null===t||""===t)return"fullTagEmptyElementFn"in r&&r.fullTagEmptyElementFn(e,t)||r.fullTagEmptyElement?"<"+i+"></"+i+">":"<"+i+"/>";var s=[];if(e){if(s.push("<"+i),"object"!==typeof t)return s.push(">"+Yr(t,r)+"</"+i+">"),s.join("");t[r.attributesKey]&&s.push(Hr(t[r.attributesKey],r,n));var a=Qr(t,r,!0)||t[r.attributesKey]&&"preserve"===t[r.attributesKey]["xml:space"];if(a||(a="fullTagEmptyElementFn"in r?r.fullTagEmptyElementFn(e,t):r.fullTagEmptyElement),!a)return s.push("/>"),s.join("");s.push(">")}return s.push(tn(t,r,n+1,!1)),Mr=t,jr=e,e&&s.push((o?Kr(r,n,!1):"")+"</"+i+">"),s.join("")}function tn(t,e,r,n){var o,i,s,a=[];for(i in t)if(t.hasOwnProperty(i))for(s=Wr(t[i])?t[i]:[t[i]],o=0;o<s.length;++o){switch(i){case e.declarationKey:a.push(Gr(s[o],e,r));break;case e.instructionKey:a.push((e.indentInstruction?Kr(e,r,n):"")+Vr(s[o],e,r));break;case e.attributesKey:case e.parentKey:break;case e.textKey:a.push((e.indentText?Kr(e,r,n):"")+Yr(s[o],e));break;case e.cdataKey:a.push((e.indentCdata?Kr(e,r,n):"")+Zr(s[o],e));break;case e.doctypeKey:a.push(Kr(e,r,n)+Xr(s[o],e));break;case e.commentKey:a.push(Kr(e,r,n)+qr(s[o],e));break;default:a.push(Kr(e,r,n)+$r(s[o],i,e,r,Qr(s[o],e)))}n=n&&!a.length}return a.join("")}var en=function(t,e){e=function(t){var e=zr.copyOptions(t);return zr.ensureFlagExists("ignoreDeclaration",e),zr.ensureFlagExists("ignoreInstruction",e),zr.ensureFlagExists("ignoreAttributes",e),zr.ensureFlagExists("ignoreText",e),zr.ensureFlagExists("ignoreComment",e),zr.ensureFlagExists("ignoreCdata",e),zr.ensureFlagExists("ignoreDoctype",e),zr.ensureFlagExists("compact",e),zr.ensureFlagExists("indentText",e),zr.ensureFlagExists("indentCdata",e),zr.ensureFlagExists("indentAttributes",e),zr.ensureFlagExists("indentInstruction",e),zr.ensureFlagExists("fullTagEmptyElement",e),zr.ensureFlagExists("noQuotesForNativeAttributes",e),zr.ensureSpacesExists(e),"number"===typeof e.spaces&&(e.spaces=Array(e.spaces+1).join(" ")),zr.ensureKeyExists("declaration",e),zr.ensureKeyExists("instruction",e),zr.ensureKeyExists("attributes",e),zr.ensureKeyExists("text",e),zr.ensureKeyExists("comment",e),zr.ensureKeyExists("cdata",e),zr.ensureKeyExists("doctype",e),zr.ensureKeyExists("type",e),zr.ensureKeyExists("name",e),zr.ensureKeyExists("elements",e),zr.checkFnExists("doctype",e),zr.checkFnExists("instruction",e),zr.checkFnExists("cdata",e),zr.checkFnExists("comment",e),zr.checkFnExists("text",e),zr.checkFnExists("instructionName",e),zr.checkFnExists("elementName",e),zr.checkFnExists("attributeName",e),zr.checkFnExists("attributeValue",e),zr.checkFnExists("attributes",e),zr.checkFnExists("fullTagEmptyElement",e),e}(e);var r=[];return Mr=t,jr="_root_",e.compact?r.push(tn(t,e,0,!0)):(t[e.declarationKey]&&r.push(Gr(t[e.declarationKey],e,0)),t[e.elementsKey]&&t[e.elementsKey].length&&r.push(Jr(t[e.elementsKey],e,0,!r.length))),r.join("")},rn=en,nn={xml2js:Br,xml2json:function(t,e){var r,n,o;return r=function(t){var e=Lr.copyOptions(t);
2return Lr.ensureSpacesExists(e),e}(e),n=Ur(t,r),o="compact"in r&&r.compact?"_parent":"parent",("addParent"in r&&r.addParent?JSON.stringify(n,function(t,e){return t===o?"_":e},r.spaces):JSON.stringify(n,null,r.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")},js2xml:en,json2xml:function(t,e){t instanceof Buffer&&(t=t.toString());var r=null;if("string"===typeof t)try{r=JSON.parse(t)}catch(n){throw new Error("The JSON structure is invalid")}else r=t;return rn(r,e)}};const on=t=>{switch(t.type){case void 0:case"element":const e=new an(t.name,t.attributes),r=t.elements||[];for(const t of r){const r=on(t);void 0!==r&&e.push(r)}return e;case"text":return t.text;default:return}};class sn extends y{}class an extends w{static fromXmlString(t){const e=nn.xml2js(t,{compact:!1});return on(e)}constructor(t,e){super(t),e&&this.root.push(new sn(e))}push(t){this.root.push(t)}}class cn extends w{constructor(t){super(""),this._attr=t}prepForXml(t){return{_attr:this._attr}}}class un extends w{constructor(t,e){super(t),e&&(this.root=e.root)}}const ln=t=>{if(isNaN(t))throw new Error("Invalid value '".concat(t,"' specified. Must be an integer."));return Math.floor(t)},hn=t=>{const e=ln(t);if(e<0)throw new Error("Invalid value '".concat(t,"' specified. Must be a positive integer."));return e},pn=(t,e)=>{const r=2*e;if(t.length!==r||isNaN(Number("0x".concat(t))))throw new Error("Invalid hex value '".concat(t,"'. Expected ").concat(r," digit hex value"));return t},fn=t=>pn(t,1),dn=t=>{const e=t.slice(-2),r=t.substring(0,t.length-2);return"".concat(Number(r)).concat(e)},mn=t=>{const e=dn(t);if(parseFloat(e)<0)throw new Error("Invalid value '".concat(e,"' specified. Expected a positive number."));return e},wn=t=>{if("auto"===t)return t;const e="#"===t.charAt(0)?t.substring(1):t;return pn(e,3)},gn=t=>"string"===typeof t?dn(t):ln(t),yn=t=>"string"===typeof t?mn(t):hn(t),bn=t=>"string"===typeof t?mn(t):hn(t),vn=t=>"number"===typeof t?ln(t):"%"===t.slice(-1)?(t=>{const e=t.substring(0,t.length-1);return"".concat(Number(e),"%")})(t):dn(t),xn=hn,_n=hn;class En extends w{constructor(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];super(t),!0!==e&&this.root.push(new v({val:e}))}}class Tn extends w{constructor(t,e){super(t),this.root.push(new v({val:yn(e)}))}}class Sn extends w{constructor(t,e){super(t),this.root.push(new v({val:e}))}}const kn=(t,e)=>new Cn({name:t,attributes:{value:{key:"w:val",value:e}}});class An extends w{constructor(t,e){super(t),this.root.push(new v({val:e}))}}class In extends w{constructor(t,e){super(t),this.root.push(new v({val:e}))}}class Rn extends w{constructor(t,e){super(t),this.root.push(e)}}class Cn extends w{constructor(t){let{name:e,attributes:r,children:n}=t;super(e),r&&this.root.push(new b(r)),n&&this.root.push(...n)}}const Nn={START:"start",CENTER:"center",END:"end",BOTH:"both",MEDIUM_KASHIDA:"mediumKashida",DISTRIBUTE:"distribute",NUM_TAB:"numTab",HIGH_KASHIDA:"highKashida",LOW_KASHIDA:"lowKashida",THAI_DISTRIBUTE:"thaiDistribute",LEFT:"left",RIGHT:"right",JUSTIFIED:"both"};class On extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val"})}}class Fn extends w{constructor(t){super("w:jc"),this.root.push(new On({val:t}))}}class Pn extends w{constructor(t,e){let{color:r,size:n,space:o,style:i}=e;super(t),this.root.push(new Dn({style:i,color:void 0===r?void 0:wn(r),size:void 0===n?void 0:xn(n),space:void 0===o?void 0:_n(o)}))}}class Dn extends y{constructor(){super(...arguments),p(this,"xmlKeys",{style:"w:val",color:"w:color",size:"w:sz",space:"w:space"})}}const Bn={SINGLE:"single",DASH_DOT_STROKED:"dashDotStroked",DASHED:"dashed",DASH_SMALL_GAP:"dashSmallGap",DOT_DASH:"dotDash",DOT_DOT_DASH:"dotDotDash",DOTTED:"dotted",DOUBLE:"double",DOUBLE_WAVE:"doubleWave",INSET:"inset",NIL:"nil",NONE:"none",OUTSET:"outset",THICK:"thick",THICK_THIN_LARGE_GAP:"thickThinLargeGap",THICK_THIN_MEDIUM_GAP:"thickThinMediumGap",THICK_THIN_SMALL_GAP:"thickThinSmallGap",THIN_THICK_LARGE_GAP:"thinThickLargeGap",THIN_THICK_MEDIUM_GAP:"thinThickMediumGap",THIN_THICK_SMALL_GAP:"thinThickSmallGap",THIN_THICK_THIN_LARGE_GAP:"thinThickThinLargeGap",THIN_THICK_THIN_MEDIUM_GAP:"thinThickThinMediumGap",THIN_THICK_THIN_SMALL_GAP:"thinThickThinSmallGap",THREE_D_EMBOSS:"threeDEmboss",THREE_D_ENGRAVE:"threeDEngrave",TRIPLE:"triple",WAVE:"wave"};class Ln extends g{constructor(t){super("w:pBdr"),t.top&&this.root.push(new Pn("w:top",t.top)),t.bottom&&this.root.push(new Pn("w:bottom",t.bottom)),t.left&&this.root.push(new Pn("w:left",t.left)),t.right&&this.root.push(new Pn("w:right",t.right))}}class Un extends w{constructor(){super("w:pBdr");
2const t=new Pn("w:bottom",{color:"auto",space:1,style:Bn.SINGLE,size:6});this.root.push(t)}}class Mn extends w{constructor(t){let{start:e,end:r,left:n,right:o,hanging:i,firstLine:s}=t;super("w:ind"),this.root.push(new b({start:{key:"w:start",value:void 0===e?void 0:gn(e)},end:{key:"w:end",value:void 0===r?void 0:gn(r)},left:{key:"w:left",value:void 0===n?void 0:gn(n)},right:{key:"w:right",value:void 0===o?void 0:gn(o)},hanging:{key:"w:hanging",value:void 0===i?void 0:bn(i)},firstLine:{key:"w:firstLine",value:void 0===s?void 0:bn(s)}}))}}let jn=class extends w{constructor(){super("w:br")}};const zn="begin",Wn="end",Kn="separate";class Hn extends y{constructor(){super(...arguments),p(this,"xmlKeys",{type:"w:fldCharType",dirty:"w:dirty"})}}class Gn extends w{constructor(t){super("w:fldChar"),this.root.push(new Hn({type:zn,dirty:t}))}}class Vn extends w{constructor(t){super("w:fldChar"),this.root.push(new Hn({type:Kn,dirty:t}))}}class qn extends w{constructor(t){super("w:fldChar"),this.root.push(new Hn({type:Wn,dirty:t}))}}const Zn="default",Xn="preserve";class Yn extends y{constructor(){super(...arguments),p(this,"xmlKeys",{space:"xml:space"})}}class Jn extends w{constructor(){super("w:instrText"),this.root.push(new Yn({space:Xn})),this.root.push("PAGE")}}class Qn extends w{constructor(){super("w:instrText"),this.root.push(new Yn({space:Xn})),this.root.push("NUMPAGES")}}class $n extends w{constructor(){super("w:instrText"),this.root.push(new Yn({space:Xn})),this.root.push("SECTIONPAGES")}}class to extends w{constructor(){super("w:instrText"),this.root.push(new Yn({space:Xn})),this.root.push("SECTION")}}class eo extends y{constructor(){super(...arguments),p(this,"xmlKeys",{fill:"w:fill",color:"w:color",type:"w:val"})}}class ro extends w{constructor(t){let{fill:e,color:r,type:n}=t;super("w:shd"),this.root.push(new eo({fill:void 0===e?void 0:wn(e),color:void 0===r?void 0:wn(r),type:n}))}}const no={CLEAR:"clear",DIAGONAL_CROSS:"diagCross",DIAGONAL_STRIPE:"diagStripe",HORIZONTAL_CROSS:"horzCross",HORIZONTAL_STRIPE:"horzStripe",NIL:"nil",PERCENT_5:"pct5",PERCENT_10:"pct10",PERCENT_12:"pct12",PERCENT_15:"pct15",PERCENT_20:"pct20",PERCENT_25:"pct25",PERCENT_30:"pct30",PERCENT_35:"pct35",PERCENT_37:"pct37",PERCENT_40:"pct40",PERCENT_45:"pct45",PERCENT_50:"pct50",PERCENT_55:"pct55",PERCENT_60:"pct60",PERCENT_62:"pct62",PERCENT_65:"pct65",PERCENT_70:"pct70",PERCENT_75:"pct75",PERCENT_80:"pct80",PERCENT_85:"pct85",PERCENT_87:"pct87",PERCENT_90:"pct90",PERCENT_95:"pct95",REVERSE_DIAGONAL_STRIPE:"reverseDiagStripe",SOLID:"solid",THIN_DIAGONAL_CROSS:"thinDiagCross",THIN_DIAGONAL_STRIPE:"thinDiagStripe",THIN_HORIZONTAL_CROSS:"thinHorzCross",THIN_REVERSE_DIAGONAL_STRIPE:"thinReverseDiagStripe",THIN_VERTICAL_STRIPE:"thinVertStripe",VERTICAL_STRIPE:"vertStripe"};class oo extends y{constructor(){super(...arguments),p(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}}const io="dot";class so extends w{constructor(t){super("w:em"),this.root.push(new v({val:t}))}}class ao extends so{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:io)}}class co extends w{constructor(t){super("w:spacing"),this.root.push(new v({val:gn(t)}))}}class uo extends w{constructor(t){super("w:color"),this.root.push(new v({val:wn(t)}))}}class lo extends w{constructor(t){super("w:highlight"),this.root.push(new v({val:t}))}}class ho extends w{constructor(t){super("w:highlightCs"),this.root.push(new v({val:t}))}}class po extends y{constructor(){super(...arguments),p(this,"xmlKeys",{ascii:"w:ascii",cs:"w:cs",eastAsia:"w:eastAsia",hAnsi:"w:hAnsi",hint:"w:hint"})}}class fo extends w{constructor(t,e){if(super("w:rFonts"),"string"===typeof t){const r=t;this.root.push(new po({ascii:r,cs:r,eastAsia:r,hAnsi:r,hint:e}))}else{const e=t;this.root.push(new po(e))}}}let mo=class extends w{constructor(t){super("w:vertAlign"),this.root.push(new v({val:t}))}};class wo extends mo{constructor(){super("superscript")}}class go extends mo{constructor(){super("subscript")}}const yo="single";class bo extends w{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yo,e=arguments.length>1?arguments[1]:void 0;super("w:u"),this.root.push(new v({val:t,color:void 0===e?void 0:wn(e)}))}}class vo extends g{constructor(t){var e,r;if(super("w:rPr"),!t)return;void 0!==t.noProof&&this.push(new En("w:noProof",t.noProof)),void 0!==t.bold&&this.push(new En("w:b",t.bold)),(void 0===t.boldComplexScript&&void 0!==t.bold||t.boldComplexScript)&&this.push(new En("w:bCs",null!=(e=t.boldComplexScript)?e:t.bold)),void 0!==t.italics&&this.push(new En("w:i",t.italics)),(void 0===t.italicsComplexScript&&void 0!==t.italics||t.italicsComplexScript)&&this.push(new En("w:iCs",null!=(r=t.italicsComplexScript)?r:t.italics)),t.underline&&this.push(new bo(t.underline.type,t.underline.color)),t.effect&&this.push(new Sn("w:effect",t.effect)),t.emphasisMark&&this.push(new ao(t.emphasisMark.type)),t.color&&this.push(new uo(t.color)),t.kern&&this.push(new Tn("w:kern",t.kern)),t.position&&this.push(new Sn("w:position",t.position)),void 0!==t.size&&this.push(new Tn("w:sz",t.size));const n=void 0===t.sizeComplexScript||!0===t.sizeComplexScript?t.size:t.sizeComplexScript;n&&this.push(new Tn("w:szCs",n)),void 0!==t.rightToLeft&&this.push(new En("w:rtl",t.rightToLeft)),void 0!==t.smallCaps?this.push(new En("w:smallCaps",t.smallCaps)):void 0!==t.allCaps&&this.push(new En("w:caps",t.allCaps)),void 0!==t.strike&&this.push(new En("w:strike",t.strike)),void 0!==t.doubleStrike&&this.push(new En("w:dstrike",t.doubleStrike)),t.subScript&&this.push(new go),t.superScript&&this.push(new wo),t.style&&this.push(new Sn("w:rStyle",t.style)),t.font&&("string"===typeof t.font?this.push(new fo(t.font)):"name"in t.font?this.push(new fo(t.font.name,t.font.hint)):this.push(new fo(t.font))),t.highlight&&this.push(new lo(t.highlight));const o=void 0===t.highlightComplexScript||!0===t.highlightComplexScript?t.highlight:t.highlightComplexScript;o&&this.push(new ho(o)),t.characterSpacing&&this.push(new co(t.characterSpacing)),void 0!==t.emboss&&this.push(new En("w:emboss",t.emboss)),void 0!==t.imprint&&this.push(new En("w:imprint",t.imprint)),t.shading&&this.push(new ro(t.shading)),t.revision&&this.push(new xo(t.revision)),t.border&&this.push(new Pn("w:bdr",t.border)),void 0!==t.snapToGri
2d&&this.push(new En("w:snapToGrid",t.snapToGrid)),t.vanish&&this.push(new En("w:vanish",t.vanish)),t.specVanish&&this.push(new En("w:specVanish",t.vanish)),void 0!==t.scale&&this.push(new An("w:w",t.scale)),t.language&&this.push((t=>new Cn({name:"w:lang",attributes:{value:{key:"w:val",value:t.value},eastAsia:{key:"w:eastAsia",value:t.eastAsia},bidirectional:{key:"w:bidi",value:t.bidirectional}}}))(t.language)),t.math&&this.push(new En("w:oMath",t.math))}push(t){this.root.push(t)}}class xo extends w{constructor(t){super("w:rPrChange"),this.root.push(new oo({id:t.id,author:t.author,date:t.date})),this.addChildElement(new vo(t))}}class _o extends w{constructor(t){var e;super("w:t"),"string"===typeof t?(this.root.push(new Yn({space:Xn})),this.root.push(t)):(this.root.push(new Yn({space:null!=(e=t.space)?e:Zn})),this.root.push(t.text))}}const Eo="CURRENT",To="TOTAL_PAGES",So="TOTAL_PAGES_IN_SECTION",ko="SECTION";class Ao extends w{constructor(t){if(super("w:r"),p(this,"properties"),this.properties=new vo(t),this.root.push(this.properties),t.break)for(let e=0;e<t.break;e++)this.root.push(new jn);if(t.children)for(const e of t.children)if("string"!==typeof e)this.root.push(e);else switch(e){case Eo:this.root.push(new Gn),this.root.push(new Jn),this.root.push(new Vn),this.root.push(new qn);break;case To:this.root.push(new Gn),this.root.push(new Qn),this.root.push(new Vn),this.root.push(new qn);break;case So:this.root.push(new Gn),this.root.push(new $n),this.root.push(new Vn),this.root.push(new qn);break;case ko:this.root.push(new Gn),this.root.push(new to),this.root.push(new Vn),this.root.push(new qn);break;default:this.root.push(new _o(e))}else t.text&&this.root.push(new _o(t.text))}}class Io extends Ao{constructor(t){if("string"===typeof t)return super({}),this.root.push(new _o(t)),this;super(t)}}const Ro=t=>Math.floor(72*t*20),Co=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return()=>++t},No=()=>function(){let t="",e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t}().toLowerCase(),Oo=t=>function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return function(){let r="",n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;for(;n--;)r+=t[Math.random()*t.length|0];return r}}("1234567890abcdef",t)(),Fo="page",Po="page";class Do extends y{constructor(){super(...arguments),p(this,"xmlKeys",{x:"x",y:"y"})}}class Bo extends w{constructor(){super("wp:simplePos"),this.root.push(new Do({x:0,y:0}))}}class Lo extends w{constructor(t){super("wp:align"),this.root.push(t)}}class Uo extends w{constructor(t){super("wp:posOffset"),this.root.push(t.toString())}}class Mo extends y{constructor(){super(...arguments),p(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class jo extends w{constructor(t){if(super("wp:positionH"),this.root.push(new Mo({relativeFrom:t.relative||Fo})),t.align)this.root.push(new Lo(t.align));else{if(void 0===t.offset)throw new Error("There is no configuration provided for floating position (Align or offset)");this.root.push(new Uo(t.offset))}}}class zo extends y{constructor(){super(...arguments),p(this,"xmlKeys",{relativeFrom:"relativeFrom"})}}class Wo extends w{constructor(t){if(super("wp:positionV"),this.root.push(new zo({relativeFrom:t.relative||Po})),t.align)this.root.push(new Lo(t.align));else{if(void 0===t.offset)throw new Error("There is no configuration provided for floating position (Align or offset)");this.root.push(new Uo(t.offset))}}}class Ko extends y{constructor(){super(...arguments),p(this,"xmlKeys",{uri:"uri"})}}const Ho=t=>new Cn({name:"asvg:svgBlip",attributes:{asvg:{key:"xmlns:asvg",value:"http://schemas.microsoft.com/office/drawing/2016/SVG/main"},embed:{key:"r:embed",value:"rId{".concat(t.fileName,"}")}}}),Go=t=>new Cn({name:"a:ext",attributes:{uri:{key:"uri",value:"{96DAC541-7B7A-43D3-8B79-37D633B846F1}"}},children:[Ho(t)]}),Vo=t=>new Cn({name:"a:extLst",children:[Go(t)]});class qo extends w{constructor(){super("a:srcRect")}}class Zo extends w{constructor(){super("a:fillRect")}}class Xo extends w{constructor(){super("a:stretch"),this.root.push(new Zo)}}class Yo extends w{constructor(t){super("pic:blipFill"),this.root.push((t=>new Cn({name:"a:blip",attributes:{embed:{key:"r:embed",value:"rId{".concat("svg"===t.type?t.fallback.fileName:t.fileName,"}")},cstate:{key:"cstate",value:"none"}},children:"svg"===t.type?[Vo(t)]:[]}))(t)),this.root.push(new qo),this.root.push(new Xo)}}class Jo extends y{constructor(){super(...arguments),p(this,"xmlKeys",{noChangeAspect:"noChangeAspect",noChangeArrowheads:"noChangeArrowheads"})}}class Qo extends w{constructor(){super("a:picLocks"),this.root.push(new Jo({noChangeAspect:1,noChangeArrowheads:1}))}}class $o extends w{constructor(){super("pic:cNvPicPr"),this.root.push(new Qo)}}const ti=(t,e)=>new Cn({name:"a:hlinkClick",attributes:h(l({},e?{xmlns:{key:"xmlns:a",value:"http://schemas.openxmlformats.org/drawingml/2006/main"}}:{}),{id:{key:"r:id",value:"rId".concat(t)}})});class ei extends y{constructor(){super(...arguments),p(this,"xmlKeys",{id:"id",name:"name",descr:"descr"})}}class ri extends w{constructor(){super("pic:cNvPr"),this.root.push(new ei({id:0,name:"",descr:""}))}
2prepForXml(t){for(let e=t.stack.length-1;e>=0;e--){const r=t.stack[e];if(r instanceof ws){this.root.push(ti(r.linkId,!1));break}}return super.prepForXml(t)}}class ni extends w{constructor(){super("pic:nvPicPr"),this.root.push(new ri),this.root.push(new $o)}}class oi extends y{constructor(){super(...arguments),p(this,"xmlKeys",{xmlns:"xmlns:pic"})}}class ii extends y{constructor(){super(...arguments),p(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class si extends w{constructor(t,e){super("a:ext"),p(this,"attributes"),this.attributes=new ii({cx:t,cy:e}),this.root.push(this.attributes)}}class ai extends y{constructor(){super(...arguments),p(this,"xmlKeys",{x:"x",y:"y"})}}class ci extends w{constructor(){super("a:off"),this.root.push(new ai({x:0,y:0}))}}class ui extends y{constructor(){super(...arguments),p(this,"xmlKeys",{flipVertical:"flipV",flipHorizontal:"flipH",rotation:"rot"})}}class li extends w{constructor(t){var e,r;super("a:xfrm"),p(this,"extents"),this.root.push(new ui({flipVertical:null==(e=t.flip)?void 0:e.vertical,flipHorizontal:null==(r=t.flip)?void 0:r.horizontal,rotation:t.rotation})),this.extents=new si(t.emus.x,t.emus.y),this.root.push(new ci),this.root.push(this.extents)}}const hi=()=>new Cn({name:"a:noFill"}),pi=t=>new Cn({name:"a:schemeClr",attributes:{value:{key:"val",value:t.value}}}),fi=t=>new Cn({name:"a:srgbClr",attributes:{value:{key:"val",value:t.value}}}),di=t=>new Cn({name:"a:solidFill",children:["rgb"===t.type?fi(t):pi(t)]});class mi extends w{constructor(){super("a:avLst")}}class wi extends y{constructor(){super(...arguments),p(this,"xmlKeys",{prst:"prst"})}}class gi extends w{constructor(){super("a:prstGeom"),this.root.push(new wi({prst:"rect"})),this.root.push(new mi)}}class yi extends y{constructor(){super(...arguments),p(this,"xmlKeys",{bwMode:"bwMode"})}}class bi extends w{constructor(t){let{outline:e,transform:r}=t;var n;super("pic:spPr"),p(this,"form"),this.root.push(new yi({bwMode:"auto"})),this.form=new li(r),this.root.push(this.form),this.root.push(new gi),e&&(this.root.push(hi()),this.root.push(new Cn({name:"a:ln",attributes:{width:{key:"w",value:(n=e).width},cap:{key:"cap",value:n.cap},compoundLine:{key:"cmpd",value:n.compoundLine},align:{key:"algn",value:n.align}},children:["noFill"===n.type?hi():"rgb"===n.solidFillType?di({type:"rgb",value:n.value}):di({type:"scheme",value:n.value})]})))}}class vi extends w{constructor(t){let{mediaData:e,transform:r,outline:n}=t;super("pic:pic"),this.root.push(new oi({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.root.push(new ni),this.root.push(new Yo(e)),this.root.push(new bi({transform:r,outline:n}))}}class xi extends w{constructor(t){let{mediaData:e,transform:r,outline:n}=t;super("a:graphicData"),p(this,"pic"),this.root.push(new Ko({uri:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.pic=new vi({mediaData:e,transform:r,outline:n}),this.root.push(this.pic)}}class _i extends y{constructor(){super(...arguments),p(this,"xmlKeys",{a:"xmlns:a"})}}class Ei extends w{constructor(t){let{mediaData:e,transform:r,outline:n}=t;super("a:graphic"),p(this,"data"),this.root.push(new _i({a:"http://schemas.openxmlformats.org/drawingml/2006/main"})),this.data=new xi({mediaData:e,transform:r,outline:n}),this.root.push(this.data)}}const Ti=1,Si=2,ki=3,Ai="bothSides";class Ii extends w{constructor(){super("wp:wrapNone")}}class Ri extends y{constructor(){super(...arguments),p(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",wrapText:"wrapText"})}}class Ci extends w{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{top:0,bottom:0,left:0,right:0};super("wp:wrapSquare"),this.root.push(new Ri({wrapText:t.side||Ai,distT:e.top,distB:e.bottom,distL:e.left,distR:e.right}))}}class Ni extends y{constructor(){super(...arguments),p(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class Oi extends w{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{top:0,bottom:0};super("wp:wrapTight"),this.root.push(new Ni({distT:t.top,distB:t.bottom}))}}class Fi extends y{constructor(){super(...arguments),p(this,"xmlKeys",{distT:"distT",distB:"distB"})}}class Pi extends w{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{top:0,bottom:0};super("wp:wrapTopAndBottom"),this.root.push(new Fi({distT:t.top,distB:t.bottom}))}}class Di extends w{constructor(){let{name:t,description:e,title:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{name:"",description:"",title:""};super("wp:docPr"),p(this,"docPropertiesUniqueNumericId",Co()),this.root.push(new b({id:{key:"id",value:this.docPropertiesUniqueNumericId()},name:{key:"name",value:t},description:{key:"descr",value:e},title:{key:"title",value:r}}))}
2prepForXml(t){for(let e=t.stack.length-1;e>=0;e--){const r=t.stack[e];if(r instanceof ws){this.root.push(ti(r.linkId,!0));break}}return super.prepForXml(t)}}const Bi=t=>{let{top:e,right:r,bottom:n,left:o}=t;return new Cn({name:"wp:effectExtent",attributes:{top:{key:"t",value:e},right:{key:"r",value:r},bottom:{key:"b",value:n},left:{key:"l",value:o}}})};class Li extends y{constructor(){super(...arguments),p(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class Ui extends w{constructor(t,e){super("wp:extent"),p(this,"attributes"),this.attributes=new Li({cx:t,cy:e}),this.root.push(this.attributes)}}class Mi extends y{constructor(){super(...arguments),p(this,"xmlKeys",{xmlns:"xmlns:a",noChangeAspect:"noChangeAspect"})}}class ji extends w{constructor(){super("a:graphicFrameLocks"),this.root.push(new Mi({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/main",noChangeAspect:1}))}}class zi extends w{constructor(){super("wp:cNvGraphicFramePr"),this.root.push(new ji)}}class Wi extends y{constructor(){super(...arguments),p(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",allowOverlap:"allowOverlap",behindDoc:"behindDoc",layoutInCell:"layoutInCell",locked:"locked",relativeHeight:"relativeHeight",simplePos:"simplePos"})}}class Ki extends w{constructor(t){let{mediaData:e,transform:r,drawingOptions:n}=t;super("wp:anchor");const o=l({allowOverlap:!0,behindDocument:!1,lockAnchor:!1,layoutInCell:!0,verticalPosition:{},horizontalPosition:{}},n.floating);if(this.root.push(new Wi({distT:o.margins&&o.margins.top||0,distB:o.margins&&o.margins.bottom||0,distL:o.margins&&o.margins.left||0,distR:o.margins&&o.margins.right||0,simplePos:"0",allowOverlap:!0===o.allowOverlap?"1":"0",behindDoc:!0===o.behindDocument?"1":"0",locked:!0===o.lockAnchor?"1":"0",layoutInCell:!0===o.layoutInCell?"1":"0",relativeHeight:o.zIndex?o.zIndex:r.emus.y})),this.root.push(new Bo),this.root.push(new jo(o.horizontalPosition)),this.root.push(new Wo(o.verticalPosition)),this.root.push(new Ui(r.emus.x,r.emus.y)),this.root.push(Bi({top:0,right:0,bottom:0,left:0})),void 0!==n.floating&&void 0!==n.floating.wrap)switch(n.floating.wrap.type){case Ti:this.root.push(new Ci(n.floating.wrap,n.floating.margins));break;case Si:this.root.push(new Oi(n.floating.margins));break;case ki:this.root.push(new Pi(n.floating.margins));break;default:this.root.push(new Ii)}else this.root.push(new Ii);this.root.push(new Di(n.docProperties)),this.root.push(new zi),this.root.push(new Ei({mediaData:e,transform:r,outline:n.outline}))}}class Hi extends w{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super("w:drawing"),e.floating?this.root.push(new Ki({mediaData:t,transform:t.transformation,drawingOptions:e})):this.root.push((t=>{let{mediaData:e,transform:r,docProperties:n,outline:o}=t;var i,s,a,c;return new Cn({name:"wp:inline",attributes:{distanceTop:{key:"distT",value:0},distanceBottom:{key:"distB",value:0},distanceLeft:{key:"distL",value:0},distanceRight:{key:"distR",value:0}},children:[new Ui(r.emus.x,r.emus.y),Bi(o?{top:2*(null!=(i=o.width)?i:9525),right:2*(null!=(s=o.width)?s:9525),bottom:2*(null!=(a=o.width)?a:9525),left:2*(null!=(c=o.width)?c:9525)}:{top:0,right:0,bottom:0,left:0}),new Di(n),new zi,new Ei({mediaData:e,transform:r,outline:o})]})})({mediaData:t,transform:t.transformation,docProperties:e.docProperties,outline:e.outline}))}}const Gi=t=>"string"===typeof t?(t=>{if("function"===typeof atob){const e=";base64,",r=t.indexOf(e),n=-1===r?0:r+e.length;return new Uint8Array(atob(t.substring(n)).split("").map(t=>t.charCodeAt(0)))}return new(require("buffer").Buffer)(t,"base64")})(t):t,Vi=(t,e)=>({data:Gi(t.data),fileName:e,transformation:{pixels:{x:Math.round(t.transformation.width),y:Math.round(t.transformation.height)},emus:{x:Math.round(9525*t.transformation.width),y:Math.round(9525*t.transformation.height)},flip:t.transformation.flip,rotation:t.transformation.rotation?6e4*t.transformation.rotation:void 0}});class qi extends Ao{constructor(t){super({}),p(this,"key"),p(this,"fallbackKey","".concat(No(),".png")),p(this,"imageData"),this.key="".concat(No(),".").concat(t.type),this.imageData="svg"===t.type?h(l({type:t.type},Vi(t,this.key)),{fallback:l({type:t.fallback.type},Vi(h(l({},t.fallback),{transformation:t.transformation}),this.fallbackKey))}):l({type:t.type},Vi(t,this.key));const e=new Hi(this.imageData,{floating:t.floating,docProperties:t.altText,outline:t.outline});this.root.push(e)}prepForXml(t){return t.file.Media.addImage(this.key,this.imageData),"svg"===this.imageData.type&&t.file.Media.addImage(this.fallbackKey,this.imageData.fallback),super.prepForXml(t)}}class Zi extends y{constructor(){super(...arguments),p(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}}class Xi extends y{constructor(){super(...arguments),p(this,"xmlKeys",{"xmlns:cx":"xmlns:cx","xmlns:cx1":"xmlns:cx1","xmlns:cx2":"xmlns:cx2","xmlns:cx3":"xmlns:cx3","xmlns:cx4":"xmlns:cx4","xmlns:cx5":"xmlns:cx5","xmlns:cx6":"xmlns:cx6","xmlns:cx7":"xmlns:cx7","xmlns:cx8":"xmlns:cx8","xmlns:mc":"xmlns:mc","xmlns:aink":"xmlns:aink","xmlns:am3d":"xmlns:am3d","xmlns:o":"xmlns:o","xmlns:r":"xmlns:r","xmlns:m":"xmlns:m","xmlns:v":"xmlns:v","xmlns:wp14":"xmlns:wp14","xmlns:wp":"xmlns:wp","xmlns:w10":"xmlns:w10","xmlns:w":"xmlns:w","xmlns:w14":"xmlns:w14","xmlns:w15":"xmlns:w15","xmlns:w16cex":"xmlns:w16cex","xmlns:w16cid":"xmlns:w16cid","xmlns:w16":"xmlns:w16","xmlns:w16sdtdh":"xmlns:w16sdtdh","xmlns:w16se":"xmlns:w16se","xmlns:wpg":"xmlns:wpg","xmlns:wpi":"xmlns:wpi","xmlns:wne":"xmlns:wne","xmlns:wps":"xmlns:wps"})}}class Yi extends w{constructor(t){let{id:e,initials:r,author:n,date:o=new Date,children:i}=t;super("w:comment"),this.root.push(new Zi({id:e,initials:r,author:n,date:o.toISOString()}));for(const s of i)this.root.push(s)}}class Ji extends w{constructor(t){let{children:e}=t;super("w:comments"),this.root.push(new Xi({"xmlns:cx":"http://schemas.microsoft.com/office/drawing/2014/chartex","xmlns:cx1":"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex","xmlns:cx2":"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex","xmlns:cx3":"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex","xmlns:cx4":"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex","xmlns:cx5":"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex","xmlns:cx6":"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex","xmlns:cx7":"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex","xmlns:cx8":"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:aink":"http://schemas.microsoft.com/office/drawing/2016/ink","xmlns:am3d":"http://schemas.microsoft.com/office/drawing/2017/model3d","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:m":"http://schemas.openxmlformats.org/officeDocument/2006/math","xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:wp14":"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing","xmlns:wp":"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing","xmlns:w10":"urn:schemas-microsoft-com:office:word","xmlns:w":"http://schemas.openxmlformats.org/wordprocessingml/2006/main","xmlns:w14":"http://schemas.microsoft.com/office/word/2010/wordml","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","xmlns:w16cex":"http://schemas.microsoft.com/office/word/2018/wordml/cex","xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:w16":"http://schemas.microsoft.com/office/word/2018/wordml","xmlns:w16sdtdh":"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash","xmlns:w16se":"http://schemas.microsoft.com/office/word/2015/wordml/symex","xmlns:wpg":"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","xmlns:wpi":"http://schemas.microsoft.com/office/word/2010/wordprocessingInk","xmlns:wne":"http://schemas.microsoft.com/office/word/2006/wordml","xmlns:wps":"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}));for(const r of e)this.root.push(new Yi(r))}}class Qi extends w{constructor(){super("w:pageBreakBefore")}}const $i="auto";class ts extends y{constructor(){super(...arguments),p(this,"xmlKeys",{after:"w:after",before:"w:before",line:"w:line",lineRule:"w:lineRule"})}}class es extends w{constructor(t){super("w:spacing"),this.root.push(new ts(t))}}const rs={HEADING_1:"Heading1",HEADING_2:"Heading2",HEADING_3:"Heading3",HEADING_4:"Heading4",HEADING_5:"Heading5",HEADING_6:"Heading6",TITLE:"Title"};let ns=class extends w{constructor(t){super("w:pStyle"),this.root.push(new v({val:t}))}};class os extends w{constructor(t){super("w:tabs");for(const e of t)this.root.push(new as(e))}}const is={LEFT:"left",RIGHT:"right",CENTER:"center",BAR:"bar",CLEAR:"clear",DECIMAL:"decimal",END:"end",NUM:"num",START:"start"};class ss extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val",pos:"w:pos",leader:"w:leader"})}}class as extends w{constructor(t){let{type:e,position:r,leader:n}=t;super("w:tab"),this.root.push(new ss({val:e,pos:r,leader:n}))}}class cs extends w{constructor(t,e){super("w:numPr"),this.root.push(new us(e)),this.root.push(new ls(t))}}class us extends w{constructor(t){if(super("w:ilvl"),t>
29)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new v({val:t}))}}class ls extends w{constructor(t){super("w:numId"),this.root.push(new v({val:"string"===typeof t?"{".concat(t,"}"):t}))}}class hs extends w{constructor(){super(...arguments),p(this,"fileChild",Symbol())}}class ps extends y{constructor(){super(...arguments),p(this,"xmlKeys",{id:"Id",type:"Type",target:"Target",targetMode:"TargetMode"})}}const fs="External";class ds extends w{constructor(t,e,r,n){super("Relationship"),this.root.push(new ps({id:t,type:e,target:r,targetMode:n}))}}class ms extends y{constructor(){super(...arguments),p(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}}class ws extends w{constructor(t,e,r){super("w:hyperlink"),p(this,"linkId"),this.linkId=e;const n={history:1,anchor:r||void 0,id:r?void 0:"rId".concat(this.linkId)},o=new ms(n);this.root.push(o),t.forEach(t=>{this.root.push(t)})}}class gs extends w{constructor(t){super("w:externalHyperlink"),this.options=t}}class ys extends y{constructor(){super(...arguments),p(this,"xmlKeys",{id:"w:id",name:"w:name"})}}class bs extends y{constructor(){super(...arguments),p(this,"xmlKeys",{id:"w:id"})}}class vs{constructor(t){p(this,"bookmarkUniqueNumericId",Co()),p(this,"start"),p(this,"children"),p(this,"end");const e=this.bookmarkUniqueNumericId();this.start=new xs(t.id,e),this.children=t.children,this.end=new _s(e)}}class xs extends w{constructor(t,e){super("w:bookmarkStart");const r=new ys({name:t,id:e});this.root.push(r)}}class _s extends w{constructor(t){super("w:bookmarkEnd");const e=new bs({id:t});this.root.push(e)}}class Es extends w{constructor(t){super("w:outlineLvl"),this.level=t,this.root.push(new v({val:t}))}}class Ts extends y{constructor(){super(...arguments),p(this,"xmlKeys",{verticalAlign:"w:val"})}}class Ss extends w{constructor(t){super("w:vAlign"),this.root.push(new Ts({verticalAlign:t}))}}const ks="default",As="first",Is="even";class Rs extends y{constructor(){super(...arguments),p(this,"xmlKeys",{type:"w:type",id:"r:id"})}}const Cs="w:headerReference",Ns="w:footerReference";class Os extends w{constructor(t,e){super(t),this.root.push(new Rs({type:e.type||ks,id:"rId".concat(e.id)}))}}class Fs extends w{constructor(t){let{space:e,count:r,separate:n,equalWidth:o,children:i}=t;super("w:cols"),this.root.push(new b({space:{key:"w:space",value:void 0===e?void 0:bn(e)},count:{key:"w:num",value:void 0===r?void 0:ln(r)},separate:{key:"w:sep",value:n},equalWidth:{key:"w:equalWidth",value:o}})),!o&&i&&i.forEach(t=>this.addChildElement(t))}}class Ps extends y{constructor(){super(...arguments),p(this,"xmlKeys",{type:"w:type",linePitch:"w:linePitch",charSpace:"w:charSpace"})}}class Ds extends w{constructor(t,e,r){super("w:docGrid"),this.root.push(new Ps({type:r,linePitch:ln(t),charSpace:e?ln(e):void 0}))}}class Bs extends y{constructor(){super(...arguments),p(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}}class Ls extends g{constructor(t){if(super("w:pgBorders"),!t)return this;t.pageBorders?this.root.push(new Bs({display:t.pageBorders.display,offsetFrom:t.pageBorders.offsetFrom,zOrder:t.pageBorders.zOrder})):this.root.push(new Bs({})),t.pageBorderTop&&this.root.push(new Pn("w:top",t.pageBorderTop)),t.pageBorderLeft&&this.root.push(new Pn("w:left",t.pageBorderLeft)),t.pageBorderBottom&&this.root.push(new Pn("w:bottom",t.pageBorderBottom)),t.pageBorderRight&&this.root.push(new Pn("w:right",t.pageBorderRight))}}class Us extends w{constructor(t,e,r,n,o,i,s){super("w:pgMar"),this.root.push(new b({top:{key:"w:top",value:gn(t)},right:{key:"w:right",value:bn(e)},bottom:{key:"w:bottom",value:gn(r)},left:{key:"w:left",value:bn(n)},header:{key:"w:header",value:bn(o)},footer:{key:"w:footer",value:bn(i)},gutter:{key:"w:gutter",value:bn(s)}}))}}class Ms extends y{constructor(){super(...arguments),p(this,"xmlKeys",{start:"w:start",formatType:"w:fmt",separator:"w:chapSep"})}}class js extends w{constructor(t){let{start:e,formatType:r,separator:n}=t;super("w:pgNumType"),this.root.push(new Ms({start:void 0===e?void 0:ln(e),formatType:r,separator:n}))}}const zs="portrait",Ws="landscape";class Ks extends w{constructor(t,e,r){super("w:pgSz");const n=r===Ws,o=bn(t),i=bn(e);this.root.push(new b({width:{key:"w:w",value:n?i:o},height:{key:"w:h",value:n?o:i},orientation:{key:"w:orient",value:r}}))}}class Hs extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val"})}}class Gs extends w{constructor(t){super("w:textDirection"),this.root.push(new Hs({val:t}))}}class Vs extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val"})}}class qs extends w{constructor(t){super("w:type"),this.root.push(new Vs({val:t}))}}const Zs={TOP:1440,RIGHT:1440,BOTTOM:1440,LEFT:1440,HEADER:708,FOOTER:708,GUTTER:0},Xs={WIDTH:11906,HEIGHT:16838,ORIENTATION:zs};class Ys extends w{constructor(){let{page:{size:{width:t=Xs.WIDTH,height:e=Xs.HEIGHT,orientation:r=Xs.ORIENTATION}={},margin:{top:n=Zs.TOP,right:o=Zs.RIGHT,bottom:i=Zs.BOTTOM,left:s=Zs.LEFT,header:a=Zs.HEADER,footer:c=Zs.FOOTER,gutter:u=Zs.GUTTER}={},pageNumbers:l={},borders:h,textDirection:p}={},grid:{linePitch:f=360,charSpace:d,type:m}={},headerWrapperGroup:w={},footerWrapperGroup:g={},lineNumbers:y,titlePage:b,verticalAlign:v,column:x,type:_}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super("w:sectPr"),this.addHeaderFooterGroup(Cs,w),this.addHeaderFooterGroup(Ns,g),_&&this.root.push(new qs(_)),this.root.push(new Ks(t,e,r)),this.root.push(new Us(n,o,i,s,a,c,u)),h&&this.root.push(new Ls(h)),y&&this.root.push((t=>{let{countBy:e,start:r,restart:n,distance:o}=t;return new Cn({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:void 0===e?void 0:ln(e)},start:{key:"w:start",value:void 0===r?void 0:ln(r)},restart:{key:"w:restart",value:n},distance:{key:"w:distance",value:void 0===o?void 0:bn(o)}}})})(y)),this.root.push(new js(l)),x&&this.root.push(new Fs(x)),v&&this.root.push(new Ss(v)),void 0!==b&&this.root.push(new En("w:titlePg",b)),p&&this.root.push(new Gs(p)),this.root.push(new Ds(f,d,m))}
2addHeaderFooterGroup(t,e){e.default&&this.root.push(new Os(t,{type:ks,id:e.default.View.ReferenceId})),e.first&&this.root.push(new Os(t,{type:As,id:e.first.View.ReferenceId})),e.even&&this.root.push(new Os(t,{type:Is,id:e.even.View.ReferenceId}))}}class Js extends w{constructor(){super("w:body"),p(this,"sections",[])}addSection(t){const e=this.sections.pop();this.root.push(this.createSectionParagraph(e)),this.sections.push(new Ys(t))}prepForXml(t){return 1===this.sections.length&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(t)}push(t){this.root.push(t)}createSectionParagraph(t){const e=new ca({}),r=new aa({});return r.push(t),e.addChildElement(r),e}}class Qs extends y{constructor(){super(...arguments),p(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",aink:"xmlns:aink",am3d:"xmlns:am3d",w16cex:"xmlns:w16cex",w16cid:"xmlns:w16cid",w16:"xmlns:w16",w16sdtdh:"xmlns:w16sdtdh",w16se:"xmlns:w16se"})}}class $s extends y{constructor(){super(...arguments),p(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}}class ta extends w{constructor(t){super("w:background"),this.root.push(new $s({color:void 0===t.color?void 0:wn(t.color),themeColor:t.themeColor,themeShade:void 0===t.themeShade?void 0:fn(t.themeShade),themeTint:void 0===t.themeTint?void 0:fn(t.themeTint)}))}}class ea extends w{constructor(t){super("w:document"),p(this,"body"),this.root.push(new Qs({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",aink:"http://schemas.microsoft.com/office/drawing/2016/ink",am3d:"http://schemas.microsoft.com/office/drawing/2017/model3d",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex",Ignorable:"w14 w15 wp14"})),this.body=new Js,t.background&&this.root.push(new ta(t.background)),this.root.push(this.body)}add(t){return this.body.push(t),this}get Body(){return this.body}}class ra extends y{constructor(){super(...arguments),p(this,"xmlKeys",{xmlns:"xmlns"})}}class na extends w{constructor(){super("Relationships"),this.root.push(new ra({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}createRelationship(t,e,r,n){const o=new ds("rId".concat(t),e,r,n);return this.root.push(o),o}get RelationshipCount(){return this.root.length-1}}class oa{constructor(t){p(this,"document"),p(this,"relationships"),this.document=new ea(t),this.relationships=new na}get View(){return this.document}get Relationships(){return this.relationships}}class ia extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val"})}}class sa extends w{constructor(){super("w:wordWrap"),this.root.push(new ia({val:0}))}}class aa extends g{constructor(t){var e,r;if(super("w:pPr"),p(this,"numberingReferences",[]),!t)return this;t.heading&&this.push(new ns(t.heading)),t.bullet&&this.push(new ns("ListParagraph")),t.numbering&&(t.style||t.heading||t.numbering.custom||this.push(new ns("ListParagraph"))),t.style&&this.push(new ns(t.style)),void 0!==t.keepNext&&this.push(new En("w:keepNext",t.keepNext)),void 0!==t.keepLines&&this.push(new En("w:keepLines",t.keepLines)),t.pageBreakBefore&&this.push(new Qi),t.frame&&this.push((t=>{var e,r;return new Cn({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:t.anchorLock},dropCap:{key:"w:dropCap",value:t.dropCap},width:{key:"w:w",value:t.width},height:{key:"w:h",value:t.height},x:{key:"w:x",value:t.position?t.position.x:void 0},y:{key:"w:y",value:t.position?t.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:t.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:t.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:null==(e=t.space)?void 0:e.horizontal},spaceVertical:{key:"w:vSpace",value:null==(r=t.space)?void 0:r.vertical},rule:{key:"w:hRule",value:t.rule},alignmentX:{key:"w:xAlign",value:t.alignment?t.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:t.alignment?t.alignment.y:void 0},lines:{key:"w:lines",value:t.lines},wrap:{key:"w:wrap",value:t.wrap}}})})(t.frame)),void 0!==t.widowControl&&this.push(new En("w:widowControl",t.widowControl)),t.bullet&&this.push(new cs(1,t.bullet.level)),t.numbering&&(this.numberingReferences.push({reference:t.numbering.reference,instance:null!=(e=t.numbering.instance)?e:0}),this.push(new cs("".concat(t.numbering.reference,"-").concat(null!=(r=t.numbering.instance)?r:0),t.numbering.level))),t.border&&this.push(new Ln(t.border)),t.thematicBreak&&this.push(new Un),t.shading&&this.push(new ro(t.shading)),t.wordWrap&&this.push(new sa),t.overflowPunctuation&&this.push(new En("w:overflowPunct",t.overflowPunctuation));const n=[...void 0!==t.rightTabStop?[{type:is.RIGHT,position:t.rightTabStop}]:[],...t.tabStops?t.tabStops:[],...void 0!==t.leftTabStop?[{type:is.LEFT,position:t.leftTabStop}]:[]];n.length>0&&this.push(new os(n)),void 0!==t.bidirectional&&this.push(new En("w:bidi",t.bidirectional)),t.spacing&&this.push(new es(t.spacing)),t.indent&&this.push(new Mn(t.indent)),void 0!==t.contextualSpacing&&this.push(new En("w:contextualSpacing",t.contextualSpacing)),t.alignment&&this.push(new Fn(t.alignment)),void 0!==t.outlineLevel&&this.push(new Es(t.outlineLevel)),void 0!==t.suppressLineNumbers&&this.push(new En("w:suppressLineNumbers",t.suppressLineNumbers)),void 0!==t.autoSpaceEastAsianText&&this.push(new En("w:autoSpaceDN",t.autoSpaceEastAsianText)),t.run&&this.push(new vo(t.run))}push(t){this.root.push(t)}prepForXml(t){if(t.viewWrapper instanceof oa)for(const e of this.numberingReferences)t.file.Numbering.createConcreteNumberingInstance(e.reference,e.instance);return super.prepForXml(t)}}class ca extends hs{constructor(t){if(super("w:p"),p(this,"properties"),"string"===typeof t)return this.properties=new aa({}),this.root.push(this.properties),this.root.push(new Io(t)),this;if(this.properties=new aa(t),this.root.push(this.properties),t.text&&this.root.push(new Io(t.text)),t.children)for(const e of t.children)if(e instanceof vs){this.root.push(e.start);for(const t of e.children)this.root.push(t);this.root.push(e.end)}else this.root.push(e)}prepForXml(t){for(const e of this.root)if(e instanceof gs){const r=this.root.indexOf(e),n=new ws(e.options.children,No());t.viewWrapper.Relationships.createRelationship(n.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e.options.link,fs),this.root[r]=n}return super.prepForXml(t)}addRunToFront(t){return this.root.splice(1,0,t),this}}let ua=class extends w{constructor(t){super("m:oMath");for(const e of t.children)this.root.push(e)}};class la extends w{constructor(t){super("m:t"),this.root.push(t)}}class ha extends w{constructor(t){super("m:r"),this.root.push(new la(t))}}class pa extends w{constructor(t){super("m:den");for(const e of t)this.root.push(e)}}class fa extends w{constructor(t){super("m:num");for(const e of t)this.root.push(e)}}class da extends w{constructor(t){super("m:f"),this.root.push(new fa(t.numerator)),this.root.push(new pa(t.denominator))}}class ma extends y{constructor(){super(...arguments),p(this,"xmlKeys",{accent:"m:val"})}}class wa extends w{constructor(t){super("m:chr"),this.root.push(new ma({accent:t}))}}class ga extends w{constructor(t){super("m:e");for(const e of t)this.root.push(e)}}class ya extends y{constructor(){super(...arguments),p(this,"xmlKeys",{value:"m:val"})}}class ba extends w{constructor(t){super("m:limLoc"),this.root.push(new ya({value:t||"undOvr"}))}}class va extends y{constructor(){super(...arguments),p(this,"xmlKeys",{hide:"m:val"})}}class xa extends w{constructor(){super("m:subHide"),this.root.push(new va({hide:1}))}}class _a extends y{constructor(){super(...arguments),p(this,"xmlKeys",{hide:"m:val"})}}class Ea extends w{constructor(){super("m:supHide"),this.root.push(new _a({hide:1}))}}class Ta extends w{constructor(t,e,r,n){super("m:naryPr"),t&&this.root.push(new wa(t)),this.root.push(new ba(n)),e||this.root.push(new Ea),r||this.root.push(new xa)}}class Sa extends w{constructor(t){super("m:sub");for(const e of t)this.root.push(e)}}class ka extends w{constructor(t){super("m:sup");for(const e of t)this.root.push(e)}}class Aa extends w{constructor(t){super("m:nary"),this.root.push(new Ta("\u2211",!!t.superScript,!!t.subScript)),t.subScript&&this.root.push(new Sa(t.subScript)),t.superScript&&this.root.push(new ka(t.superScript)),this.root.push(new ga(t.children))}}class Ia extends w{constructor(t){super("m:nary"),this.root.push(new Ta("",!!t.superScript,!!t.subScript,"subSup")),t.subScript&&this.root.push(new Sa(t.subScript)),t.superScript&&this.root.push(new ka(t.superScript)),this.root.push(new ga(t.children))}}class Ra extends w{constructor(t){super("m:lim");for(const e of t)this.root.push(e)}}class Ca extends w{constructor(t){super("m:limUpp"),this.root.push(new ga(t.children)),this.root.push(new Ra(t.limit))}}class Na extends w{constructor(t){super("m:limLow"),this.root.push(new ga(t.children)),this.root.push(new Ra(t.limit))}}class Oa extends w{constructor(){super("m:sSupPr")}}class Fa extends w{constructor(t){super("m:sSup"),this.root.push(new Oa),this.root.push(new ga(t.children)),this.root.push(new ka(t.superScript))}}class Pa extends w{constructor(){super("m:sSubPr")}}class Da extends w{constructor(t){super("m:sSub"),this.root.push(new Pa),this.root.push(new ga(t.children)),this.root.push(new Sa(t.subScript))}}class Ba extends w{constructor(){super("m:sSubSupPr")}}class La extends w{constructor(t){super("m:sSubSup"),this.root.push(new Ba),this.root.push(new ga(t.children)),this.root.push(new Sa(t.subScript)),this.root.push(new ka(t.superScript))}}class Ua extends w{constructor(t){if(super("m:deg"),t)for(const e of t)this.root.push(e)}}class Ma extends y{constructor(){super(...arguments),p(this,"xmlKeys",{hide:"m:val"})}}class ja extends w{constructor(){super("m:degHide"),this.root.push(new Ma({hide:1}))}}class za extends w{constructor(t){super("m:radPr"),t||this.root.push(new ja)}}class Wa extends w{constructor(t){super("m:rad"),this.root.push(new za(!!t.degree)),this.root.push(new Ua(t.degree)),this.root.push(new ga(t.children))}}class Ka extends w{constructor(t){super("w:tblGrid");for(const e of t)this.root.push(new Ha(e))}}class Ha extends w{constructor(t){super("w:gridCol"),void 0!==t&&this.root.push(new b({width:{key:"w:w",value:bn(t)}}))}}const Ga="w:tblCellMar",Va="w:tcMar";class qa extends g{constructor(t,e){let{marginUnitType:r=Za.DXA,top:n,left:o,bottom:i,right:s}=e;super(t),void 0!==n&&this.root.push(new Xa("w:top",{type:r,size:n})),void 0!==o&&this.root.push(new Xa("w:left",{type:r,size:o})),void 0!==i&&this.root.push(new Xa("w:bottom",{type:r,size:i})),void 0!==s&&this.root.push(new Xa("w:right",{type:r,size:s}))}}const Za={AUTO:"auto",DXA:"dxa",NIL:"nil",PERCENTAGE:"pct"};class Xa extends w{constructor(t,e){let{type:r=Za.AUTO,size:n}=e;super(t);let o=n;r===Za.PERCENTAGE&&"number"===typeof n&&(o="".concat(n,"%")),this.root.push(new b({type:{key:"w:type",value:r},size:{key:"w:w",value:vn(o)}}))}}class Ya extends g{constructor(t){super("w:tcBorders"),t.top&&this.root.push(new Pn("w:top",t.top)),t.start&&this.root.push(new Pn("w:start",t.start)),t.left&&this.root.push(new Pn("w:left",t.left)),t.bottom&&this.root.push(new Pn("w:bottom",t.bottom)),t.end&&this.root.push(new Pn("w:end",t.end)),t.right&&this.root.push(new Pn("w:right",t.right))}}class Ja extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val"})}}class Qa extends w{constructor(t){super("w:gridSpan"),this.root.push(new Ja({val:ln(t)}))}}const $a="continue",tc="restart";class ec extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val"})}}class rc extends w{constructor(t){super("w:vMerge"),this.root.push(new ec({val:t}))}}class nc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val"})}}class oc extends w{constructor(t){super("w:textDirection"),this.root.push(new nc({val:t}))}}class ic extends g{constructor(t){super("w:tcPr"),t.width&&this.root.push(new Xa("w:tcW",t.width)),t.columnSpan&&this.root.push(new Qa(t.columnSpan)),t.verticalMerge?this.root.push(new rc(t.verticalMerge)):t.rowSpan&&t.rowSpan>1&&this.root.push(new rc(tc)),t.borders&&this.root.push(new Ya(t.borders)),t.shading&&this.root.push(new ro(t.shading)),t.margins&&this.root.push(new qa(Va,t.margins)),t.textDirection&&this.root.push(new oc(t.textDirection)),t.verticalAlign&&this.root.push(new Ss(t.verticalAlign))}}class sc extends w{constructor(t){super("w:tc"),this.options=t,this.root.push(new ic(t));for(const e of t.children)this.root.push(e)}prepForXml(t){return this.root[this.root.length-1]instanceof ca||this.root.push(new ca({})),super.prepForXml(t)}}const ac={style:Bn.NONE,size:0,color:"auto"},cc={style:Bn.SINGLE,size:4,color:"auto"};class uc extends w{constructor(t){super("w:tblBorders"),t.top?this.root.push(new Pn("w:top",t.top)):this.root.push(new Pn("w:top",cc)),t.left?this.root.push(new Pn("w:left",t.left)):this.root.push(new Pn("w:left",cc)),t.bottom?this.root.push(new Pn("w:bottom",t.bottom)):this.root.push(new Pn("w:bottom",cc)),t.right?this.root.push(new Pn("w:right",t.right)):this.root.push(new Pn("w:right",cc)),t.insideHorizontal?this.root.push(new Pn("w:insideH",t.insideHorizontal)):this.root.push(new Pn("w:insideH",cc)),t.insideVertical?this.root.push(new Pn("w:insideV",t.insideVertical)):this.root.push(new Pn("w:insideV",cc))}}p(uc,"NONE",{top:ac,bottom:ac,left:ac,right:ac,insideHorizontal:ac,insideVertical:ac});class lc extends w{constructor(t){let{horizontalAnchor:e,verticalAnchor:r,absoluteHorizontalPosition:n,relativeHorizontalPosition:o,absoluteVerticalPosition:i,relativeVerticalPosition:s,bottomFromText:a,topFromText:c,leftFromText:u,rightFromText:l,overlap:h}=t;super("w:tblpPr"),this.root.push(new b({leftFromText:{key:"w:leftFromText",value:void 0===u?void 0:bn(u)},rightFromText:{key:"w:rightFromText",value:void 0===l?void 0:bn(l)},topFromText:{key:"w:topFromText",value:void 0===c?void 0:bn(c)},bottomFromText:{key:"w:bottomFromText",value:void 0===a?void 0:bn(a)},absoluteHorizontalPosition:{key:"w:tblpX",value:void 0===n?void 0:gn(n)},absoluteVerticalPosition:{key:"w:tblpY",value:void 0===i?void 0:gn(i)},horizonta
2lAnchor:{key:"w:horzAnchor",value:void 0===e?void 0:e},relativeHorizontalPosition:{key:"w:tblpXSpec",value:o},relativeVerticalPosition:{key:"w:tblpYSpec",value:s},verticalAnchor:{key:"w:vertAnchor",value:r}})),h&&this.root.push(new In("w:tblOverlap",h))}}class hc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{type:"w:type"})}}class pc extends w{constructor(t){super("w:tblLayout"),this.root.push(new hc({type:t}))}}class fc extends g{constructor(t){super("w:tblPr"),t.style&&this.root.push(new Sn("w:tblStyle",t.style)),t.float&&this.root.push(new lc(t.float)),void 0!==t.visuallyRightToLeft&&this.root.push(new En("w:bidiVisual",t.visuallyRightToLeft)),t.width&&this.root.push(new Xa("w:tblW",t.width)),t.alignment&&this.root.push(new Fn(t.alignment)),t.indent&&this.root.push(new Xa("w:tblInd",t.indent)),t.borders&&this.root.push(new uc(t.borders)),t.shading&&this.root.push(new ro(t.shading)),t.layout&&this.root.push(new pc(t.layout)),t.cellMargin&&this.root.push(new qa(Ga,t.cellMargin))}}class dc extends hs{constructor(t){let{rows:e,width:r,columnWidths:n=Array(Math.max(...e.map(t=>t.CellCount))).fill(100),margins:o,indent:i,float:s,layout:a,style:c,borders:u,alignment:l,visuallyRightToLeft:h}=t;super("w:tbl"),this.root.push(new fc({borders:null!=u?u:{},width:null!=r?r:{size:100},indent:i,float:s,layout:a,style:c,alignment:l,cellMargin:o,visuallyRightToLeft:h})),this.root.push(new Ka(n));for(const p of e)this.root.push(p);e.forEach((t,r)=>{if(r===e.length-1)return;let n=0;t.cells.forEach(t=>{if(t.options.rowSpan&&t.options.rowSpan>1){const o=new sc({rowSpan:t.options.rowSpan-1,columnSpan:t.options.columnSpan,borders:t.options.borders,children:[],verticalMerge:$a});e[r+1].addCellToColumnIndex(o,n)}n+=t.options.columnSpan||1})})}}class mc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{value:"w:val",rule:"w:hRule"})}}class wc extends w{constructor(t,e){super("w:trHeight"),this.root.push(new mc({value:bn(t),rule:e}))}}class gc extends g{constructor(t){super("w:trPr"),void 0!==t.cantSplit&&this.root.push(new En("w:cantSplit",t.cantSplit)),void 0!==t.tableHeader&&this.root.push(new En("w:tblHeader",t.tableHeader)),t.height&&this.root.push(new wc(t.height.value,t.height.rule))}}class yc extends w{constructor(t){super("w:tr"),this.options=t,this.root.push(new gc(t));for(const e of t.children)this.root.push(e)}get CellCount(){return this.options.children.length}get cells(){return this.root.filter(t=>t instanceof sc)}addCellToIndex(t,e){this.root.splice(e+1,0,t)}addCellToColumnIndex(t,e){const r=this.columnIndexToRootIndex(e,!0);this.addCellToIndex(t,r-1)}rootIndexToColumnIndex(t){if(t<1||t>=this.root.length)throw new Error("cell 'rootIndex' should between 1 to ".concat(this.root.length-1));let e=0;for(let r=1;r<t;r++){e+=this.root[r].options.columnSpan||1}return e}columnIndexToRootIndex(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t<0)throw new Error("cell 'columnIndex' should not less than zero");let r=0,n=1;for(;r<=t;){if(n>=this.root.length){if(e)return this.root.length;throw new Error("cell 'columnIndex' should not great than ".concat(r-1))}const t=this.root[n];n+=1,r+=t&&t.options.columnSpan||1}return n-1}}class bc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class vc extends w{constructor(){super("Properties"),this.root.push(new bc({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}class xc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{xmlns:"xmlns"})}}class _c extends y{constructor(){super(...arguments),p(this,"xmlKeys",{contentType:"ContentType",extension:"Extension"})}}class Ec extends w{constructor(t,e){super("Default"),this.root.push(new _c({contentType:t,extension:e}))}}class Tc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{contentType:"ContentType",partName:"PartName"})}}class Sc extends w{constructor(t,e){super("Override"),this.root.push(new Tc({contentType:t,partName:e}))}}class kc extends w{constructor(){super("Types"),this.root.push(new xc({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(new Ec("image/png","png")),this.root.push(new Ec("image/jpeg","jpeg")),this.root.push(new Ec("image/jpeg","jpg")),this.root.push(new Ec("image/bmp","bmp")),this.root.push(new Ec("image/gif","gif")),this.root.push(new Ec("image/svg+xml","svg")),this.root.push(new Ec("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(new Ec("application/xml","xml")),this.root.push(new Ec("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(new Sc("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(new Sc("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(new Sc("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(new Sc("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(new Sc("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(new Sc("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(new Sc("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(new Sc("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(new Sc("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(new Sc("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addFooter(t){this.root.push(new Sc("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml","/word/footer".concat(t,".xml")))}addHeader(t){this.root.push(new Sc("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml","/word/header".concat(t,".xml")))}}class Ac extends w{constructor(t){super("cp:coreProperties"),this.root.push(new Qs({cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"})),t.title&&this.root.push(new Rn("dc:title",t.title)),t.subject&&this.root.push(new Rn("dc:subject",t.subject)),t.creator&&this.root.push(new Rn("dc:creator",t.creator)),t.keywords&&this.root.push(new Rn("cp:keywords",t.keywords)),t.description&&this.root.push(new Rn("dc:description",t.description)),t.lastModifiedBy&&this.root.push(new Rn("cp:lastModifiedBy",t.lastModifiedBy)),t.revision&&this.root.push(new Rn("cp:revision",String(t.revision))),this.root.push(new Ic("dcterms:created")),this.root.push(new Ic("dcterms:modified"))}}class Ic extends w{constructor(t){super(t),this.root.push(new Qs({type:"dcterms:W3CDTF"})),this.root.push((new Date).toISOString())}}class Rc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class Cc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{fmtid:"fmtid",pid:"pid",name:"name"})}}class Nc extends w{constructor(t,e){super("property"),this.root.push(new Cc({fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t.toString(),name:e.name})),this.root.push(new Oc(e.value))}}class Oc extends w{constructor(t){super("vt:lpwstr"),this.root.push(t)}}class Fc extends w{constructor(t){super("Properties"),p(this,"nextId"),p(this,"properties",[]),this.root.push(new Rc({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2;
2for(const e of t)this.addCustomProperty(e)}prepForXml(t){return this.properties.forEach(t=>this.root.push(t)),super.prepForXml(t)}addCustomProperty(t){this.properties.push(new Nc(this.nextId++,t))}}class Pc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type"})}}let Dc=class extends un{constructor(t,e){super("w:ftr",e),p(this,"refId"),this.refId=t,e||this.root.push(new Pc({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}))}get ReferenceId(){return this.refId}add(t){this.root.push(t)}};class Bc{constructor(t,e,r){p(this,"footer"),p(this,"relationships"),this.media=t,this.footer=new Dc(e,r),this.relationships=new na}add(t){this.footer.add(t)}addChildElement(t){this.footer.addChildElement(t)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}class Lc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class Uc extends w{constructor(){super("w:footnoteRef")}}class Mc extends Ao{constructor(){super({style:"FootnoteReference"}),this.root.push(new Uc)}}const jc="separator",zc="continuationSeparator";class Wc extends w{constructor(t){super("w:footnote"),this.root.push(new Lc({type:t.type,id:t.id}));for(let e=0;e<t.children.length;e++){const r=t.children[e];0===e&&r.addRunToFront(new Mc),this.root.push(r)}}}class Kc extends w{constructor(){super("w:continuationSeparator")}}class Hc extends Ao{constructor(){super({}),this.root.push(new Kc)}}class Gc extends w{constructor(){super("w:separator")}}class Vc extends Ao{constructor(){super({}),this.root.push(new Gc)}}class qc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class Zc extends w{constructor(){super("w:footnotes"),this.root.push(new qc({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const t=new Wc({id:-1,type:jc,children:[new ca({spacing:{after:0,line:240,lineRule:$i},children:[new Vc]})]});this.root.push(t);
2const e=new Wc({id:0,type:zc,children:[new ca({spacing:{after:0,line:240,lineRule:$i},children:[new Hc]})]});this.root.push(e)}createFootNote(t,e){const r=new Wc({id:t,children:e});this.root.push(r)}}class Xc{constructor(){p(this,"footnotess"),p(this,"relationships"),this.footnotess=new Zc,this.relationships=new na}get View(){return this.footnotess}get Relationships(){return this.relationships}}class Yc extends y{constructor(){super(...arguments),p(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",w16cid:"xmlns:w16cid",w16se:"xmlns:w16se"})}}let Jc=class extends un{constructor(t,e){super("w:hdr",e),p(this,"refId"),this.refId=t,e||this.root.push(new Yc({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex"}))}get ReferenceId(){return this.refId}add(t){this.root.push(t)}};class Qc{constructor(t,e,r){p(this,"header"),p(this,"relationships"),this.media=t,this.header=new Jc(e,r),this.relationships=new na}add(t){return this.header.add(t),this}addChildElement(t){this.header.addChildElement(t)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}class $c{constructor(){p(this,"map"),this.map=new Map}addImage(t,e){this.map.set(t,e)}get Array(){return Array.from(this.map.values())}}const tu="bullet";class eu extends y{constructor(){super(...arguments),p(this,"xmlKeys",{ilvl:"w:ilvl",tentative:"w15:tentative"})}}class ru extends w{constructor(t){super("w:numFmt"),this.root.push(new v({val:t}))}}class nu extends w{constructor(t){super("w:lvlText"),this.root.push(new v({val:t}))}}class ou extends w{constructor(t){super("w:lvlJc"),this.root.push(new v({val:t}))}}class iu extends w{constructor(t){super("w:suff"),this.root.push(new v({val:t}))}}class su extends w{constructor(){super("w:isLgl")}}class au extends w{constructor(t){let{level:e,format:r,text:n,alignment:o=Nn.START,start:i=1,style:s,suffix:a,isLegalNumberingStyle:c}=t;if(super("w:lvl"),p(this,"paragraphProperties"),p(this,"runProperties"),this.root.push(new An("w:start",ln(i))),r&&this.root.push(new ru(r)),a&&this.root.push(new iu(a)),c&&this.root.push(new su),n&&this.root.push(new nu(n)),this.root.push(new ou(o
2)),this.paragraphProperties=new aa(s&&s.paragraph),this.runProperties=new vo(s&&s.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties),e>9)throw new Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new eu({ilvl:ln(e),tentative:1}))}}class cu extends au{}class uu extends w{constructor(t){super("w:multiLevelType"),this.root.push(new v({val:t}))}}class lu extends y{constructor(){super(...arguments),p(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}}class hu extends w{constructor(t,e){super("w:abstractNum"),p(this,"id"),this.root.push(new lu({abstractNumId:ln(t),restartNumberingAfterBreak:0})),this.root.push(new uu("hybridMultilevel")),this.id=t;for(const r of e)this.root.push(new cu(r))}}class pu extends w{constructor(t){super("w:abstractNumId"),this.root.push(new v({val:t}))}}class fu extends y{constructor(){super(...arguments),p(this,"xmlKeys",{numId:"w:numId"})}}class du extends w{constructor(t){if(super("w:num"),p(this,"numId"),p(this,"reference"),p(this,"instance"),this.numId=t.numId,this.reference=t.reference,this.instance=t.instance,this.root.push(new fu({numId:ln(t.numId)})),this.root.push(new pu(ln(t.abstractNumId))),t.overrideLevels&&t.overrideLevels.length)for(const e of t.overrideLevels)this.root.push(new wu(e.num,e.start))}}class mu extends y{constructor(){super(...arguments),p(this,"xmlKeys",{ilvl:"w:ilvl"})}}class wu extends w{constructor(t,e){super("w:lvlOverride"),this.root.push(new mu({ilvl:t})),void 0!==e&&this.root.push(new yu(e))}}class gu extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val"})}}class yu extends w{constructor(t){super("w:startOverride"),this.root.push(new gu({val:t}))}}class bu extends w{constructor(t){super("w:numbering"),p(this,"abstractNumberingMap",new Map),p(this,"concreteNumberingMap",new Map),p(this,"referenceConfigMap",new Map),p(this,"abstractNumUniqueNumericId",Co()),p(this,"concreteNumUniqueNumericId",Co(1)),this.root.push(new Qs({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));const e=new hu(this.abstractNumUniqueNumericId(),[{level:0,format:tu,text:"\u25cf",alignment:Nn.LEFT,style:{paragraph:{indent:{left:Ro(.5),hanging:Ro(.25)}}}},{level:1,format:tu,text:"\u25cb",alignment:Nn.LEFT,style:{paragraph:{indent:{left:Ro(1),hanging:Ro(.25)}}}},{level:2,format:tu,text:"\u25a0",alignment:Nn.LEFT,style:{paragraph:{indent:{left:2160,hanging:Ro(.25)}}}},{level:3,format:tu,text:"\u25cf",alignment:Nn.LEFT,style:{paragraph:{indent:{left:2880,hanging:Ro(.25)}}}},{level:4,format:tu,text:"\u25cb",alignment:Nn.LEFT,style:{paragraph:{indent:{left:3600,hanging:Ro(.25)}}}},{level:5,format:tu,text:"\u25a0",alignment:Nn.LEFT,style:{paragraph:{indent:{left:4320,hanging:Ro(.25)}}}},{level:6,format:tu,text:"\u25cf",alignment:Nn.LEFT,style:{paragraph:{indent:{left:5040,hanging:Ro(.25)}}}},{level:7,format:tu,text:"\u25cf",alignment:Nn.LEFT,style:{paragraph:{indent:{left:5760,hanging:Ro(.25)}}}},{level:8,format:tu,text:"\u25cf",alignment:Nn.LEFT,style:{paragraph:{indent:{left:6480,hanging:Ro(.25)}}}}]);this.concreteNumberingMap.set("default-bullet-numbering",new du({numId:1,abstractNumId:e.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",e);for(const r of t.config)this.abstractNumberingMap.set(r.reference,new hu(this.abstractNumUniqueNumericId(),r.levels)),this.referenceConfigMap.set(r.reference,r.levels)}
2prepForXml(t){for(const e of this.abstractNumberingMap.values())this.root.push(e);for(const e of this.concreteNumberingMap.values())this.root.push(e);return super.prepForXml(t)}createConcreteNumberingInstance(t,e){const r=this.abstractNumberingMap.get(t);if(!r)return;const n="".concat(t,"-").concat(e);if(this.concreteNumberingMap.has(n))return;const o=this.referenceConfigMap.get(t),i=o&&o[0].start,s={numId:this.concreteNumUniqueNumericId(),abstractNumId:r.id,reference:t,instance:e,overrideLevels:[i&&Number.isInteger(i)?{num:0,start:i}:{num:0,start:1}]};this.concreteNumberingMap.set(n,new du(s))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}}class vu extends y{constructor(){super(...arguments),p(this,"xmlKeys",{version:"w:val",name:"w:name",uri:"w:uri"})}}class xu extends w{constructor(t){super("w:compatSetting"),this.root.push(new vu({version:t,uri:"http://schemas.microsoft.com/office/word",name:"compatibilityMode"}))}}class _u extends w{constructor(t){super("w:compat"),t.version&&this.root.push(new xu(t.version)),t.useSingleBorderforContiguousCells&&this.root.push(new En("w:useSingleBorderforContiguousCells",t.useSingleBorderforContiguousCells)),t.wordPerfectJustification&&this.root.push(new En("w:wpJustification",t.wordPerfectJustification)),t.noTabStopForHangingIndent&&this.root.push(new En("w:noTabHangInd",t.noTabStopForHangingIndent)),t.noLeading&&this.root.push(new En("w:noLeading",t.noLeading)),t.spaceForUnderline&&this.root.push(new En("w:spaceForUL",t.spaceForUnderline)),t.noColumnBalance&&this.root.push(new En("w:noColumnBalance",t.noColumnBalance)),t.balanceSingleByteDoubleByteWidth&&this.root.push(new En("w:balanceSingleByteDoubleByteWidth",t.balanceSingleByteDoubleByteWidth)),t.noExtraLineSpacing&&this.root.push(new En("w:noExtraLineSpacing",t.noExtraLineSpacing)),t.doNotLeaveBackslashAlone&&this.root.push(new En("w:doNotLeaveBackslashAlone",t.doNotLeaveBackslashAlone)),t.underlineTrailingSpaces&&this.root.push(new En("w:ulTrailSpace",t.underlineTrailingSpaces)),t.doNotExpandShiftReturn&&this.root.push(new En("w:doNotExpandShiftReturn",t.doNotExpandShiftReturn)),t.spacingInWholePoints&&this.root.push(new En("w:spacingInWholePoints",t.spacingInWholePoints)),t.lineWrapLikeWord6&&this.root.push(new En("w:lineWrapLikeWord6",t.lineWrapLikeWord6)),t.printBodyTextBeforeHeader&&this.root.push(new En("w:printBodyTextBeforeHeader",t.printBodyTextBeforeHeader)),t.printColorsBlack&&this.root.push(new En("w:printColBlack",t.printColorsBlack)),t.spaceWidth&&this.root.push(new En("w:wpSpaceWidth",t.spaceWidth)),t.showBreaksInFrames&&this.root.push(new En("w:showBreaksInFrames",t.showBreaksInFrames)),t.subFontBySize&&this.root.push(new En("w:subFontBySize",t.subFontBySize)),t.suppressBottomSpacing&&this.root.push(new En("w:suppressBottomSpacing",t.suppressBottomSpacing)),t.suppressTopSpacing&&this.root.push(new En("w:suppressTopSpacing",t.suppressTopSpacing)),t.suppressSpacingAtTopOfPage&&this.root.push(new En("w:suppressSpacingAtTopOfPage",t.suppressSpacingAtTopOfPage)),t.suppressTopSpacingWP&&this.root.push(new En("w:suppressTopSpacingWP",t.suppressTopSpacingWP)),t.suppressSpBfAfterPgBrk&&this.root.push(new En("w:suppressSpBfAfterPgBrk",t.suppressSpBfAfterPgBrk)),t.swapBordersFacingPages&&this.root.push(new En("w:swapBordersFacingPages",t.swapBordersFacingPages)),t.convertMailMergeEsc&&this.root.push(new En("w:convMailMergeEsc",t.convertMailMergeEsc)),t.truncateFontHeightsLikeWP6&&this.root.push(new En("w:truncateFontHeightsLikeWP6",t.truncateFontHeightsLikeWP6)),t.macWordSmallCaps&&this.root.push(new En("w:mwSmallCaps",t.macWordSmallCaps)),t.usePrinterMetrics&&this.root.push(new En("w:usePrinterMetrics",t.usePrinterMetrics)),t.doNotSuppressParagraphBorders&&this.root.push(new En("w:doNotSuppressParagraphBorders",t.doNotSuppressParagraphBorders)),t.wrapTrailSpaces&&this.root.push(new En("w:wrapTrailSpaces",t.wrapTrailSpaces)),t.footnoteLayoutLikeWW8&&this.root.push(new En("w:footnoteLayoutLikeWW8",t.footnoteLayoutLikeWW8)),t.shapeLayoutLikeWW8&&this.root.push(new En("w:shapeLayoutLikeWW8",t.shapeLayoutLikeWW8)),t.alignTablesRowByRow&&this.root.push(new En("w:alignTablesRowByRow",t.alignTablesRowByRow)),t.forgetLastTabAlignment&&this.root.push(new En("w:forgetLastTabAlignment",t.forgetLastTabAlignment)),t.adjustLineHeightInTable&&this.root.push(new En("w:adjustLineHeightInTable",t.adjustLineHeightInTable)),t.autoSpaceLikeWord95&&this.root.push(new En("w:autoSpaceLikeWord95",t.autoSpaceLikeWord95)),t.noSpaceRaiseLower&&this.root.push(new En("w:noSpaceRaiseLower",t.noSpaceRaiseLower)),t.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new En("w:doNotUseHTMLParagraphAutoSpacing",t.doNotUseHTMLParagraphAutoSpacing)),t.layoutRawTableWidth&&this.root.push(new En("w:layoutRawTableWidth",t.layoutRawTableWidth)),t.layoutTableRowsApart&&this.root.push(new En("w:layoutTableRowsApart",t.layoutTableRowsApart)),t.useWord97LineBreakRules&&this.root.push(new En("w:useWord97LineBreakRules",t.useWord97LineBreakRules)),t.doNotBreakWrappedTables&&this.root.push(new En("w:doNotBreakWrappedTables",t.doNotBreakWrappedTables)),t.doNotSnapToGri
2dInCell&&this.root.push(new En("w:doNotSnapToGridInCell",t.doNotSnapToGridInCell)),t.selectFieldWithFirstOrLastCharacter&&this.root.push(new En("w:selectFldWithFirstOrLastChar",t.selectFieldWithFirstOrLastCharacter)),t.applyBreakingRules&&this.root.push(new En("w:applyBreakingRules",t.applyBreakingRules)),t.doNotWrapTextWithPunctuation&&this.root.push(new En("w:doNotWrapTextWithPunct",t.doNotWrapTextWithPunctuation)),t.doNotUseEastAsianBreakRules&&this.root.push(new En("w:doNotUseEastAsianBreakRules",t.doNotUseEastAsianBreakRules)),t.useWord2002TableStyleRules&&this.root.push(new En("w:useWord2002TableStyleRules",t.useWord2002TableStyleRules)),t.growAutofit&&this.root.push(new En("w:growAutofit",t.growAutofit)),t.useFELayout&&this.root.push(new En("w:useFELayout",t.useFELayout)),t.useNormalStyleForList&&this.root.push(new En("w:useNormalStyleForList",t.useNormalStyleForList)),t.doNotUseIndentAsNumberingTabStop&&this.root.push(new En("w:doNotUseIndentAsNumberingTabStop",t.doNotUseIndentAsNumberingTabStop)),t.useAlternateEastAsianLineBreakRules&&this.root.push(new En("w:useAltKinsokuLineBreakRules",t.useAlternateEastAsianLineBreakRules)),t.allowSpaceOfSameStyleInTable&&this.root.push(new En("w:allowSpaceOfSameStyleInTable",t.allowSpaceOfSameStyleInTable)),t.doNotSuppressIndentation&&this.root.push(new En("w:doNotSuppressIndentation",t.doNotSuppressIndentation)),t.doNotAutofitConstrainedTables&&this.root.push(new En("w:doNotAutofitConstrainedTables",t.doNotAutofitConstrainedTables)),t.autofitToFirstFixedWidthCell&&this.root.push(new En("w:autofitToFirstFixedWidthCell",t.autofitToFirstFixedWidthCell)),t.underlineTabInNumberingList&&this.root.push(new En("w:underlineTabInNumList",t.underlineTabInNumberingList)),t.displayHangulFixedWidth&&this.root.push(new En("w:displayHangulFixedWidth",t.displayHangulFixedWidth)),t.splitPgBreakAndParaMark&&this.root.push(new En("w:splitPgBreakAndParaMark",t.splitPgBreakAndParaMark)),t.doNotVerticallyAlignCellWithSp&&this.root.push(new En("w:doNotVertAlignCellWithSp",t.doNotVerticallyAlignCellWithSp)),t.doNotBreakConstrainedForcedTable&&this.root.push(new En("w:doNotBreakConstrainedForcedTable",t.doNotBreakConstrainedForcedTable)),t.ignoreVerticalAlignmentInTextboxes&&this.root.push(new En("w:doNotVertAlignInTxbx",t.ignoreVerticalAlignmentInTextboxes)),t.useAnsiKerningPairs&&this.root.push(new En("w:useAnsiKerningPairs",t.useAnsiKerningPairs)),t.cachedColumnBalance&&this.root.push(new En("w:cachedColBalance",t.cachedColumnBalance))}}class Eu extends y{constructor(){super(...arguments),p(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class Tu extends w{constructor(t){var e,r,n,o;super("w:settings"),this.root.push(new Eu({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.root.push(new En("w:displayBackgroundShape",!0)),void 0!==t.trackRevisions&&this.root.push(new En("w:trackRevisions",t.trackRevisions)),void 0!==t.evenAndOddHeaders&&this.root.push(new En("w:evenAndOddHeaders",t.evenAndOddHeaders)),void 0!==t.updateFields&&this.root.push(new En("w:updateFields",t.updateFields)),void 0!==t.defaultTabStop&&this.root.push(new An("w:defaultTabStop",t.defaultTabStop)),this.root.push(new _u(h(l({},null!=(e=t.compatibility)?e:{}),{version:null!=(o=null!=(n=null==(r=t.compatibility)?void 0:r.version)?n:t.compatibilityModeVersion)?o:15})))}}class Su extends y{constructor(){super(...arguments),p(this,"xmlKeys",{val:"w:val"})}}class ku extends w{constructor(t){super("w:name"),this.root.push(new Su({val:t}))}}class Au extends w{constructor(t){super("w:uiPriority"),this.root.push(new Su({val:ln(t)}))}}class Iu extends y{constructor(){super(...arguments),p(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}}class Ru extends w{constructor(t,e){super("w:style"),this.root.push(new Iu(t)),e.name&&this.root.push(new ku(e.name)),e.basedOn&&this.root.push(new Sn("w:basedOn",e.basedOn)),e.next&&this.root.push(new Sn("w:next",e.next)),e.link&&this.root.push(new Sn("w:link",e.link)),void 0!==e.uiPriority&&this.root.push(new Au(e.uiPriority)),void 0!==e.semiHidden&&this.root.push(new En("w:semiHidden",e.semiHidden)),void 0!==e.unhideWhenUsed&&this.root.push(new En("w:unhideWhenUsed",e.unhideWhenUsed)),void 0!==e.quickFormat&&this.root.push(new En("w:qFormat",e.quickFormat))}}class Cu extends Ru{constructor(t){super({type:"paragraph",styleId:t.id},t),p(this,"paragraphProperties"),p(this,"runProperties"),this.paragraphProperties=new aa(t.paragraph),this.runProperties=new vo(t.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}class Nu extends Ru{constructor(t){super({type:"character",styleId:t.id},l({uiPriority:99,unhideWhenUsed:!0},t)),p(this,"runProperties"),this.runProperties=new vo(t.run),this.root.push(this.runProperties)}}
2class Ou extends Cu{constructor(t){super(l({basedOn:"Normal",next:"Normal",quickFormat:!0},t))}}class Fu extends Ou{constructor(t){super(l({id:"Title",name:"Title"},t))}}class Pu extends Ou{constructor(t){super(l({id:"Heading1",name:"Heading 1"},t))}}class Du extends Ou{constructor(t){super(l({id:"Heading2",name:"Heading 2"},t))}}class Bu extends Ou{constructor(t){super(l({id:"Heading3",name:"Heading 3"},t))}}class Lu extends Ou{constructor(t){super(l({id:"Heading4",name:"Heading 4"},t))}}class Uu extends Ou{constructor(t){super(l({id:"Heading5",name:"Heading 5"},t))}}class Mu extends Ou{constructor(t){super(l({id:"Heading6",name:"Heading 6"},t))}}class ju extends Ou{constructor(t){super(l({id:"Strong",name:"Strong"},t))}}class zu extends Cu{constructor(t){super(l({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},t))}}class Wu extends Cu{constructor(t){super(l({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:$i}},run:{size:20}},t))}}class Ku extends Nu{constructor(t){super(l({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},t))}}class Hu extends Nu{constructor(t){super(l({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},t))}}class Gu extends Nu{constructor(t){super(l({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:yo}}},t))}}class Vu extends w{constructor(t){if(super("w:styles"),t.initialStyles&&this.root.push(t.initialStyles),t.importedStyles)for(const e of t.importedStyles)this.root.push(e);if(t.paragraphStyles)for(const e of t.paragraphStyles)this.root.push(new Cu(e));if(t.characterStyles)for(const e of t.characterStyles)this.root.push(new Nu(e))}}class qu extends w{constructor(t){super("w:pPrDefault"),this.root.push(new aa(t))}}class Zu extends w{constructor(t){super("w:rPrDefault"),this.root.push(new vo(t))}}class Xu extends w{constructor(t){super("w:docDefaults"),p(this,"runPropertiesDefaults"),p(this,"paragraphPropertiesDefaults"),this.runPropertiesDefaults=new Zu(t.run),this.paragraphPropertiesDefaults=new qu(t.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}class Yu{newInstance(t){const e=nn.xml2js(t,{compact:!1});let r;for(const o of e.elements||[])"w:styles"===o.name&&(r=o);if(void 0===r)throw new Error("can not find styles element");const n=r.elements||[];return new Vu({initialStyles:new cn(r.attributes),importedStyles:n.map(t=>on(t))})}}class Ju{newInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var e;return{initialStyles:new Qs({mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",Ignorable:"w14 w15"}),importedStyles:[new Xu(null!=(e=t.document)?e:{}),new Fu(l({run:{size:56}},t.title)),new Pu(l({run:{color:"2E74B5",size:32}},t.heading1)),new Du(l({run:{color:"2E74B5",size:26}},t.heading2)),new Bu(l({run:{color:"1F4D78",size:24}},t.heading3)),new Lu(l({run:{color:"2E74B5",italics:!0}},t.heading4)),new Uu(l({run:{color:"2E74B5"}},t.heading5)),new Mu(l({run:{color:"1F4D78"}},t.heading6)),new ju(l({run:{bold:!0}},t.strong)),new zu(t.listParagraph||{}),new Gu(t.hyperlink||{}),new Ku(t.footnoteReference||{}),new Wu(t.footnoteText||{}),new Hu(t.footnoteTextChar||{})]}}}const Qu=(t,e)=>{let{id:r,fontKey:n,subsetted:o}=t;return new Cn({name:e,attributes:l({id:{key:"r:id",value:r}},n?{fontKey:{key:"w:fontKey",value:"{".concat(n,"}")}}:{}),children:[...o?[new En("w:subsetted",o)]:[]]})},$u=t=>{let{name:e,index:r,fontKey:n,characterSet:o}=t;return(t=>{let{name:e,altName:r,panose1:n,charset:o,family:i,notTrueType:s,pitch:a,sig:c,embedRegular:u,embedBold:l,embedItalic:h,embedBoldItalic:p}=t;return new Cn({name:"w:font",attributes:{name:{key:"w:name",value:e}},children:[...r?[kn("w:altName",r)]:[],...n?[kn("w:panose1",n)]:[],...o?[kn("w:charset",o)]:[],...i?[kn("w:family",
2i)]:[],...s?[new En("w:notTrueType",s)]:[],...a?[kn("w:pitch",a)]:[],...c?[new Cn({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:c.usb0},usb1:{key:"w:usb1",value:c.usb1},usb2:{key:"w:usb2",value:c.usb2},usb3:{key:"w:usb3",value:c.usb3},csb0:{key:"w:csb0",value:c.csb0},csb1:{key:"w:csb1",value:c.csb1}}})]:[],...u?[Qu(u,"w:embedRegular")]:[],...l?[Qu(l,"w:embedBold")]:[],...h?[Qu(h,"w:embedItalic")]:[],...p?[Qu(p,"w:embedBoldItalic")]:[]]})})({name:e,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:o,family:"auto",pitch:"variable",embedRegular:{fontKey:n,id:"rId".concat(r)}})};class tl{constructor(t){var e;p(this,"fontTable"),p(this,"relationships"),p(this,"fontOptionsWithKey",[]),this.options=t,this.fontOptionsWithKey=t.map(t=>h(l({},t),{fontKey:"".concat(Oo(8),"-").concat(Oo(4),"-").concat(Oo(4),"-").concat(Oo(4),"-").concat(Oo(12))})),this.fontTable=(e=this.fontOptionsWithKey,new Cn({name:"w:fonts",attributes:{mc:{key:"xmlns:mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"},r:{key:"xmlns:r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},w:{key:"xmlns:w",value:"http://schemas.openxmlformats.org/wordprocessingml/2006/main"},w14:{key:"xmlns:w14",value:"http://schemas.microsoft.com/office/word/2010/wordml"},w15:{key:"xmlns:w15",value:"http://schemas.microsoft.com/office/word/2012/wordml"},w16cex:{key:"xmlns:w16cex",value:"http://schemas.microsoft.com/office/word/2018/wordml/cex"},w16cid:{key:"xmlns:w16cid",value:"http://schemas.microsoft.com/office/word/2016/wordml/cid"},w16:{key:"xmlns:w16",value:"http://schemas.microsoft.com/office/word/2018/wordml"},w16sdtdh:{key:"xmlns:w16sdtdh",value:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"},w16se:{key:"xmlns:w16se",value:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Ignorable:{key:"mc:Ignorable",value:"w14 w15 w16se w16cid w16 w16cex w16sdtdh"}},children:e.map((t,e)=>$u({name:t.name,index:e+1,fontKey:t.fontKey}))})),this.relationships=new na;for(let r=0;r<t.length;r++)this.relationships.createRelationship(r+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/font","fonts/".concat(t[r].name,".odttf"))}get View(){return this.fontTable}get Relationships(){return this.relationships}}
2class el{constructor(t){var e,r,n,o,i,s,a,c;if(p(this,"currentRelationshipId",1),p(this,"documentWrapper"),p(this,"headers",[]),p(this,"footers",[]),p(this,"coreProperties"),p(this,"numbering"),p(this,"media"),p(this,"fileRelationships"),p(this,"footnotesWrapper"),p(this,"settings"),p(this,"contentTypes"),p(this,"customProperties"),p(this,"appProperties"),p(this,"styles"),p(this,"comments"),p(this,"fontWrapper"),this.coreProperties=new Ac(h(l({},t),{creator:null!=(e=t.creator)?e:"Un-named",revision:null!=(r=t.revision)?r:1,lastModifiedBy:null!=(n=t.lastModifiedBy)?n:"Un-named"})),this.numbering=new bu(t.numbering?t.numbering:{config:[]}),this.comments=new Ji(null!=(o=t.comments)?o:{children:[]}),this.fileRelationships=new na,this.customProperties=new Fc(null!=(i=t.customProperties)?i:[]),this.appProperties=new vc,this.footnotesWrapper=new Xc,this.contentTypes=new kc,this.documentWrapper=new oa({background:t.background}),this.settings=new Tu({compatibilityModeVersion:t.compatabilityModeVersion,compatibility:t.compatibility,evenAndOddHeaders:!!t.evenAndOddHeaderAndFooters,trackRevisions:null==(s=t.features)?void 0:s.trackRevisions,updateFields:null==(a=t.features)?void 0:a.updateFields,defaultTabStop:t.defaultTabStop}),this.media=new $c,void 0!==t.externalStyles){const e=new Yu;this.styles=e.newInstance(t.externalStyles)}else if(t.styles){const e=(new Ju).newInstance(t.styles.default);this.styles=new Vu(l(l({},e),t.styles))}else{const t=new Ju;this.styles=new Vu(t.newInstance())}this.addDefaultRelationships();for(const u of t.sections)this.addSection(u);if(t.footnotes)for(const u in t.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(u),t.footnotes[u].children);this.fontWrapper=new tl(null!=(c=t.fonts)?c:[])}addSection(t){let{headers:e={},footers:r={},children:n,properties:o}=t;this.documentWrapper.View.Body.addSection(h(l({},o),{headerWrapperGroup:{default:e.default?this.createHeader(e.default):void 0,first:e.first?this.createHeader(e.first):void 0,even:e.even?this.createHeader(e.even):void 0},footerWrapperGroup:{default:r.default?this.createFooter(r.default):void 0,first:r.first?this.createFooter(r.first):void 0,even:r.even?this.createFooter(r.even):void 0}}));for(const i of n)this.documentWrapper.View.add(i)}createHeader(t){const e=new Qc(this.media,this.currentRelationshipId++);for(const r of t.options.children)e.add(r);return this.addHeaderToDocument(e),e}createFooter(t){const e=new Bc(this.media,this.currentRelationshipId++);for(const r of t.options.children)e.add(r);return this.addFooterToDocument(e),e}addHeaderToDocument(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks;this.headers.push({header:t,type:e}),this.documentWrapper.Relationships.createRelationship(t.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header","header".concat(this.headers.length,".xml")),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ks;this.footers.push({footer:t,type:e}),this.documentWrapper.Relationships.createRelationship(t.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer","footer".concat(this.footers.length,".xml")),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.createRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.createRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.createRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.createRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments","comments.xml")}get Document(){return this.documentWrapper}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map(t=>t.header)}get Footers(){return this.footers.map(t=>t.footer)}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get FontTable(){return this.fontWrapper}}class rl{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{children:[]};p(this,"options"),this.options=t}}class nl{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{children:[]};p(this,"options"),this.options=t}}function ol(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var il={exports:{}};il.exports=function t(e,r,n){function o(s,a){if(!r[s]){if(!e[s]){if
vendor: 4,245 bytes, line 2
2(!a&&ol)return ol(s);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=r[s]={exports:{}};e[s][0].call(u.exports,function(t){return o(e[s][1][t]||t)},u,u.exports,t,e,r,n)}return r[s].exports}for(var i=ol,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,r){var n=t("./utils"),o=t("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(t){for(var e,r,o,s,a,c,u,l=[],h=0,p=t.length,f=p,d="string"!==n.getTypeOf(t);h<t.length;)f=p-h,o=d?(e=t[h++],r=h<p?t[h++]:0,h<p?t[h++]:0):(e=t.charCodeAt(h++),r=h<p?t.charCodeAt(h++):0,h<p?t.charCodeAt(h++):0),s=e>>2,a=(3&e)<<4|r>>4,c=1<f?(15&r)<<2|o>>6:64,u=2<f?63&o:64,l.push(i.charAt(s)+i.charAt(a)+i.charAt(c)+i.charAt(u));return l.join("")},r.decode=function(t){var e,r,n,s,a,c,u=0,l=0,h="data:";if(t.substr(0,h.length)===h)throw new Error("Invalid base64 input, it looks like a data url.");var p,f=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===i.charAt(64)&&f--,t.charAt(t.length-2)===i.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(p=o.uint8array?new Uint8Array(0|f):new Array(0|f);u<t.length;)e=i.indexOf(t.charAt(u++))<<2|(s=i.indexOf(t.charAt(u++)))>>4,r=(15&s)<<4|(a=i.indexOf(t.charAt(u++)))>>2,n=(3&a)<<6|(c=i.indexOf(t.charAt(u++))),p[l++]=e,64!==a&&(p[l++]=r),64!==c&&(p[l++]=n);return p}},{"./support":30,"./utils":32}],2:[function(t,e,r){var n=t("./external"),o=t("./stream/DataWorker"),i=t("./stream/Crc32Probe"),s=t("./stream/DataLengthProbe");function a(t,e,r,n,o){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=o}a.prototype={getContentWorker:function(){var t=new o(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new o(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(t,e,r){return t.pipe(new i).pipe(new s("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new s("compressedSize")).withStreamInfo("compression",e)},e.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){var n=t("./utils"),o=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r,n){var i=o,s=n+r;t^=-1;for(var a=n;a<s;a++)t=t>>>8^i[255&(t^e[a])];return-1^t}(0|e,t,t.length,0):function(t,e,r,n){var i=o,s=n+r;t^=-1;for(var a=n;a<s;a++)t=t>>>8^i[255&(t^e.charCodeAt(a))];return-1^t}(0|e,t,t.length,0):0}},{"./utils":32}],5:[function(t,e,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){var n=null;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,o=t("pako"),i=t("./utils"),s=t("./stream/GenericWorker"),a=n?"uint8array":"array";function c(t,e){s.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",i.inherits(c,s),c.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(i.transformTo(a,t.data),!1)},c.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)}
vendor: 15,780 bytes, line 2
2,c.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(t){return new c("Deflate",t)},r.uncompressWorker=function(){return new c("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){function n(t,e){var r,n="";for(r=0;r<e;r++)n+=String.fromCharCode(255&t),t>>>=8;return n}function o(t,e,r,o,s,l){var h,p,f=t.file,d=t.compression,m=l!==a.utf8encode,w=i.transformTo("string",l(f.name)),g=i.transformTo("string",a.utf8encode(f.name)),y=f.comment,b=i.transformTo("string",l(y)),v=i.transformTo("string",a.utf8encode(y)),x=g.length!==f.name.length,_=v.length!==y.length,E="",T="",S="",k=f.dir,A=f.date,I={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(I.crc32=t.crc32,I.compressedSize=t.compressedSize,I.uncompressedSize=t.uncompressedSize);var R=0;e&&(R|=8),m||!x&&!_||(R|=2048);var C=0,N=0;k&&(C|=16),"UNIX"===s?(N=798,C|=function(t,e){var r=t;return t||(r=e?16893:33204),(65535&r)<<16}(f.unixPermissions,k)):(N=20,C|=63&(f.dosPermissions||0)),h=A.getUTCHours(),h<<=6,h|=A.getUTCMinutes(),h<<=5,h|=A.getUTCSeconds()/2,p=A.getUTCFullYear()-1980,p<<=4,p|=A.getUTCMonth()+1,p<<=5,p|=A.getUTCDate(),x&&(T=n(1,1)+n(c(w),4)+g,E+="up"+n(T.length,2)+T),_&&(S=n(1,1)+n(c(b),4)+v,E+="uc"+n(S.length,2)+S);var O="";return O+="\n\0",O+=n(R,2),O+=d.magic,O+=n(h,2),O+=n(p,2),O+=n(I.crc32,4),O+=n(I.compressedSize,4),O+=n(I.uncompressedSize,4),O+=n(w.length,2),O+=n(E.length,2),{fileRecord:u.LOCAL_FILE_HEADER+O+w+E,dirRecord:u.CENTRAL_FILE_HEADER+n(N,2)+O+n(b.length,2)+"\0\0\0\0"+n(C,4)+n(o,4)+w+E+b}}var i=t("../utils"),s=t("../stream/GenericWorker"),a=t("../utf8"),c=t("../crc32"),u=t("../signature");function l(t,e,r,n){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(l,s),l.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,s.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},l.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=o(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},l.prototype.closedSource=function(t){this.accumulate=!1;var e,r=this.streamFiles&&!t.file.dir,i=o(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),r)this.push({data:(e=t,u.DATA_DESCRIPTOR+n(e.crc32,4)+n(e.compressedSize,4)+n(e.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},l.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var r=this.bytesWritten-t,o=function(t,e,r,o,s){var a=i.transformTo("string",s(o));return u.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(t,2)+n(t,2)+n(e,4)+n(r,4)+n(a.length,2)+a}(this.dirRecords.length,r,t,this.zipComment,this.encodeFileName);this.push({data:o,meta:{percent:100}})},l.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},l.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",function(t){e.processChunk(t)}),t.on("end",function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()}),t.on("error",function(t){e.error(t)}),this},l.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},l.prototype.error=function(t){var e=this._sources;if(!s.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(n){}return!0},l.prototype.lock=function(){s.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=l},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,r){var n=t("../compressions"),o=t("./ZipFileWorker");r.generateWorker=function(t,e,r){var i=new o(e.streamFiles,r,e.platform,e.encodeFileName),s=0;try{t.forEach(function(t,r){s++;var o=function(t,e){var r=t||e,o=n[r];if(!o)throw new Error(r+" is not a valid compression method !");return o}(r.options.compression,e.compression),a=r.options.compressionOptions||e.compressionOptions||{},c=r.dir,u=r.date;r._compressWorker(o,a).withStreamInfo("file",{name:t,dir:c,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(i)}),i.entriesCount=s}catch(a){i.error(a)}return i}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,r){function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new n;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(n.prototype=t("./object")).loadAsync=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.version="3.10.1",n.loadAsync=function(t,e){return(new n).loadAsync(t,e)},n.external=t("./external"),e.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,r){var n=t("./utils"),o=t("./external"),i=t("./utf8"),s=t("./zipEntries"),a=t("./stream/Crc32Probe"),c=t("./nodejsUtils");function u(t){return new o.Promise(function(e,r){var n=t.decompressed.getContentWorker().pipe(new a);n.on("error",function(t){r(t)}).on("end",function(){n.streamInfo.crc32!==t.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):e()}).resume()})}e.exports=function(t,e){var r=this;return e=n.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),c.isNode&&c.isStream(t)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then(function(t){var r=new s(e);return r.load(t),r}).then(function(t){var r=[o.Promise.resolve(t)],n=t.files;if(e.checkCRC32)for(var i=0;i<n.length;i++)r.push(u(n[i]));return o.Promise.all(r)}).then(function(t){for(var o=t.shift(),i=o.files,s=0;s<i.length;s++){var a=i[s],c=a.fileNameStr,u=n.resolve(a.fileNameStr);r.file(u,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:e.createFolders}),a.dir||(r.file(u).unsafeOriginalName=c)}return o.zipComment.length&&(r.comment=o.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,r){var n=t("../utils"),o=t("../stream/GenericWorker");function i(t,e){o.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}n.inherits(i,o),i.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",function(t){e.push({data:t,meta:{percent:0}})}).on("error",function(t){e.isPaused?this.generatedError=t:e.error(t)}).on("end",function(){e.isPaused?e._upstreamEnded=!0:e.end()})},i.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,r){var n=t("readable-stream").Readable;function o(t,e,r){n.call(this,e),this._helper=t;var o=this;t.on("data",function(t,e){o.push(t)||o._helper.pause(),r&&r(e)}).on("error",function(t){o.emit("error",t)}).on("end",function(){o.push(null)})}t("../utils").inherits(o,n),o.prototype._read=function(){this._helper.resume()},e.exports=o},{"../utils":32,"readable-stream":16}],14:[function(t,e,r){e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,e){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,e)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var e=new Buffer(t);return e.fill(0),e},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,r){function n(t,e,r){var n,o=i.getTypeOf(e),a=i.extend(r||{},c);a.date=a.date||new Date,null!==a.compression&&(a.compression=a.compression.toUpperCase()),"string"==typeof a.unixPermissions&&(a.unixPermissions=parseInt(a.unixPermissions,8)),a.unixPermissions&&16384&a.unixPermissions&&(a.dir=!0),a.dosPermissions&&16&a.dosPermissions&&(a.dir=!0),a.dir&&(t=m(t)),a.createFolders&&(n=d(t))&&w.call(this,n,!0);var h="string"===o&&!1===a.binary&&!1===a.base64;r&&void 0!==r.binary||(a.binary=!h),(e instanceof u&&0===e.uncompressedSize||a.dir||!e||0===e.length)&&(a.base64=!1,a.binary=!0,e="",a.compression="STORE",o="string");var g=null;g=e instanceof u||e instanceof s?e:p.isNode&&p.isStream(e)?new f(t,e):i.prepareContent(t,e,a.binary,a.optimizedBinaryString,a.base64);var y=new l(t,g,a);this.files[t]=y}var o=t("./utf8"),i=t("./utils"),s=t("./stream/GenericWorker"),a=t("./stream/StreamHelper"),c=t("./defaults"),u=t("./compressedObject"),l=t("./zipObject"),h=t("./generate"),p=t("./nodejsUtils"),f=t("./nodejs/NodejsStreamInputAdapter"),d=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},w=function(t,e){return e=void 0!==e?e:c.createFolders,t=m(t),this.files[t]||n.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function g(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,n;for(e in this.files)n=this.files[e],(r=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(r,n)},filter:function(t){var e=[];return this.forEach(function(r,n){t(r,n)&&e.push(n)}),e},file:function(t,e,r){if(1!==arguments.length)return t=this.root+t,n.call(this,t,e,r),this;if(g(t)){var o=t;return this.filter(function(t,e){return!e.dir&&o.test(t)})}var i=this.files[this.root+t];return i&&!i.dir?i:null},folder:function(t){if(!t)return this;if(g(t))return this.filter(function(e,r){return r.dir&&t.test(e)});var e=this.root+t,r=w.call(this,e),n=this.clone();return n.root=r.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter(function(e,r){return r.name.slice(0,t.length)===t}),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,r={};try{if((r=i.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");i.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";e=h.generateWorker(this,r,n)}catch(c){(e=new s("error")).error(c)}return new a(e,r.type||"string",r.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,r){e.exports=t("stream")},{stream:void 0}],17:[function(t,e,r){var n=t("./DataReader");function o(t){n.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(o,n),o.prototype.byteAt=function(t){return this.data[this.zero+t]},o.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),o=t.charCodeAt(3),i=this.length-4;0<=i;--i)if(this.data[i]===e&&this.data[i+1]===r&&this.data[i+2]===n&&this.data[i+3]===o)return i-this.zero;return-1},o.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),o=t.charCodeAt(3),i=this.readData(4);return e===i[0]&&r===i[1]&&n===i[2]&&o===i[3]},o.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./DataReader":18}],18:[function(t,e,r){var n=t("../utils");function o(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,r=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=o},{"../utils":32}],19:[function(t,e,r){var n=t("./Uint8ArrayReader");function o(t){n.call(this,t)}t("../utils").inherits(o,n),o.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){var n=t("./DataReader");function o(t){n.call(this,t)}t("../utils").inherits(o,n),o.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},o.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},o.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},o.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){var n=t("./ArrayReader");function o(t){n.call(this,t)}t("../utils").inherits(o,n),o.prototype.readData=function(t){if(this.checkOffset(t),
vendor: 8,715 bytes, line 2
20===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){var n=t("../utils"),o=t("../support"),i=t("./ArrayReader"),s=t("./StringReader"),a=t("./NodeBufferReader"),c=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||o.uint8array?"nodebuffer"===e?new a(t):o.uint8array?new c(n.transformTo("uint8array",t)):new i(n.transformTo("array",t)):new s(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){r.LOCAL_FILE_HEADER="PK\x03\x04",r.CENTRAL_FILE_HEADER="PK\x01\x02",r.CENTRAL_DIRECTORY_END="PK\x05\x06",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(t,e,r){var n=t("./GenericWorker"),o=t("../utils");function i(t){n.call(this,"ConvertWorker to "+t),this.destType=t}o.inherits(i,n),i.prototype.processChunk=function(t){this.push({data:o.transformTo(this.destType,t.data),meta:t.meta})},e.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){var n=t("./GenericWorker"),o=t("../crc32");function i(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(i,n),i.prototype.processChunk=function(t){this.streamInfo.crc32=o(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){var n=t("../utils"),o=t("./GenericWorker");function i(t){o.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(i,o),i.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}o.prototype.processChunk.call(this,t)},e.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){var n=t("../utils"),o=t("./GenericWorker");function i(t){o.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(i,o),i.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r<this._listeners[t].length;r++)this._listeners[t][r].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",function(t){e.processChunk(t)}),t.on("end",function(){e.end()}),t.on("error",function(t){e.error(t)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=n},{}],29:[function(t,e,r){var n=t("../utils"),o=t("./ConvertWorker"),i=t("./GenericWorker"),s=t("../base64"),a=t("../support"),c=t("../external"),u=null;if(a.nodestream)try{u=t("../nodejs/NodejsStreamOutputAdapter")}catch(p){}function l(t,e){return new c.Promise(function(r,o){var i=[],a=t._internalType,c=t._outputType,u=t._mimeType;t.on("data",function(t,r){i.push(t),e&&e(r)}).on("error",function(t){i=[],o(t)}).on("end",function(){try{var t=function(t,e,r){switch(t){case"blob":return n.newBlob(n.transformTo("arraybuffer",e),r);case"base64":return s.encode(e);default:return n.transformTo(t,e)}}(c,function(t,e){var r,n=0,o=null,i=0;for(r=0;r<e.length;r++)i+=e[r].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(o=new Uint8Array(i),r=0;r<e.length;r++)o.set(e[r],n),n+=e[r].length;return o;case"nodebuffer":return Buffer.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(a,i),u);r(t)}catch(e){o(e)}i=[]}).resume()})}function h(t,e,r){var s=e;switch(e){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=e,this._mimeType=r,n.checkSupport(s),this._worker=t.pipe(new o(s)),t.lock()}catch(a){this._worker=new i("error"),this._worker.error(a)}}h.prototype={accumulate:function(t){return l(this,t)},on:function(t,e){var r=this;return"data"===t?this._worker.on(t,function(t){e.call(r,t.data,t.meta)}):this._worker.on(t,function(){n.delay(e,arguments,r)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},t)}},e.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,e,r){if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof Buffer,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=0===new Blob([n],{type:"application/zip"}).size}catch(i){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(n),r.blob=0===o.getBlob("application/zip").size}catch(s){r.blob=!1}}}try{r.nodestream=!!t("readable-stream").Readable}catch(i){r.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,r){for(var n=t("./utils"),o=t("./support"),i=t("./nodejsUtils"),s=t("./stream/GenericWorker"),a=new Array(256),c=0;c<256;c++)a[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function u(){s.call(this,"utf-8 decode"),this.leftOver=null}function l(){s.call(this,"utf-8 encode")}a[254]=a[254]=1,r.utf8encode=function(t){return o.nodebuffer?i.newBufferFrom(t,"utf-8"):function(t){var e,r,n,i,s,a=t.length,c=0;for(i=0;i<a;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),c+=r<128?1:r<2048?2:r<65536?3:4;for(e=o.uint8array?new Uint8Array(c):new Array(c),i=s=0;s<c;
vendor: 5,650 bytes, line 2
2i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?e[s++]=r:(r<2048?e[s++]=192|r>>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e}(t)},r.utf8decode=function(t){return o.nodebuffer?n.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,o,i,s=t.length,c=new Array(2*s);for(e=r=0;e<s;)if((o=t[e++])<128)c[r++]=o;else if(4<(i=a[o]))c[r++]=65533,e+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&e<s;)o=o<<6|63&t[e++],i--;1<i?c[r++]=65533:o<65536?c[r++]=o:(o-=65536,c[r++]=55296|o>>10&1023,c[r++]=56320|1023&o)}return c.length!==r&&(c.subarray?c=c.subarray(0,r):c.length=r),n.applyFromCharCode(c)}(t=n.transformTo(o.uint8array?"uint8array":"array",t))},n.inherits(u,s),u.prototype.processChunk=function(t){var e=n.transformTo(o.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var i=e;(e=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),e.set(i,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var s=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0||0===r?e:r+a[t[r]]>e?r:e}(e),c=e;s!==e.length&&(o.uint8array?(c=e.subarray(0,s),this.leftOver=e.subarray(s,e.length)):(c=e.slice(0,s),this.leftOver=e.slice(s,e.length))),this.push({data:r.utf8decode(c),meta:t.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=u,n.inherits(l,s),l.prototype.processChunk=function(t){this.push({data:r.utf8encode(t.data),meta:t.meta})},r.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,r){var n=t("./support"),o=t("./base64"),i=t("./nodejsUtils"),s=t("./external");function a(t){return t}function c(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}t("setimmediate"),r.newBlob=function(t,e){r.checkSupport("blob");try{return new Blob([t],{type:e})}catch(o){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(e)}catch(i){throw new Error("Bug : can't construct the Blob.")}}};var u={stringifyByChunk:function(t,e,r){var n=[],o=0,i=t.length;if(i<=r)return String.fromCharCode.apply(null,t);for(;o<i;)"array"===e||"nodebuffer"===e?n.push(String.fromCharCode.apply(null,t.slice(o,Math.min(o+r,i)))):n.push(String.fromCharCode.apply(null,t.subarray(o,Math.min(o+r,i)))),o+=r;return n.join("")},stringifyByChar:function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,i.allocBuffer(1)).length}catch(t){return!1}}()}};function l(t){var e=65536,n=r.getTypeOf(t),o=!0;if("uint8array"===n?o=u.applyCanBeUsed.uint8array:"nodebuffer"===n&&(o=u.applyCanBeUsed.nodebuffer),o)for(;1<e;)try{return u.stringifyByChunk(t,n,e)}catch(i){e=Math.floor(e/2)}return u.stringifyByChar(t)}function h(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}r.applyFromCharCode=l;var p={};p.string={string:a,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return p.string.uint8array(t).buffer},uint8array:function(t){return c(t,new Uint8Array(t.length))},nodebuffer:function(t){return c(t,i.allocBuffer(t.length))}},p.array={string:l,array:a,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return i.newBufferFrom(t)}},p.arraybuffer={string:function(t){return l(new Uint8Array(t))},array:function(t){return h(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:a,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return i.newBufferFrom(new Uint8Array(t))}},p.uint8array={string:l,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:a,nodebuffer:function(t){return i.newBufferFrom(t)}},p.nodebuffer={string:l,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return p.nodebuffer.uint8array(t).buffer},uint8array:function(t){return h(t,new Uint8Array(t.length))},nodebuffer:a},r.transformTo=function(t,e){if(e=e||"",!t)return e;r.checkSupport(t);var n=r.getTypeOf(e);return p[n][t](e)},r.resolve=function(t){for(var e=t.split("/"),r=[],n=0;n<e.length;n++){var o=e[n];"."===o||""===o&&0!==n&&n!==e.length-1||(".."===o?r.pop():r.push(o))}return r.join("/")},r.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":n.nodebuffer&&i.isBuffer(t)?"nodebuffer":n.uint8array&&t instanceof Uint8Array?"uint8array":n.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(t){if(!n[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(t){var e,r,n="";for(r=0;r<(t||"").length;r++)n+="\\x"+((e=t.charCodeAt(r))<16?"0":"")+e.toString(16).toUpperCase();return n},r.delay=function(t,e,r){setImmediate(function(){t.apply(r||null,e||[])})},r.inherits=function(t,e){function r(){}r.prototype=e.prototype,t.prototype=new r},r.extend=function(){var t,e,r={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===r[e]&&(r[e]=arguments[t][e]);return r}
vendor: 7,691 bytes, line 2
2,r.prepareContent=function(t,e,i,a,u){return s.Promise.resolve(e).then(function(t){return n.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new s.Promise(function(e,r){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(t){r(t.target.error)},n.readAsArrayBuffer(t)}):t}).then(function(e){var l,h=r.getTypeOf(e);return h?("arraybuffer"===h?e=r.transformTo("uint8array",e):"string"===h&&(u?e=o.decode(e):i&&!0!==a&&(e=c(l=e,n.uint8array?new Uint8Array(l.length):new Array(l.length)))),e):s.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,r){var n=t("./reader/readerFor"),o=t("./utils"),i=t("./signature"),s=t("./zipEntry"),a=t("./support");function c(t){this.files=[],this.loadOptions=t}c.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(e)+", expected "+o.pretty(t)+")")}},isSignature:function(t,e){var r=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===e;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=a.uint8array?"uint8array":"array",r=o.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,r,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),e=this.reader.readInt(4),r=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(t=new s({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,i.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=e-r;if(0<n)this.isSignature(e,i.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(t){this.reader=n(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,r){var n=t("./reader/readerFor"),o=t("./utils"),i=t("./compressedObject"),s=t("./crc32"),a=t("./utf8"),c=t("./compressions"),u=t("./support");function l(t,e){this.options=t,this.loadOptions=e}l.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in c)if(Object.prototype.hasOwnProperty.call(c,e)&&c[e].magic===t)return c[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=n(this.extraFields[1].value);
vendor: 2,524 bytes, line 2
2this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,r,n,o=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<o;)e=t.readInt(2),r=t.readInt(2),n=t.readData(r),this.extraFields[e]={id:e,length:r,value:n};t.setIndex(o)},handleUTF8:function(){var t=u.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=o.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=o.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=n(t.value);return 1!==e.readInt(1)||s(this.fileName)!==e.readInt(4)?null:a.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=n(t.value);return 1!==e.readInt(1)||s(this.fileComment)!==e.readInt(4)?null:a.utf8decode(e.readData(t.length-5))}return null}},e.exports=l},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,r){function n(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var o=t("./stream/StreamHelper"),i=t("./stream/DataWorker"),s=t("./utf8"),a=t("./compressedObject"),c=t("./stream/GenericWorker");n.prototype={internalStream:function(t){var e=null,r="string";try{if(!t)throw new Error("No output type specified.");var n="string"===(r=t.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),e=this._decompressWorker();var i=!this._dataBinary;i&&!n&&(e=e.pipe(new s.Utf8EncodeWorker)),!i&&n&&(e=e.pipe(new s.Utf8DecodeWorker))}catch(a){(e=new c("error")).error(a)}return new o(e,r,"")},async:function(t,e){return this.internalStream(t).accumulate(e)}
vendor: 6,343 bytes, line 2
2,nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof a&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new s.Utf8EncodeWorker)),a.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof c?this._data:new i(this._data)}};for(var u=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],l=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<u.length;h++)n.prototype[u[h]]=l;e.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,r){(function(t){var r,n,o=t.MutationObserver||t.WebKitMutationObserver;if(o){var i=0,s=new o(l),a=t.document.createTextNode("");s.observe(a,{characterData:!0}),r=function(){a.data=i=++i%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){l(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(l,0)};else{var c=new t.MessageChannel;c.port1.onmessage=l,r=function(){c.port2.postMessage(0)}}var u=[];function l(){var t,e;n=!0;for(var r=u.length;r;){for(e=u,u=[],t=-1;++t<r;)e[t]();r=u.length}n=!1}e.exports=function(t){1!==u.push(t)||n||r()}}).call(this,"undefined"!=typeof x?x:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,e,r){var n=t("immediate");function o(){}var i={},s=["REJECTED"],a=["FULFILLED"],c=["PENDING"];function u(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,t!==o&&f(this,t)}function l(t,e,r){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function h(t,e,r){n(function(){var n;try{n=e(r)}catch(o){return i.reject(t,o)}n===t?i.reject(t,new TypeError("Cannot resolve promise with itself")):i.resolve(t,n)})}function p(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function f(t,e){var r=!1;function n(e){r||(r=!0,i.reject(t,e))}function o(e){r||(r=!0,i.resolve(t,e))}var s=d(function(){e(o,n)});"error"===s.status&&n(s.value)}function d(t,e){var r={};try{r.value=t(e),r.status="success"}catch(n){r.status="error",r.value=n}return r}(e.exports=u).prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then(function(r){return e.resolve(t()).then(function(){return r})},function(r){return e.resolve(t()).then(function(){throw r})})},u.prototype.catch=function(t){return this.then(null,t)},u.prototype.then=function(t,e){if("function"!=typeof t&&this.state===a||"function"!=typeof e&&this.state===s)return this;var r=new this.constructor(o);return this.state!==c?h(r,this.state===a?t:e,this.outcome):this.queue.push(new l(r,t,e)),r},l.prototype.callFulfilled=function(t){i.resolve(this.promise,t)},l.prototype.otherCallFulfilled=function(t){h(this.promise,this.onFulfilled,t)},l.prototype.callRejected=function(t){i.reject(this.promise,t)},l.prototype.otherCallRejected=function(t){h(this.promise,this.onRejected,t)},i.resolve=function(t,e){var r=d(p,e);if("error"===r.status)return i.reject(t,r.value);var n=r.value;if(n)f(t,n);else{t.state=a,t.outcome=e;for(var o=-1,s=t.queue.length;++o<s;)t.queue[o].callFulfilled(e)}return t},i.reject=function(t,e){t.state=s,t.outcome=e;for(var r=-1,n=t.queue.length;++r<n;)t.queue[r].callRejected(e);return t},u.resolve=function(t){return t instanceof this?t:i.resolve(new this(o),t)},u.reject=function(t){var e=new this(o);return i.reject(e,t)},u.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,n=!1;if(!r)return this.resolve([]);for(var s=new Array(r),a=0,c=-1,u=new this(o);++c<r;)l(t[c],c);return u;function l(t,o){e.resolve(t).then(function(t){s[o]=t,++a!==r||n||(n=!0,i.resolve(u,s))},function(t){n||(n=!0,i.reject(u,t))})}},u.race=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,n=!1;if(!r)return this.resolve([]);for(var s,a=-1,c=new this(o);++a<r;)s=t[a],e.resolve(s).then(function(t){n||(n=!0,i.resolve(c,t))},function(t){n||(n=!0,i.reject(c,t))});return c}},{immediate:36}],38:[function(t,e,r){var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,r){var n=t("./zlib/deflate"),o=t("./utils/common"),i=t("./utils/strings"),s=t("./zlib/messages"),a=t("./zlib/zstream"),c=Object.prototype.toString,u=0,l=-1,h=0,p=8;function f(t){if(!(this instanceof f))return new f(t);this.options=o.assign({level:l,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(r!==u)throw new Error(s[r]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var d;if(d="string"==typeof e.dictionary?i.string2buf(e.dictionary):"[object ArrayBuffer]"===c.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(r=n.deflateSetDictionary(this.strm,d))!==u)throw new Error(s[r]);this._dict_set=!0}}function d(t,e){var r=new f(e);if(r.push(t,!0),r.err)throw r.msg||s[r.err];return r.result}f.prototype.push=function(t,e){var r,s,a=this.strm,l=this.options.chunkSize;if(this.ended)return!1;s=e===~~e?e:!0===e?4:0,"string"==typeof t?a.input=i.string2buf(t):"[object ArrayBuffer]"===c.call(t)?a.input=new 
vendor: 5,538 bytes, line 2
2Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new o.Buf8(l),a.next_out=0,a.avail_out=l),1!==(r=n.deflate(a,s))&&r!==u)return this.onEnd(r),!(this.ended=!0);0!==a.avail_out&&(0!==a.avail_in||4!==s&&2!==s)||("string"===this.options.to?this.onData(i.buf2binstring(o.shrinkBuf(a.output,a.next_out))):this.onData(o.shrinkBuf(a.output,a.next_out)))}while((0<a.avail_in||0===a.avail_out)&&1!==r);return 4===s?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===u):2!==s||(this.onEnd(u),!(a.avail_out=0))},f.prototype.onData=function(t){this.chunks.push(t)},f.prototype.onEnd=function(t){t===u&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Deflate=f,r.deflate=d,r.deflateRaw=function(t,e){return(e=e||{}).raw=!0,d(t,e)},r.gzip=function(t,e){return(e=e||{}).gzip=!0,d(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,r){var n=t("./zlib/inflate"),o=t("./utils/common"),i=t("./utils/strings"),s=t("./zlib/constants"),a=t("./zlib/messages"),c=t("./zlib/zstream"),u=t("./zlib/gzheader"),l=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,e.windowBits);if(r!==s.Z_OK)throw new Error(a[r]);this.header=new u,n.inflateGetHeader(this.strm,this.header)}function p(t,e){var r=new h(e);if(r.push(t,!0),r.err)throw r.msg||a[r.err];return r.result}h.prototype.push=function(t,e){var r,a,c,u,h,p,f=this.strm,d=this.options.chunkSize,m=this.options.dictionary,w=!1;if(this.ended)return!1;a=e===~~e?e:!0===e?s.Z_FINISH:s.Z_NO_FLUSH,"string"==typeof t?f.input=i.binstring2buf(t):"[object ArrayBuffer]"===l.call(t)?f.input=new Uint8Array(t):f.input=t,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new o.Buf8(d),f.next_out=0,f.avail_out=d),(r=n.inflate(f,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&m&&(p="string"==typeof m?i.string2buf(m):"[object ArrayBuffer]"===l.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,p)),r===s.Z_BUF_ERROR&&!0===w&&(r=s.Z_OK,w=!1),r!==s.Z_STREAM_END&&r!==s.Z_OK)return this.onEnd(r),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&r!==s.Z_STREAM_END&&(0!==f.avail_in||a!==s.Z_FINISH&&a!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(c=i.utf8border(f.output,f.next_out),u=f.next_out-c,h=i.buf2string(f.output,c),f.next_out=u,f.avail_out=d-u,u&&o.arraySet(f.output,f.output,c,u,0),this.onData(h)):this.onData(o.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(w=!0)}while((0<f.avail_in||0===f.avail_out)&&r!==s.Z_STREAM_END);return r===s.Z_STREAM_END&&(a=s.Z_FINISH),a===s.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===s.Z_OK):a!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(f.avail_out=0))},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===s.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},r.Inflate=h,r.inflate=p,r.inflateRaw=function(t,e){return(e=e||{}).raw=!0,p(t,e)},r.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])}}return t},r.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var o={arraySet:function(t,e,r,n,o){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),o);else for(var i=0;i<n;i++)t[o+i]=e[r+i]},flattenChunks:function(t){var e,r,n,o,i,s;for(e=n=0,r=t.length;e<r;e++)n+=t[e].length;for(s=new Uint8Array(n),e=o=0,r=t.length;e<r;e++)i=t[e],s.set(i,o),o+=i.length;return s}},i={arraySet:function(t,e,r,n,o){for(var i=0;i<n;i++)t[o+i]=e[r+i]},flattenChunks:function(t){return[].concat.apply([],t)}};r.setTyped=function(t){t?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,o)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,i))},r.setTyped(n)},{}],42:[function(t,e,r){var n=t("./common"),o=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(u){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(u){i=!1}for(var s=new n.Buf8(256),a=0;a<256;a++)s[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function c(t,e){if(e<65537&&(t.subarray&&i||!t.subarray&&o))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var r="",s=0;s<e;s++)r+=String.fromCharCode(t[s]);return r}s[254]=s[254]=1,r.string2buf=function(t){var e,r,o,i,s,a=t.length,c=0;for(i=0;i<a;i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(o=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(o-56320),i++),c+=r<128?1:r<2048?2:r<65536?3:4;for(e=new n.Buf8(c),i=s=0;s<c;
vendor: 8,286 bytes, line 2
2i++)55296==(64512&(r=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(o=t.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(o-56320),i++),r<128?e[s++]=r:(r<2048?e[s++]=192|r>>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e},r.buf2binstring=function(t){return c(t,t.length)},r.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,o=e.length;r<o;r++)e[r]=t.charCodeAt(r);return e},r.buf2string=function(t,e){var r,n,o,i,a=e||t.length,u=new Array(2*a);for(r=n=0;r<a;)if((o=t[r++])<128)u[n++]=o;else if(4<(i=s[o]))u[n++]=65533,r+=i-1;else{for(o&=2===i?31:3===i?15:7;1<i&&r<a;)o=o<<6|63&t[r++],i--;1<i?u[n++]=65533:o<65536?u[n++]=o:(o-=65536,u[n++]=55296|o>>10&1023,u[n++]=56320|1023&o)}return c(u,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0||0===r?e:r+s[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){e.exports=function(t,e,r,n){for(var o=65535&t,i=t>>>16&65535,s=0;0!==r;){for(r-=s=2e3<r?2e3:r;i=i+(o=o+e[n++]|0)|0,--s;);o%=65521,i%=65521}return o|i<<16}},{}],44:[function(t,e,r){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,r){var n=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,o){var i=n,s=o+r;t^=-1;for(var a=o;a<s;a++)t=t>>>8^i[255&(t^e[a])];return-1^t}},{}],46:[function(t,e,r){var n,o=t("../utils/common"),i=t("./trees"),s=t("./adler32"),a=t("./crc32"),c=t("./messages"),u=0,l=4,h=0,p=-2,f=-1,d=4,m=2,w=8,g=9,y=286,b=30,v=19,x=2*y+1,_=15,E=3,T=258,S=T+E+1,k=42,A=113,I=1,R=2,C=3,N=4;function O(t,e){return t.msg=c[e],e}function F(t){return(t<<1)-(4<t?9:0)}function P(t){for(var e=t.length;0<=--e;)t[e]=0}function D(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(o.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function B(t,e){i._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,D(t.strm)}function L(t,e){t.pending_buf[t.pending++]=e}function U(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function M(t,e){var r,n,o=t.max_chain_length,i=t.strstart,s=t.prev_length,a=t.nice_match,c=t.strstart>t.w_size-S?t.strstart-(t.w_size-S):0,u=t.window,l=t.w_mask,h=t.prev,p=t.strstart+T,f=u[i+s-1],d=u[i+s];t.prev_length>=t.good_match&&(o>>=2),a>t.lookahead&&(a=t.lookahead);do{if(u[(r=e)+s]===d&&u[r+s-1]===f&&u[r]===u[i]&&u[++r]===u[i+1]){i+=2,r++;do{}while(u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&u[++i]===u[++r]&&i<p);if(n=T-(p-i),i=p-T,s<n){if(t.match_start=e,a<=(s=n))break;f=u[i+s-1],d=u[i+s]}}}while((e=h[e&l])>c&&0!=--o);return s<=t.lookahead?s:t.lookahead}function j(t){var e,r,n,i,c,u,l,h,p,f,d=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-S)){for(o.arraySet(t.window,t.window,d,d,0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=r=t.hash_size;n=t.head[--e],t.head[e]=d<=n?n-d:0,--r;);for(e=r=d;n=t.prev[--e],t.prev[e]=d<=n?n-d:0,--r;);i+=d}if(0===t.strm.avail_in)break;if(u=t.strm,l=t.window,h=t.strstart+t.lookahead,f=void 0,(p=i)<(f=u.avail_in)&&(f=p),r=0===f?0:(u.avail_in-=f,o.arraySet(l,u.input,u.next_in,f,h),1===u.state.wrap?u.adler=s(u.adler,l,f,h):2===u.state.wrap&&(u.adler=a(u.adler,l,f,h)),u.next_in+=f,u.total_in+=f,f),t.lookahead+=r,t.lookahead+t.insert>=E)for(c=t.strstart-t.insert,t.ins_h=t.window[c],t.ins_h=(t.ins_h<<t.hash_shift^t.window[c+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[c+E-1])&t.hash_mask,t.prev[c&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=c,c++,t.insert--,!(t.lookahead+t.insert<E)););}while(t.lookahead<S&&0!==t.strm.avail_in)}function z(t,e){for(var r,n;;){if(t.lookahead<S){if(j(t),t.lookahead<S&&e===u)return I;if(0===t.lookahead)break}if(r=0,t.lookahead>=E&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+E-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-S&&(t.match_length=M(t,r)),t.match_length>=E)if(n=i._tr_tally(t,t.strstart-t.match_start,t.match_length-E),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=E){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+E-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(B(t,!1),0===t.strm.avail_out))return I}return t.insert=t.strstart<E-1?t.strstart:E-1,e===l?(B(t,!0),0===t.strm.avail_out?C:N):t.last_lit&&(B(t,!1),0===t.strm.avail_out)?I:R}function W(t,e){for(var r,n,o;;){if(t.lookahead<S){if(j(t),t.lookahead<S&&e===u)return I;if(0===t.lookahead)break}if(r=0,t.lookahead>=E&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+E-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=E-1,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-S&&(t.match_length=M(t,r),t.match_length<=5&&(1===t.strategy||t.match_length===E&&4096<t.strstart-t.match_start)&&(t.match_length=E-1)),t.prev_length>=E&&t.match_length<=t.prev_length){for(o=t.strstart+t.lookahead-E,n=i._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-E),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=o&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+E-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=E-1,t.strstart++,n&&(B(t,!1),0===t.strm.avail_out))return I}else if(t.match_available){if((n=i._tr_tally(t,0,t.window[t.strstart-1]))&&B(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return I}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<E-1?t.strstart:E-1,e===l?(B(t,!0),0===t.strm.avail_out?C:N):t.last_lit&&(B(t,!1),0===t.strm.avail_out)?I:R}function K(t,e,r,n,o){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=o}function H(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=w,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*x),this.dyn_dtree=new o.Buf16(2*(2*b+1)),this.bl_tree=new o.Buf16(2*(2*v+1)),P(this.dyn_ltree),P(this.dyn_dtree),P(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(_+1),this.heap=new o.Buf16(2*y+1),P(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*y+1),P(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function G(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=m,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?k:A,t.adler=2===e.wrap?0:1,e.last_flush=u,i._tr_init(e),h):O(t,p)}function V(t){var e,r=G(t);
vendor: 7,535 bytes, line 2
2return r===h&&((e=t.state).window_size=2*e.w_size,P(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=E-1,e.match_available=0,e.ins_h=0),r}function q(t,e,r,n,i,s){if(!t)return p;var a=1;if(e===f&&(e=6),n<0?(a=0,n=-n):15<n&&(a=2,n-=16),i<1||g<i||r!==w||n<8||15<n||e<0||9<e||s<0||d<s)return O(t,p);8===n&&(n=9);var c=new H;return(t.state=c).strm=t,c.wrap=a,c.gzhead=null,c.w_bits=n,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=i+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+E-1)/E),c.window=new o.Buf8(2*c.w_size),c.head=new o.Buf16(c.hash_size),c.prev=new o.Buf16(c.w_size),c.lit_bufsize=1<<i+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new o.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=e,c.strategy=s,c.method=r,V(t)}n=[new K(0,0,0,0,function(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(j(t),0===t.lookahead&&e===u)return I;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,B(t,!1),0===t.strm.avail_out))return I;if(t.strstart-t.block_start>=t.w_size-S&&(B(t,!1),0===t.strm.avail_out))return I}return t.insert=0,e===l?(B(t,!0),0===t.strm.avail_out?C:N):(t.strstart>t.block_start&&(B(t,!1),t.strm.avail_out),I)}),new K(4,4,8,4,z),new K(4,5,16,8,z),new K(4,6,32,32,z),new K(4,4,16,16,W),new K(8,16,32,32,W),new K(8,16,128,128,W),new K(8,32,128,256,W),new K(32,128,258,1024,W),new K(32,258,258,4096,W)],r.deflateInit=function(t,e){return q(t,e,w,15,8,0)},r.deflateInit2=q,r.deflateReset=V,r.deflateResetKeep=G,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?p:(t.state.gzhead=e,h):p},r.deflate=function(t,e){var r,o,s,c;if(!t||!t.state||5<e||e<0)return t?O(t,p):p;if(o=t.state,!t.output||!t.input&&0!==t.avail_in||666===o.status&&e!==l)return O(t,0===t.avail_out?-5:p);if(o.strm=t,r=o.last_flush,o.last_flush=e,o.status===k)if(2===o.wrap)t.adler=0,L(o,31),L(o,139),L(o,8),o.gzhead?(L(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),L(o,255&o.gzhead.time),L(o,o.gzhead.time>>8&255),L(o,o.gzhead.time>>16&255),L(o,o.gzhead.time>>24&255),L(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),L(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(L(o,255&o.gzhead.extra.length),L(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(t.adler=a(t.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(L(o,0),L(o,0),L(o,0),L(o,0),L(o,0),L(o,9===o.level?2:2<=o.strategy||o.level<2?4:0),L(o,3),o.status=A);else{var f=w+(o.w_bits-8<<4)<<8;f|=(2<=o.strategy||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(f|=32),f+=31-f%31,o.status=A,U(o,f),0!==o.strstart&&(U(o,t.adler>>>16),U(o,65535&t.adler)),t.adler=1}if(69===o.status)if(o.gzhead.extra){for(s=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>s&&(t.adler=a(t.adler,o.pending_buf,o.pending-s,s)),D(t),s=o.pending,o.pending!==o.pending_buf_size));)L(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>s&&(t.adler=a(t.adler,o.pending_buf,o.pending-s,s)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(73===o.status)if(o.gzhead.name){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(t.adler=a(t.adler,o.pending_buf,o.pending-s,s)),D(t),s=o.pending,o.pending===o.pending_buf_size)){c=1;break}c=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,L(o,c)}while(0!==c);o.gzhead.hcrc&&o.pending>s&&(t.adler=a(t.adler,o.pending_buf,o.pending-s,s)),0===c&&(o.gzindex=0,o.status=91)}else o.status=91;if(91===o.status)if(o.gzhead.comment){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(t.adler=a(t.adler,o.pending_buf,o.pending-s,s)),D(t),s=o.pending,o.pending===o.pending_buf_size)){c=1;break}c=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,L(o,c)}while(0!==c);o.gzhead.hcrc&&o.pending>s&&(t.adler=a(t.adler,o.pending_buf,o.pending-s,s)),0===c&&(o.status=103)}else o.status=103;if(103===o.status&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&D(t),o.pending+2<=o.pending_buf_size&&(L(o,255&t.adler),L(o,t.adler>>8&255),t.adler=0,o.status=A)):o.status=A),0!==o.pending){if(D(t),0===t.avail_out)return o.last_flush=-1,h}else if(0===t.avail_in&&F(e)<=F(r)&&e!==l)return O(t,-5);if(666===o.status&&0!==t.avail_in)return O(t,-5);if(0!==t.avail_in||0!==o.lookahead||e!==u&&666!==o.status){var d=2===o.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(j(t),0===t.lookahead)){if(e===u)return I;break}if(t.match_length=0,r=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(B(t,!1),0===t.strm.avail_out))return I}return t.insert=0,e===l?(B(t,!0),0===t.strm.avail_out?C:N):t.last_lit&&(B(t,!1),0===t.strm.avail_out)?I:R}(o,e):3===o.strategy?function(t,e){for(var r,n,o,s,a=t.window;;){if(t.lookahead<=T){if(j(t),t.lookahead<=T&&e===u)return I;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=E&&0<t.strstart&&(n=a[o=t.strstart-1])===a[++o]&&n===a[++o]&&n===a[++o]){s=t.strstart+T;do{}while(n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&n===a[++o]&&o<s);t.match_length=T-(s-o),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=E?(r=i._tr_tally(t,1,t.match_length-E),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(B(t,!1),0===t.strm.avail_out))return I}return t.insert=0,e===l?(B(t,!0),0===t.strm.avail_out?C:N):t.last_lit&&(B(t,!1),0===t.strm.avail_out)?I:R}(o,e):n[o.level].func(o,e);if(d!==C&&d!==N||(o.status=666),d===I||d===C)return 0===t.avail_out&&(o.last_flush=-1),h;if(d===R&&(1===e?i._tr_align(o):5!==e&&(i._tr_stored_block(o,0,0,!1),3===e&&(P(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),D(t),0===t.avail_out))return o.last_flush=-1,h}return e!==l?h:o.wrap<=0?1:(2===o.wrap?(L(o,255&t.adler),L(o,t.adler>>8&255),L(o,t.adler>>16&255),L(o,t.adler>>24&255),L(o,255&t.total_in),L(o,t.total_in>>8&255),L(o,t.total_in>>16&255),L(o,t.total_in>>24&255)):(U(o,t.adler>>>16),U(o,65535&t.adler)),D(t),0<o.wrap&&(o.wrap=-o.wrap),0!==o.pending?h:1)},r.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==k&&69!==e&&73!==e&&91!==e&&103!==e&&e!==A&&666!==e?O(t,p):(t.state=null,e===A?O(t,-3):h):p},r.deflateSetDictionary=function(t,e){var r,n,i,a,c,u,l,f,d=e.length;if(!t||!t.state)return p;if(2===(a=(r=t.state).wrap)||1===a&&r.status!==k||r.lookahead)return p;for(1===a&&(t.adler=s(t.adler,e,d,0)),r.wrap=0,d>=r.w_size&&(0===a&&(P(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new o.Buf8(r.w_size),o.arraySet(f,e,d-r.w_size,r.w_size,0),e=f,d=r.w_size),c=t.avail_in,u=t.next_in,l=t.input,t.avail_in=d,t.next_in=0,t.input=e,j(r);r.lookahead>=E;){for(n=r.strstart,i=r.lookahead-(E-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+E-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--i;);r.strstart=n,r.lookahead=E-1,j(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=E-1,r.match_available=0,t.next_in=u,t.input
vendor: 4,507 bytes, line 2
2=l,t.avail_in=c,r.wrap=a,h},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,r){e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,r){e.exports=function(t,e){var r,n,o,i,s,a,c,u,l,h,p,f,d,m,w,g,y,b,v,x,_,E,T,S,k;r=t.state,n=t.next_in,S=t.input,o=n+(t.avail_in-5),i=t.next_out,k=t.output,s=i-(e-t.avail_out),a=i+(t.avail_out-257),c=r.dmax,u=r.wsize,l=r.whave,h=r.wnext,p=r.window,f=r.hold,d=r.bits,m=r.lencode,w=r.distcode,g=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;t:do{d<15&&(f+=S[n++]<<d,d+=8,f+=S[n++]<<d,d+=8),b=m[f&g];e:for(;;){if(f>>>=v=b>>>24,d-=v,0===(v=b>>>16&255))k[i++]=65535&b;else{if(!(16&v)){if(0==(64&v)){b=m[(65535&b)+(f&(1<<v)-1)];continue e}if(32&v){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}x=65535&b,(v&=15)&&(d<v&&(f+=S[n++]<<d,d+=8),x+=f&(1<<v)-1,f>>>=v,d-=v),d<15&&(f+=S[n++]<<d,d+=8,f+=S[n++]<<d,d+=8),b=w[f&y];r:for(;;){if(f>>>=v=b>>>24,d-=v,!(16&(v=b>>>16&255))){if(0==(64&v)){b=w[(65535&b)+(f&(1<<v)-1)];continue r}t.msg="invalid distance code",r.mode=30;break t}if(_=65535&b,d<(v&=15)&&(f+=S[n++]<<d,(d+=8)<v&&(f+=S[n++]<<d,d+=8)),c<(_+=f&(1<<v)-1)){t.msg="invalid distance too far back",r.mode=30;break t}if(f>>>=v,d-=v,(v=i-s)<_){if(l<(v=_-v)&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(T=p,(E=0)===h){if(E+=u-v,v<x){for(x-=v;k[i++]=p[E++],--v;);E=i-_,T=k}}else if(h<v){if(E+=u+h-v,(v-=h)<x){for(x-=v;k[i++]=p[E++],--v;);if(E=0,h<x){for(x-=v=h;k[i++]=p[E++],--v;);E=i-_,T=k}}}else if(E+=h-v,v<x){for(x-=v;k[i++]=p[E++],--v;);E=i-_,T=k}for(;2<x;)k[i++]=T[E++],k[i++]=T[E++],k[i++]=T[E++],x-=3;x&&(k[i++]=T[E++],1<x&&(k[i++]=T[E++]))}else{for(E=i-_;k[i++]=k[E++],k[i++]=k[E++],k[i++]=k[E++],2<(x-=3););x&&(k[i++]=k[E++],1<x&&(k[i++]=k[E++]))}break}}break}}while(n<o&&i<a);n-=x=d>>3,f&=(1<<(d-=x<<3))-1,t.next_in=n,t.next_out=i,t.avail_in=n<o?o-n+5:5-(n-o),t.avail_out=i<a?a-i+257:257-(i-a),r.hold=f,r.bits=d}},{}],49:[function(t,e,r){var n=t("../utils/common"),o=t("./adler32"),i=t("./crc32"),s=t("./inffast"),a=t("./inftrees"),c=1,u=2,l=0,h=-2,p=1,f=852,d=592;function m(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function w(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function g(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=p,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(f),e.distcode=e.distdyn=new n.Buf32(d),e.sane=1,e.back=-1,l):h}function y(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,g(t)):h}function b(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?h:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,y(t))):h}function v(t,e){var r,n;return t?(n=new w,(t.state=n).window=null,(r=b(t,e))!==l&&(t.state=null),r):h}var x,_,E=!0;function T(t){if(E){var e;for(x=new n.Buf32(512),_=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(a(c,t.lens,0,288,x,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;a(u,t.lens,0,32,_,0,t.work,{bits:5}),E=!1}t.lencode=x,t.lenbits=9,t.distcode=_,t.distbits=5}function S(t,e,r,o){var i,s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new n.Buf8(s.wsize)),o>=s.wsize?(n.arraySet(s.window,e,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(o<(i=s.wsize-s.wnext)&&(i=o),n.arraySet(s.window,e,r-o,i,s.wnext),(o-=i)?(n.arraySet(s.window,e,r-o,o,0),s.wnext=o,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=i))),0}r.inflateReset=y,r.inflateReset2=b,r.inflateResetKeep=g,r.inflateInit=function(t){return v(t,15)},r.inflateInit2=v,r.inflate=function(t,e){var r,f,d,w,g,y,b,v,x,_,E,k,A,I,R,C,N,O,F,P,D,B,L,U,M=0,j=new n.Buf8(4),z=[
vendor: 10,060 bytes, line 2
216,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return h;12===(r=t.state).mode&&(r.mode=13),g=t.next_out,d=t.output,b=t.avail_out,w=t.next_in,f=t.input,y=t.avail_in,v=r.hold,x=r.bits,_=y,E=b,B=l;t:for(;;)switch(r.mode){case p:if(0===r.wrap){r.mode=13;break}for(;x<16;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if(2&r.wrap&&35615===v){j[r.check=0]=255&v,j[1]=v>>>8&255,r.check=i(r.check,j,2,0),x=v=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&v)<<8)+(v>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&v)){t.msg="unknown compression method",r.mode=30;break}if(x-=4,D=8+(15&(v>>>=4)),0===r.wbits)r.wbits=D;else if(D>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<D,t.adler=r.check=1,r.mode=512&v?10:12,x=v=0;break;case 2:for(;x<16;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if(r.flags=v,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=v>>8&1),512&r.flags&&(j[0]=255&v,j[1]=v>>>8&255,r.check=i(r.check,j,2,0)),x=v=0,r.mode=3;case 3:for(;x<32;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}r.head&&(r.head.time=v),512&r.flags&&(j[0]=255&v,j[1]=v>>>8&255,j[2]=v>>>16&255,j[3]=v>>>24&255,r.check=i(r.check,j,4,0)),x=v=0,r.mode=4;case 4:for(;x<16;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}r.head&&(r.head.xflags=255&v,r.head.os=v>>8),512&r.flags&&(j[0]=255&v,j[1]=v>>>8&255,r.check=i(r.check,j,2,0)),x=v=0,r.mode=5;case 5:if(1024&r.flags){for(;x<16;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}r.length=v,r.head&&(r.head.extra_len=v),512&r.flags&&(j[0]=255&v,j[1]=v>>>8&255,r.check=i(r.check,j,2,0)),x=v=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(y<(k=r.length)&&(k=y),k&&(r.head&&(D=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,f,w,k,D)),512&r.flags&&(r.check=i(r.check,f,k,w)),y-=k,w+=k,r.length-=k),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===y)break t;for(k=0;D=f[w+k++],r.head&&D&&r.length<65536&&(r.head.name+=String.fromCharCode(D)),D&&k<y;);if(512&r.flags&&(r.check=i(r.check,f,k,w)),y-=k,w+=k,D)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===y)break t;for(k=0;D=f[w+k++],r.head&&D&&r.length<65536&&(r.head.comment+=String.fromCharCode(D)),D&&k<y;);if(512&r.flags&&(r.check=i(r.check,f,k,w)),y-=k,w+=k,D)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;x<16;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if(v!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}x=v=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;x<32;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}t.adler=r.check=m(v),x=v=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=g,t.avail_out=b,t.next_in=w,t.avail_in=y,r.hold=v,r.bits=x,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){v>>>=7&x,x-=7&x,r.mode=27;break}for(;x<3;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}switch(r.last=1&v,x-=1,3&(v>>>=1)){case 0:r.mode=14;break;case 1:if(T(r),r.mode=20,6!==e)break;v>>>=2,x-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}v>>>=2,x-=2;break;case 14:for(v>>>=7&x,x-=7&x;x<32;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if((65535&v)!=(v>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&v,x=v=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(k=r.length){if(y<k&&(k=y),b<k&&(k=b),0===k)break t;n.arraySet(d,f,w,k,g),y-=k,w+=k,b-=k,g+=k,r.length-=k;break}r.mode=12;break;case 17:for(;x<14;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if(r.nlen=257+(31&v),v>>>=5,x-=5,r.ndist=1+(31&v),v>>>=5,x-=5,r.ncode=4+(15&v),v>>>=4,x-=4,286<r.nlen||30<r.ndist){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;x<3;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}r.lens[z[r.have++]]=7&v,v>>>=3,x-=3}for(;r.have<19;)r.lens[z[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,L={bits:r.lenbits},B=a(0,r.lens,0,19,r.lencode,0,r.work,L),r.lenbits=L.bits,B){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;C=(M=r.lencode[v&(1<<r.lenbits)-1])>>>16&255,N=65535&M,!((R=M>>>24)<=x);){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if(N<16)v>>>=R,x-=R,r.lens[r.have++]=N;else{if(16===N){for(U=R+2;x<U;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if(v>>>=R,x-=R,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}D=r.lens[r.have-1],k=3+(3&v),v>>>=2,x-=2}else if(17===N){for(U=R+3;x<U;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}x-=R,D=0,k=3+(7&(v>>>=R)),v>>>=3,x-=3}else{for(U=R+7;x<U;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}x-=R,D=0,k=11+(127&(v>>>=R)),v>>>=7,x-=7}if(r.have+k>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;k--;)r.lens[r.have++]=D}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,L={bits:r.lenbits},B=a(c,r.lens,0,r.nlen,r.lencode,0,r.work,L),r.lenbits=L.bits,B){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,L={bits:r.distbits},B=a(u,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,L),r.distbits=L.bits,B){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=y&&258<=b){t.next_out=g,t.avail_out=b,t.next_in=w,t.avail_in=y,r.hold=v,r.bits=x,s(t,E),g=t.next_out,d=t.output,b=t.avail_out,w=t.next_in,f=t.input,y=t.avail_in,v=r.hold,x=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;C=(M=r.lencode[v&(1<<r.lenbits)-1])>>>16&255,N=65535&M,!((R=M>>>24)<=x);){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if(C&&0==(240&C)){for(O=R,F=C,P=N;C=(M=r.lencode[P+((v&(1<<O+F)-1)>>O)])>>>16&255,N=65535&M,!(O+(R=M>>>24)<=x);){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}v>>>=O,x-=O,r.back+=O}if(v>>>=R,x-=R,r.back+=R,r.length=N,0===C){r.mode=26;break}if(32&C){r.back=-1,r.mode=12;break}if(64&C){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&C,r.mode=22;case 22:if(r.extra){for(U=r.extra;x<U;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}r.length+=v&(1<<r.extra)-1,v>>>=r.extra,x-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;C=(M=r.distcode[v&(1<<r.distbits)-1])>>>16&255,N=65535&M,!((R=M>>>24)<=x);){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if(0==(240&C)){for(O=R,F=C,P=N;C=(M=r.distcode[P+((v&(1<<O+F)-1)>>O)])>>>16&255,N=65535&M,!(O+(R=M>>>24)<=x);){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}v>>>=O,x-=O,r.back+=O}if(v>>>=R,x-=R,r.back+=R,64&C){t.msg="invalid distance code",r.mode=30;break}r.offset=N,r.extra=15&C,r.mode=24;case 24:if(r.extra){for(U=r.extra;x<U;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}r.offset+=v&(1<<r.extra)-1,v>>>=r.extra,x-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===b)break t;if(k=E-b,r.offset>k){if((k=r.offset-k)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}A=k>r.wnext?(k-=r.wnext,r.wsize-k):r.wnext-k,k>r.length&&(k=r.length),I=r.window}else I=d,A=g-r.offset,k=r.length;for(b<k&&(k=b),b-=k,r.length-=k;d[g++]=I[A++],--k;);0===r.length&&(r.mode=21);break;case 26:if(0===b)break t;d[g++]=r.length,b--,r.mode=21;break;case 27:if(r.wrap){for(;x<32;){if(0===y)break t;y--,v|=f[w++]<<x,x+=8}if(E-=b,t.total_out+=E,r.total+=E,E&&(t.adler=r.check=r.flags?i(r.check,d,E,g-E):o(r.check,d,E,g-E)),E=b,(r.flags?v:m(v))!==r.check){t.msg="incorrect data check",r.mode=30;break}x=v=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;x<32;){if(0===y)break t;y--,v+=f[w++]<<x,x+=8}if(v!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=30;break}x=v=0}r.mode=29;case 29:B=1;break t;case 30:B=-3;break t;case 31:return-4;default:return h}return t.next_out=g,t.avail_out=b,t.next_in=w,t.avail_in=y,r.hold=v,r.bits=x,(r.wsize||E!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&S(t,t.output,t.next_out,E-t.avail_out)?(r.mode=31,-4):(_-=t.avail_in,E-=t.avail_out,t.total_in+=_,t.total_out+=E,r.total+=E,r.wrap&&E&&(t.adler=r.check=r.flags?i(r.check,d,E,t.next_out-E):o(r.check,d,E,t.next_out-E)),t.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==_&&0===E||4===e)&&B===l&&(B=-5),B)},r.inflateEnd=function(t){if(!t||!t.state)return h;var e=t.state;return e.window&&(e.window=null),t.state=null,l},r.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?h:((r.head=e).done=!1,l):h},r.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?h:11===r.mode&&o(1,e,n,0)!==r.check?-3:S(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,l):h},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,r){var n=t("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,r,c,u,l,h,p){var f,d,m,w,g,y,b,v,x,_=p.bits,E=0,T=0,S=0,k=0,A=0,I=0,R=0,C=0,N=0,O=0,F=null,P=0,D=new n.Buf16(16),B=new n.Buf16(16),L=null,U=0;for(E=0;E<=15;E++)D[E]=0;for(T=0;T<c;T++)D[e[r+T]]++;for(A=_,k=15;1<=k&&0===D[k];k--);if(k<A&&(A=k),0===k)return u[l++]=20971520,u[l++]=20971520,p.bits=1,0;for(S=1;S<k&&0===D[S];S++);for(A<S&&(A=S),E=C=1;E<=15;E++)if(C<<=1,(C-=D[E])<0)return-1;if(0<C&&(0===t||1!==k))return-1;for(B[1]=0,E=1;E<15;E++)B[E+1]=B[E]+D[E];for(T=0;T<c;T++)0!==e[r+T]&&(h[B[e[r+T]]++]=T);if(y=0===t?(F=L=h,19):1===t?(F=o,P-=257,L=i,U-=257,256):(F=s,L=a,-1),E=S,g=l,R=T=O=0,m=-1,w=(N=1<<(I=A))-1,1===t&&852<N||2===t&&592<N)return 1;for(;;){for(b=E-R,x=h[T]<y?(v=0,h[T]):h[T]>
vendor: 4,068 bytes, line 2
2y?(v=L[U+h[T]],F[P+h[T]]):(v=96,0),f=1<<E-R,S=d=1<<I;u[g+(O>>R)+(d-=f)]=b<<24|v<<16|x,0!==d;);for(f=1<<E-1;O&f;)f>>=1;if(0!==f?(O&=f-1,O+=f):O=0,T++,0==--D[E]){if(E===k)break;E=e[r+h[T]]}if(A<E&&(O&w)!==m){for(0===R&&(R=A),g+=S,C=1<<(I=E-R);I+R<k&&!((C-=D[I+R])<=0);)I++,C<<=1;if(N+=1<<I,1===t&&852<N||2===t&&592<N)return 1;u[m=O&w]=A<<24|I<<16|g-l}}return 0!==O&&(u[g+O]=E-R<<24|64<<16),p.bits=A,0}},{"../utils/common":41}],51:[function(t,e,r){e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,r){var n=t("../utils/common"),o=0,i=1;function s(t){for(var e=t.length;0<=--e;)t[e]=0}var a=0,c=29,u=256,l=u+1+c,h=30,p=19,f=2*l+1,d=15,m=16,w=7,g=256,y=16,b=17,v=18,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],_=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],E=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],T=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=new Array(2*(l+2));s(S);var k=new Array(2*h);s(k);var A=new Array(512);s(A);var I=new Array(256);s(I);var R=new Array(c);s(R);var C,N,O,F=new Array(h);function P(t,e,r,n,o){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=o,this.has_stree=t&&t.length}function D(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function B(t){return t<256?A[t]:A[256+(t>>>7)]}function L(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function U(t,e,r){t.bi_valid>m-r?(t.bi_buf|=e<<t.bi_valid&65535,L(t,t.bi_buf),t.bi_buf=e>>m-t.bi_valid,t.bi_valid+=r-m):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function M(t,e,r){U(t,r[2*e],r[2*e+1])}function j(t,e){for(var r=0;r|=1&t,t>>>=1,r<<=1,0<--e;);return r>>>1}function z(t,e,r){var n,o,i=new Array(d+1),s=0;for(n=1;n<=d;n++)i[n]=s=s+r[n-1]<<1;for(o=0;o<=e;o++){var a=t[2*o+1];0!==a&&(t[2*o]=j(i[a]++,a))}}function W(t){var e;for(e=0;e<l;e++)t.dyn_ltree[2*e]=0;for(e=0;e<h;e++)t.dyn_dtree[2*e]=0;for(e=0;e<p;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*g]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function K(t){8<t.bi_valid?L(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function H(t,e,r,n){var o=2*e,i=2*r;return t[o]<t[i]||t[o]===t[i]&&n[e]<=n[r]}function G(t,e,r){for(var n=t.heap[r],o=r<<1;o<=t.heap_len&&(o<t.heap_len&&H(e,t.heap[o+1],t.heap[o],t.depth)&&o++,!H(e,n,t.heap[o],t.depth));)t.heap[r]=t.heap[o],r=o,o<<=1;t.heap[r]=n}function V(t,e,r){var n,o,i,s,a=0;if(0!==t.last_lit)for(;n=t.pending_buf[t.d_buf+2*a]<<8|t.pending_buf[t.d_buf+2*a+1],o=t.pending_buf[t.l_buf+a],a++,0===n?M(t,o,e):(M(t,(i=I[o])+u+1,e),0!==(s=x[i])&&U(t,o-=R[i],s),M(t,i=B(--n),r),0!==(s=_[i])&&U(t,n-=F[i],s)),a<t.last_lit;);M(t,g,e)}function q(t,e){var r,n,o,i=e.dyn_tree,s=e.stat_desc.static_tree,a=e.stat_desc.has_stree,c=e.stat_desc.elems,u=-1;for(t.heap_len=0,t.heap_max=f,r=0;r<c;r++)0!==i[2*r]?(t.heap[++t.heap_len]=u=r,t.depth[r]=0):i[2*r+1]=0;for(;t.heap_len<2;)i[2*(o=t.heap[++t.heap_len]=u<2?++u:0)]=1,t.depth[o]=0,t.opt_len--,a&&(t.static_len-=s[2*o+1]);for(e.max_code=u,r=t.heap_len>>1;1<=r;r--)G(t,i,r);for(o=c;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],G(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,i[2*o]=i[2*r]+i[2*n],t.depth[o]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,i[2*r+1]=i[2*n+1]=o,t.heap[1]=o++,G(t,i,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,o,i,s,a,c=e.dyn_tree,u=e.max_code,l=e.stat_desc.static_tree,h=e.stat_desc.has_stree,p=e.stat_desc.extra_bits,m=e.stat_desc.extra_base,w=e.stat_desc.max_length,g=0;for(i=0;i<=d;i++)t.bl_count[i]=0;for(c[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<f;r++)w<(i=c[2*c[2*(n=t.heap[r])+1]+1]+1)&&(i=w,g++),c[2*n+1]=i,u<n||(t.bl_count[i]++,s=0,m<=n&&(s=p[n-m]),a=c[2*n],t.opt_len+=a*(i+s),h&&(t.static_len+=a*(l[2*n+1]+s)));if(0!==g){do{for(i=w-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[w]--,g-=2}while(0<g);for(i=w;0!==i;i--)for(n=t.bl_count[i];0!==n;
2)u<(o=t.heap[--r])||(c[2*o+1]!==i&&(t.opt_len+=(i-c[2*o+1])*c[2*o],c[2*o+1]=i),n--)}}(t,e),z(i,u,t.bl_count)}function Z(t,e,r){var n,o,i=-1,s=e[1],a=0,c=7,u=4;for(0===s&&(c=138,u=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)o=s,s=e[2*(n+1)+1],++a<c&&o===s||(a<u?t.bl_tree[2*o]+=a:0!==o?(o!==i&&t.bl_tree[2*o]++,t.bl_tree[2*y]++):a<=10?t.bl_tree[2*b]++:t.bl_tree[2*v]++,i=o,u=(a=0)===s?(c=138,3):o===s?(c=6,3):(c=7,4))}function X(t,e,r){var n,o,i=-1,s=e[1],a=0,c=7,u=4;for(0===s&&(c=138,u=3),n=0;n<=r;n++)if(o=s,s=e[2*(n+1)+1],!(++a<c&&o===s)){if(a<u)for(;M(t,o,t.bl_tree),0!=--a;);else 0!==o?(o!==i&&(M(t,o,t.bl_tree),a--),M(t,y,t.bl_tree),U(t,a-3,2)):a<=10?(M(t,b,t.bl_tree),U(t,a-3,3)):(M(t,v,t.bl_tree),U(t,a-11,7));i=o,u=(a=0)===s?(c=138,3):o===s?(c=6,3):(c=7,4)}}s(F);var Y=!1;function J(t,e,r,o){var i,s,c,u;U(t,(a<<1)+(o?1:0),3),s=e,c=r,u=!0,K(i=t),u&&(L(i,c),L(i,~c)),n.arraySet(i.pending_buf,i.window,s,c,i.pending),i.pending+=c}r._tr_init=function(t){Y||(function(){var t,e,r,n,o,i=new Array(d+1);for(n=r=0;n<c-1;n++)for(R[n]=r,t=0;t<1<<x[n];t++)I[r++]=n;for(I[r-1]=n,n=o=0;n<16;n++)for(F[n]=o,t=0;t<1<<_[n];t++)A[o++]=n;for(o>>=7;n<h;n++)for(F[n]=o<<7,t=0;t<1<<_[n]-7;t++)A[256+o++]=n;for(e=0;e<=d;e++)i[e]=0;for(t=0;t<=143;)S[2*t+1]=8,t++,i[8]++;for(;t<=255;)S[2*t+1]=9,t++,i[9]++;for(;t<=279;)S[2*t+1]=7,t++,i[7]++;for(;t<=287;)S[2*t+1]=8,t++,i[8]++;for(z(S,l+1,i),t=0;t<h;t++)k[2*t+1]=5,k[2*t]=j(t,5);C=new P(S,x,u+1,l,d),N=new P(k,_,0,h,d),O=new P(new Array(0),E,0,p,w)}(),Y=!0),t.l_desc=new D(t.dyn_ltree,C),t.d_desc=new D(t.dyn_dtree,N),t.bl_desc=new D(t.bl_tree,O),t.bi_buf=0,t.bi_valid=0,W(t)},r._tr_stored_block=J,r._tr_flush_block=function(t,e,r,n){var s,a,c=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return o;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return i;for(e=32;e<u;e++)if(0!==t.dyn_ltree[2*e])return i;return o}(t)),q(t,t.l_desc),q(t,t.d_desc),c=function(t){var e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),q(t,t.bl_desc),e=p-1;3<=e&&0===t.bl_tree[2*T[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),s=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=s&&(s=a)):s=a=r+5,r+4<=s&&-1!==e?J(t,e,r,n):4===t.strategy||a===s?(U(t,2+(n?1:0),3),V(t,S,k)):(U(t,4+(n?1:0),3),function(t,e,r,n){var o;for(U(t,e-257,5),U(t,r-1,5),U(t,n-4,4),o=0;o<n;o++)U(t,t.bl_tree[2*T[o]+1],3);X(t,t.dyn_ltree,e-1),X(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,c+1),V(t,t.dyn_ltree,t.dyn_dtree)),W(t),n&&K(t)},r._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(I[r]+u+1)]++,t.dyn_dtree[2*B(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){var e;U(t,2,3),M(t,g,S),16===(e=t).bi_valid?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,e,r){e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){(function(t){!function(t,e){if(!t.setImmediate){var r,n,o,i,s=1,a={},c=!1,u=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,r="[object process]"==={}.toString.call(t.process)?function(t){it.nextTick(function(){p(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?(i="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",f,!1):t.attachEvent("onmessage",f),function(e){t.postMessage(i+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){p(t.data)},function(t){o.port2.postMessage(t)}):u&&"onreadystatechange"in u.createElement("script")?(n=u.documentElement,function(t){var e=u.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,n.removeChild(e),e=null},n.appendChild(e)}):function(t){setTimeout(p,0,t)},l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return a[s]=o,r(s),s++},l.clearImmediate=h}function h(t){delete a[t]}function p(t){if(c)setTimeout(p,0,t);else{var r=a[t];if(r){c=!0;try{!function(t){var r=t.callback,n=t.args;switch(n.length){case 0:r();break;case 1:r(n[0]);break;case 2:r(n[0],n[1]);break;case 3:r(n[0],n[1],n[2]);break;default:r.apply(e,n)}}(r)}finally{h(t),c=!1}}}}function f(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&p(+e.data.slice(i.length))}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,"undefined"!=typeof x?x:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10);const sl=_(il.exports);var al={exports:{}},cl={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"};var ul=function(t){return t&&t.replace?t.replace(/([&"<>'])/g,function(t,e){return cl[e]}):t},ll=dr.Stream;function hl(t,e,r){r=r||0;var n,o,i=(n=e,new Array(r||0).join(n||"")),s=t;if("object"===typeof t&&((s=t[o=Object.keys(t)[0]])&&s._elem))return s._elem.name=o,s._elem.icount=r,s._elem.indent=e,s._elem.indents=i,s._elem.interrupt=s,s._elem;var a,c=[],u=[];function l(t){Object.keys(t).forEach(function(e){c.push(function(t,e){return t+'="'+ul(e)+'"'}(e,t[e]))})}switch(typeof s){case"object":if(null===s)break;s._attr&&l(s._attr),s._cdata&&u.push(("<![CDATA["+s._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>
2"),s.forEach&&(a=!1,u.push(""),s.forEach(function(t){"object"==typeof t?"_attr"==Object.keys(t)[0]?l(t._attr):u.push(hl(t,e,r+1)):(u.pop(),a=!0,u.push(ul(t)))}),a||u.push(""));break;default:u.push(ul(s))}return{name:o,interrupt:!1,attributes:c,content:u,icount:r,indents:i,indent:e}}function pl(t,e,r){if("object"!=typeof e)return t(!1,e);var n=e.interrupt?1:e.content.length;function o(){for(;e.content.length;){var o=e.content.shift();if(void 0!==o){if(i(o))return;pl(t,o)}}t(!1,(n>1?e.indents:"")+(e.name?"</"+e.name+">":"")+(e.indent&&!r?"\n":"")),r&&r()}function i(e){return!!e.interrupt&&(e.interrupt.append=t,e.interrupt.end=o,e.interrupt=!1,t(!0),!0)}if(t(!1,e.indents+(e.name?"<"+e.name:"")+(e.attributes.length?" "+e.attributes.join(" "):"")+(n?e.name?">":"":e.name?"/>":"")+(e.indent&&n>1?"\n":"")),!n)return t(!1,e.indent?"\n":"");i(e)||o()}al.exports=function(t,e){"object"!==typeof e&&(e={indent:e});var r=e.stream?new ll:null,n="",o=!1,i=e.indent?!0===e.indent?"    ":e.indent:"",s=!0;function a(t){s?it.nextTick(t):t()}function c(t,e){if(void 0!==e&&(n+=e),t&&!o&&(r=r||new ll,o=!0),t&&o){var i=n;a(function(){r.emit("data",i)}),n=""}}function u(t,e){pl(c,hl(t,i,i?1:0),e)}function l(){if(r){var t=n;a(function(){r.emit("data",t),r.emit("end"),r.readable=!1,r.emit("close")})}}return a(function(){s=!1}),e.declaration&&function(t){var e={version:"1.0",encoding:t.encoding||"UTF-8"};t.standalone&&(e.standalone=t.standalone),u({"?xml":{_attr:e}}),n=n.replace("/>","?>")}(e.declaration),t&&t.forEach?t.forEach(function(e,r){var n;r+1===t.length&&(n=l),u(e,n)}):u(t,l),r?(r.readable=!0,r):n},al.exports.element=al.exports.Element=function(){var t={_elem:hl(Array.prototype.slice.call(arguments)),push:function(t){if(!this.append)throw new Error("not assigned to a parent!");var e=this,r=this._elem.indent;pl(this.append,hl(t,r,this._elem.icount+(r?1:0)),function(){e.append(!0)})},close:function(t){void 0!==t&&this.push(t),this.end&&this.end()}};return t};const fl=_(al.exports),dl=(t,e)=>{const r=e.replace(/-/g,"");if(32!==r.length)throw new Error("Error: Cannot extract GUID from font filename: ".concat(e));const n=r.replace(/(..)/g,"$1 ").trim().split(" ").map(t=>parseInt(t,16));n.reverse();const o=t.slice(0,32).map((t,e)=>t^n[e%n.length]);return Buffer.concat([t.slice(0,0),o,t.slice(32)])};class ml{format(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{stack:[]};const r=t.prepForXml(e);if(r)return r;throw Error("XMLComponent did not format correctly")}}class wl{replace(t,e,r){let n=t;return e.forEach((t,e)=>{n=n.replace(new RegExp("{".concat(t.fileName,"}"),"g"),(r+e).toString())}),n}getMediaData(t,e){return e.Array.filter(e=>t.search("{".concat(e.fileName,"}"))>0)}}class gl{replace(t,e){let r=t;for(const n of e)r=r.replace(new RegExp("{".concat(n.reference,"-").concat(n.instance,"}"),"g"),n.numId.toString());return r}}const yl="  ",bl=t=>!0===t?yl:!1===t?void 0:t;class vl{static toString(t,e){return f(this,null,function*(){const r=this.compiler.compile(t,bl(e));return yield r.generateAsync({type:"string",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBuffer(t,e){return f(this,null,function*(){const r=this.compiler.compile(t,bl(e));return yield r.generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBase64String(t,e){return f(this,null,function*(){const r=this.compiler.compile(t,bl(e));return yield r.generateAsync({type:"base64",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBlob(t,e){return f(this,null,function*(){const r=this.compiler.compile(t,bl(e));return yield r.generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toStream(t,e){const r=new dr.Stream;return this.compiler.compile(t,bl(e)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then(t=>{r.emit("data",t),r.emit("end")}),r}}p(vl,"compiler",new class{constructor(){p(this,"formatter"),p(this,"imageReplacer"),p(this,"numberingReplacer"),this.formatter=new ml,this.imageReplacer=new wl,this.numberingReplacer=new gl}compile(t,e){const r=new sl,n=this.xmlifyFile(t,e),o=new Map(Object.entries(n));for(const[,i]of o)if(Array.isArray(i))for(const t of i)r.file(t.path,t.data);else r.file(i.path,i.data);
2for(const i of t.Media.Array)"svg"!==i.type?r.file("word/media/".concat(i.fileName),i.data):(r.file("word/media/".concat(i.fileName),i.data),r.file("word/media/".concat(i.fallback.fileName),i.fallback.data));for(const{data:i,name:s,fontKey:a}of t.FontTable.fontOptionsWithKey){const[t]=s.split(".");r.file("word/fonts/".concat(t,".odttf"),dl(i,a))}return r}xmlifyFile(t,e){const r=t.Document.Relationships.RelationshipCount+1,n=fl(this.formatter.format(t.Document.View,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(n,t.Media);return{Relationships:{data:(()=>(o.forEach((e,n)=>{t.Document.Relationships.createRelationship(r+n,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image","media/".concat(e.fileName))}),fl(this.formatter.format(t.Document.Relationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}})))(),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const e=this.imageReplacer.replace(n,o,r);return this.numberingReplacer.replace(e,t.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const r=fl(this.formatter.format(t.Styles,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(r,t.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:fl(this.formatter.format(t.CoreProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:fl(this.formatter.format(t.Numbering,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:fl(this.formatter.format(t.FileRelationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:t.Headers.map((r,n)=>{const o=fl(this.formatter.format(r.View,{viewWrapper:r,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(o,t.Media).forEach((t,e)=>{r.Relationships.createRelationship(e,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image","media/".concat(t.fileName))}),{data:fl(this.formatter.format(r.Relationships,{viewWrapper:r,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"word/_rels/header".concat(n+1,".xml.rels")}}),FooterRelationships:t.Footers.map((r,n)=>{const o=fl(this.formatter.format(r.View,{viewWrapper:r,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(o,t.Media).forEach((t,e)=>{r.Relationships.createRelationship(e,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image","media/".concat(t.fileName))}),{data:fl(this.formatter.format(r.Relationships,{viewWrapper:r,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"word/_rels/footer".concat(n+1,".xml.rels")}}),Headers:t.Headers.map((r,n)=>{const o=fl(this.formatter.format(r.View,{viewWrapper:r,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),i=this.imageReplacer.getMediaData(o,t.Media),s=this.imageReplacer.replace(o,i,0);return{data:this.numberingReplacer.replace(s,t.Numbering.ConcreteNumbering),path:"word/header".concat(n+1,".xml")}}),Footers:t.Footers.map((r,n)=>{const o=fl(this.formatter.format(r.View,{viewWrapper:r,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),i=this.imageReplacer.getMediaData(o,t.Media),s=this.imageReplacer.replace(o,i,0);return{data:this.numberingReplacer.replace(s,t.Numbering.ConcreteNumbering),path:"word/footer".concat(n+1,".xml")}}),ContentTypes:{data:fl(this.formatter.format(t.ContentTypes,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:fl(this.formatter.format(t.CustomProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:fl(this.formatter.format(t.AppProperties,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:fl(this.formatter.format(t.FootNotes.View,{viewWrapper:t.FootNotes,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"word/footnotes.xml"},FootNotesRelationships:{data:fl(this.formatter.format(t.FootNotes.Relationships,{viewWrapper:t.FootNotes,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}),path:"word/_rels/footnotes.xml.rels"},Settings:{data:fl(this.formatter.format(t.Settings,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:fl(this.formatter.format(t.Comments,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/comments.xml"},FontTable:{data:fl(this.formatter.format(t.FontTable.View,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:(()=>fl(this.formatter.format(t.FontTable.Relationships,{viewWrapper:t.Document,file:t,stack:[]}),{indent:e,declaration:{encoding:"UTF-8"}}))(),path:"word/_rels/fontTable.xml.rels"}}}});new ml,new ml,new wl}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.