vendor: 4,845 bytes, line 1
1"use strict";(globalThis.webpackChunkdiscours_io_frontend=globalThis.webpackChunkdiscours_io_frontend||[]).push([[46],{67046(e,t,r){function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(){function e(){e.init.call(this)}function t(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function r(t){return void 0===t._maxListeners?e.defaultMaxListeners:t._maxListeners}function n(e,n,i,o){var s,a,u;if(t(i),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",n,i.listener?i.listener:i),a=e._events),u=a[n]),void 0===u)u=a[n]=i,++e._eventsCount;else if("function"==typeof u?u=a[n]=o?[i,u]:[u,i]:o?u.unshift(i):u.push(i),(s=r(e))>0&&u.length>s&&!u.warned){u.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(n)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=n,l.count=u.length,console&&console}return e}function i(){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 o(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=i.bind(n);return o.listener=r,n.wrapFn=o,o}function s(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):u(i,i.length)}function a(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function u(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function l(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(o){n.once&&e.removeEventListener(t,i),r(o)})}}if(Xe)return et.exports;Xe=1;var c,h="object"==typeof Reflect?Reflect:null,p=h&&"function"==typeof h.apply?h.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};c=h&&"function"==typeof h.ownKeys?h.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var d=Number.isNaN||function(e){return e!=e};et.exports=e,et.exports.once=function(e,t){return new Promise(function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}l(e,t,o,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&l(e,"error",t,{once:!0})}(e,i)})},e.EventEmitter=e,e.prototype._events=void 0,e.prototype._eventsCount=0,e.prototype._maxListeners=void 0;var f=10;return Object.defineProperty(e,"defaultMaxListeners",{enumerable:!0,get:function(){return f},set:function(e){if("number"!=typeof e||e<0||d(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");f=e}}),e.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},e.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||d(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},e.prototype.getMaxListeners=function(){return r(this)},e.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var a=i[e];if(void 0===a)return!1;if("function"==typeof a)p(a,this,t);else{var l=a.length,c=u(a,l);for(r=0;r<l;++r)p(c[r],this,t)}return!0},e.prototype.on=e.prototype.addListener=function(e,t){return n(this,e,t,!1)},e.prototype.prependListener=function(e,t){return n(this,e,t,!0)},e.prototype.once=function(e,r){return t(r),this.on(e,o(this,e,r)),this},e.prototype.prependOnceListener=function(e,r){return t(r),this.prependListener(e,o(this,e,r)),this},e.prototype.off=e.prototype.removeListener=function(e,r){var n,i,o,s,a;if(t(r),void 0===(i=this._events))return this;if(void 0===(n=i[e]))return this;if(n===r||n.listener===r)0===--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit
vendor: 4,621 bytes, line 1
1("removeListener",e,n.listener||r));else if("function"!=typeof n){for(o=-1,s=n.length-1;s>=0;s--)if(n[s]===r||n[s].listener===r){a=n[s].listener,o=s;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(i[e]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",e,a||r)}return this},e.prototype.removeAllListeners=function(e){var t,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[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},e.prototype.listeners=function(e){return s(this,e,!0)},e.prototype.rawListeners=function(e){return s(this,e,!1)},e.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):a.call(e,t)},e.prototype.listenerCount=a,e.prototype.eventNames=function(){return this._eventsCount>0?c(this._events):[]},et.exports}function o(){return qe||(qe=1,tt.exports="function"==typeof Object.create?function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}),tt.exports}function s(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function l(e){if(Ze===setTimeout)return setTimeout(e,0);if((Ze===a||!Ze)&&setTimeout)return Ze=setTimeout,setTimeout(e,0);try{return Ze(e,0)}catch(t){try{return Ze.call(null,e,0)}catch(t){return Ze.call(this,e,0)}}}function c(){st&&it&&(st=!1,it.length?ot=it.concat(ot):at=-1,ot.length&&h())}function h(){if(!st){var e=l(c);st=!0;for(var t=ot.length;t;){for(it=ot,ot=[];++at<t;)it&&it[at].run();at=-1,t=ot.length}it=null,st=!1,function(e){if(Ye===clearTimeout)return clearTimeout(e);if((Ye===u||!Ye)&&clearTimeout)return Ye=clearTimeout,clearTimeout(e);try{return Ye(e)}catch(t){try{return Ye.call(null,e)}catch(t){return Ye.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function d(){}function f(){return ct?lt:(ct=1,lt=i().EventEmitter)}function m(){return dt||(dt=1,function(e){function t(e){if(e>M)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,r.prototype),t}function r(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return o(e)}return n(e,t,r)}function n(e,n,i){if("string"==typeof e)return function(e,n){if("string"==typeof n&&""!==n||(n="utf8"),!r.isEncoding(n))throw new TypeError("Unknown encoding: "+n);var i=0|l(e,n),o=t(i),s=o.write(e,n);return s!==i&&(o=o.slice(0,s)),o}(e,n);if(ArrayBuffer.isView(e))return function(e){if(D(e,Uint8Array)){var t=new Uint8Array(e);return a(t.buffer,t.byteOffset,t.byteLength)}return s(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(D(e,ArrayBuffer)||e&&D(e.buffer,ArrayBuffer))return a(e,n,i);if("undefined"!=typeof SharedArrayBuffer&&(D(e,SharedArrayBuffer)||e&&D(e.buffer,SharedArrayBuffer)))return a(e,n,i);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return r.from(o,n,i);var c=function(e){if(r.isBuffer(e)){var n=0|u(e.length),i=t(n);return 0===i.length||e.copy(i,0,0,n),i}return void 0!==e.length?"number"!=typeof e.length||P(e.length)?t(0):s(e):"Buffer"===e.type&&Array.isArray(e.data)?s(e.data):void 0}(e);if(c)return c;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return r.from(e[Symbol.toPrimitive]("string"),n,i);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function i(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');
vendor: 4,740 bytes, line 1
1if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function o(e){return i(e),t(e<0?0:0|u(e))}function s(e){for(var r=e.length<0?0:0|u(e.length),n=t(r),i=0;i<r;i+=1)n[i]=255&e[i];return n}function a(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var i;return i=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(i,r.prototype),i}function u(e){if(e>=M)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+M.toString(16)+" bytes");return 0|e}function l(e,t){if(r.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||D(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return C(e).length;default:if(o)return i?-1:N(e).length;t=(""+t).toLowerCase(),o=!0}}function c(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return x(this,t,r);case"latin1":case"binary":return _(this,t,r);case"base64":return b(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function h(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function p(e,t,n,i,o){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),P(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=r.from(t,i)),r.isBuffer(t))return 0===t.length?-1:d(e,t,n,i,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):d(e,[t],n,i,o);throw new TypeError("val must be string, number or Buffer")}function d(e,t,r,n,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var s,a=1,u=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,u/=2,l/=2,r/=2}if(i){var c=-1;for(s=r;s<u;s++)if(o(e,s)===o(t,-1===c?0:s-c)){if(-1===c&&(c=s),s-c+1===l)return c*a}else-1!==c&&(s-=s-c),c=-1}else for(r+l>u&&(r=u-l),s=r;s>=0;s--){for(var h=!0,p=0;p<l;p++)if(o(e,s+p)!==o(t,p)){h=!1;break}if(h)return s}return-1}function f(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(P(a))return s;e[r+s]=a}return s}function m(e,t,r,n){return O(N(t,e.length-r),e,r,n)}function w(e,t,r,n){return O(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function g(e,t,r,n){return O(C(t),e,r,n)}function y(e,t,r,n){return O(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,e.length-r),e,r,n)}function b(e,t,r){return L.fromByteArray(0===t&&r===e.length?e:e.slice(t,r))}function v(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,u,l=e[i],c=null,h=l>239?4:l>223?3:l>191?2:1;if(i+h<=r)switch(h){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:s=e[i+2],128==(192&(o=e[i+1]))&&128==(192&s)&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:s=e[i+2],a=e[i+3],128==(192&(o=e[i+1]))&&128==(192&s)&&128==(192&a)&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,h=1):c>65535&&(n.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=h}return function(e){var t=e.length;if(t<=U)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=U));return r}(n)}function x(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function _(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function E(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;
vendor: 15,917 bytes, line 1
1++o)i+=j[e[o]];return i}function T(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function S(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function A(e,t,n,i,o,s){if(!r.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<s)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function k(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R(e,t,r,n,i){return t=+t,r>>>=0,i||k(e,0,r,4),F.write(e,t,r,n,23,4),r+4}function I(e,t,r,n,i){return t=+t,r>>>=0,i||k(e,0,r,8),F.write(e,t,r,n,52,8),r+8}function N(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function C(e){return L.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(H,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function O(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function D(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function P(e){return e!=e}var L=function(){function e(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function t(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function r(e,r,n){for(var i=[],o=r;o<n;o+=3)i.push(t((e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2])));return i.join("")}if(ht)return ti;ht=1,ti.byteLength=function(t){var r=e(t),n=r[1];return 3*(r[0]+n)/4-n},ti.toByteArray=function(t){var r,n,s=e(t),a=s[0],u=s[1],l=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,u)),c=0,h=u>0?a-4:a;for(n=0;n<h;n+=4)r=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],l[c++]=r>>16&255,l[c++]=r>>8&255,l[c++]=255&r;return 2===u&&(r=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[c++]=255&r),1===u&&(r=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[c++]=r>>8&255,l[c++]=255&r),l},ti.fromByteArray=function(e){for(var t,i=e.length,o=i%3,s=[],a=16383,u=0,l=i-o;u<l;u+=a)s.push(r(e,u,u+a>l?l:u+a));return 1===o?s.push(n[(t=e[i-1])>>2]+n[t<<4&63]+"=="):2===o&&s.push(n[(t=(e[i-2]<<8)+e[i-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),s.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=s[a],i[s.charCodeAt(a)]=a;return i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63,ti}(),F=(pt||(pt=1,ri.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<<a)-1,l=u>>1,c=-7,h=r?i-1:0,p=r?-1:1,d=e[t+h];for(h+=p,o=d&(1<<-c)-1,d>>=-c,c+=a;c>0;o=256*o+e[t+h],h+=p,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=n;c>0;s=256*s+e[t+h],h+=p,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=l}return(d?-1:1)*s*Math.pow(2,o-n)},ri.write=function(e,t,r,n,i,o){var s,a,u,l=8*o-i-1,c=(1<<l)-1,h=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+h>=1?p/u:p*Math.pow(2,1-h))*u>=2&&(s++,u/=2),s+h>=c?(a=0,s=c):s+h>=1?(a=(t*u-1)*Math.pow(2,i),s+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&a,d+=f,a/=256,i-=8);for(s=s<<i|a,l+=i;l>0;e[r+d]=255&s,d+=f,s/=256,l-=8);e[r+d-f]|=128*m}),ri),B="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=r,e.SlowBuffer=function(e){return+e!=e&&(e=0),r.alloc(+e)},e.INSPECT_MAX_BYTES=50;var M=2147483647;e.kMaxLength=M,!(r.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}())&&"undefined"!=typeof console&&console,Object.defineProperty(r.prototype,"parent",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.buffer}}),Object.defineProperty(r.prototype,"offset",{enumerable:!0,get:function(){if(r.isBuffer(this))return this.byteOffset}}),r.poolSize=8192,r.from=function(e,t,r){return n(e,t,r)},Object.setPrototypeOf(r.prototype,Uint8Array.prototype),Object.setPrototypeOf(r,Uint8Array),r.alloc=function(e,r,n){return function(e,r,n){return i(e),e<=0?t(e):void 0!==r?"string"==typeof n?t(e).fill(r,n):t(e).fill(r):t(e)}(e,r,n)},r.allocUnsafe=function(e){return o(e)},r.allocUnsafeSlow=function(e){return o(e)},r.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==r.prototype},r.compare=function(e,t){if(D(e,Uint8Array)&&(e=r.from(e,e.offset,e.byteLength)),D(t,Uint8Array)&&(t=r.from(t,t.offset,t.byteLength)),!r.isBuffer(e)||!r.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,s=Math.min(n,i);o<s;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0},r.isEncoding=function(e){switch(String(e).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}},r.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return r.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var i=r.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var s=e[n];if(D(s,Uint8Array))o+s.length>i.length?r.from(s).copy(i,o):Uint8Array.prototype.set.call(i,s,o);else{if(!r.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,o)}o+=s.length}return i},r.byteLength=l,r.prototype._isBuffer=!0,r.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},r.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},r.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},r.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?v(this,0,e):c.apply(this,arguments)},r.prototype.toLocaleString=r.prototype.toString,r.prototype.equals=function(e){if(!r.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===r.compare(this,e)},r.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},B&&(r.prototype[B]=r.prototype.inspect),r.prototype.compare=function(e,t,n,i,o){if(D(e,Uint8Array)&&(e=r.from(e,e.offset,e.byteLength)),!r.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var s=(o>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0),u=Math.min(s,a),l=this.slice(i,o),c=e.slice(t,n),h=0;h<u;++h)if(l[h]!==c[h]){s=l[h],a=c[h];break}return s<a?-1:a<s?1:0},r.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},r.prototype.indexOf=function(e,t,r){return p(this,e,t,r,!0)},r.prototype.lastIndexOf=function(e,t,r){return p(this,e,t,r,!1)},r.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return f(this,e,t,r);case"utf8":case"utf-8":return m(this,e,t,r);case"ascii":case"latin1":case"binary":return w(this,e,t,r);case"base64":return g(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},r.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var U=4096;r.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,r.prototype),i},r.prototype.readUintLE=r.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||S(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},r.prototype.readUintBE=r.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||S(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},r.prototype.readUint8=r.prototype.readUInt8=function(e,t){return e>>>=0,t||S(e,1,this.length),this[e]},r.prototype.readUint16LE=r.prototype.readUInt16LE=function(e,t){return e>>>=0,t||S(e,2,this.length),this[e]|this[e+1]<<8},r.prototype.readUint16BE=r.prototype.readUInt16BE=function(e,t){return e>>>=0,t||S(e,2,this.length),this[e]<<8|this[e+1]},r.prototype.readUint32LE=r.prototype.readUInt32LE=function(e,t){return e>>>=0,t||S(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},r.prototype.readUint32BE=r.prototype.readUInt32BE=function(e,t){return e>>>=0,t||S(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},r.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||S(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},r.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||S(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},r.prototype.readInt8=function(e,t){return e>>>=0,t||S(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},r.prototype.readInt16LE=function(e,t){e>>>=0,t||S(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},r.prototype.readInt16BE=function(e,t){e>>>=0,t||S(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},r.prototype.readInt32LE=function(e,t){return e>>>=0,t||S(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},r.prototype.readInt32BE=function(e,t){return e>>>=0,t||S(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},r.prototype.readFloatLE=function(e,t){return e>>>=0,t||S(e,4,this.length),F.read(this,e,!0,23,4)},r.prototype.readFloatBE=function(e,t){return e>>>=0,t||S(e,4,this.length),F.read(this,e,!1,23,4)},r.prototype.readDoubleLE=function(e,t){return e>>>=0,t||S(e,8,this.length),F.read(this,e,!0,52,8)},r.prototype.readDoubleBE=function(e,t){return e>>>=0,t||S(e,8,this.length),F.read(this,e,!1,52,8)},r.prototype.writeUintLE=r.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||A(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},r.prototype.writeUintBE=r.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||A(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},r.prototype.writeUint8=r.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,1,255,0),this[t]=255&e,t+1},r.prototype.writeUint16LE=r.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},r.prototype.writeUint16BE=r.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},r.prototype.writeUint32LE=r.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},r.prototype.writeUint32BE=r.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},r.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},r.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);A(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},r.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},r.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},r.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},r.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},r.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||A(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},r.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},r.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},r.prototype.writeDoubleLE=function(e,t,r){return I(this,e,t,!0,r)},r.prototype.writeDoubleBE=function(e,t,r){return I(this,e,t,!1,r)},r.prototype.copy=function(e,t,n,i){if(!r.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o},r.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!r.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){var o=e.charCodeAt(0);("utf8"===i&&o<128||"latin1"===i)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var s;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s<n;++s)this[s]=e;
1else{var a=r.isBuffer(e)?e:r.from(e,i),u=a.length;if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(s=0;s<n-t;++s)this[s+t]=a[s%u]}return this};var H=/[^+/0-9A-Za-z-_]/g,j=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()}(ei)),ei}function w(){return mt?ft:(mt=1,ft=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0})}function g(){if(gt)return wt;gt=1;var e=w();return wt=function(){return e()&&!!Symbol.toStringTag}}function y(){return bt?yt:(bt=1,yt=Object)}function b(){return xt?vt:(xt=1,vt=Error)}function v(){return Et?_t:(Et=1,_t=EvalError)}function x(){return St?Tt:(St=1,Tt=RangeError)}function _(){return kt?At:(kt=1,At=ReferenceError)}function E(){return It?Rt:(It=1,Rt=SyntaxError)}function T(){return Ct?Nt:(Ct=1,Nt=TypeError)}function S(){return Dt?Ot:(Dt=1,Ot=URIError)}function A(){return Lt?Pt:(Lt=1,Pt=Math.abs)}function k(){return Bt?Ft:(Bt=1,Ft=Math.floor)}function R(){return Ut?Mt:(Ut=1,Mt=Math.max)}function I(){return jt?Ht:(jt=1,Ht=Math.min)}function N(){return Wt?zt:(Wt=1,zt=Math.pow)}function C(){return Kt?Gt:(Kt=1,Gt=Math.round)}function O(){return $t?Vt:($t=1,Vt=Number.isNaN||function(e){return e!=e})}function D(){if(qt)return Xt;qt=1;var e=O();return Xt=function(t){return e(t)||0===t?t:t<0?-1:1}}function P(){return Yt?Zt:(Yt=1,Zt=Object.getOwnPropertyDescriptor)}function L(){if(Qt)return Jt;Qt=1;var e=P();if(e)try{e([],"length")}catch(t){e=null}return Jt=e}function F(){if(tr)return er;tr=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}return er=e}function B(){return or?ir:(or=1,ir="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function M(){return ar?sr:(ar=1,sr=y().getPrototypeOf||null)}function U(){if(hr)return cr;hr=1;var e=function(){if(lr)return ur;lr=1;var e=Object.prototype.toString,t=Math.max,r=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r};return ur=function(n){var i=this;if("function"!=typeof i||"[object Function]"!==e.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,s=function(e){for(var t=[],r=1,n=0;r<e.length;r+=1,n+=1)t[n]=e[r];return t}(arguments),a=t(0,i.length-s.length),u=[],l=0;l<a;l++)u[l]="$"+l;if(o=Function("binder","return function ("+function(e){for(var t="",r=0;r<e.length;r+=1)t+=e[r],r+1<e.length&&(t+=",");return t}(u)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var e=i.apply(this,r(s,arguments));return Object(e)===e?e:this}return i.apply(n,r(s,arguments))}),i.prototype){var c=function(){};c.prototype=i.prototype,o.prototype=new c,c.prototype=null}return o},ur}();return cr=Function.prototype.bind||e}function H(){return dr?pr:(dr=1,pr=Function.prototype.call)}function j(){return mr?fr:(mr=1,fr=Function.prototype.apply)}function z(){if(br)return yr;br=1;var e=U(),t=j(),r=H(),n=gr?wr:(gr=1,wr="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return yr=n||e.call(r,t)}function W(){if(xr)return vr;xr=1;var e=U(),t=T(),r=H(),n=z();return vr=function(i){if(i.length<1||"function"!=typeof i[0])throw new t("a function is required");return n(e,r,i)}}function G(){if(Er)return _r;Er=1;var e,t=W(),r=L();try{e=[].__proto__===Array.prototype}
vendor: 2,728 bytes, line 1
1catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var n=!!e&&r&&r(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return _r=n&&"function"==typeof n.get?t([n.get]):"function"==typeof o&&function(e){return o(null==e?e:i(e))}}function K(){if(Sr)return Tr;Sr=1;var e=B(),t=M(),r=G();return Tr=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}function V(){if(kr)return Ar;kr=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=U();return Ar=r.call(e,t)}function X(){if(Ir)return Rr;var e;Ir=1;var t=y(),r=b(),n=v(),i=x(),o=_(),s=E(),a=T(),u=S(),l=A(),c=k(),h=R(),p=I(),d=N(),f=C(),m=D(),g=Function,O=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(e){}},P=L(),z=F(),W=function(){throw new a},G=P?function(){try{return W}catch(e){try{return P(arguments,"callee").get}catch(e){return W}}}():W,X=function(){if(nr)return rr;nr=1;var e="undefined"!=typeof Symbol&&Symbol,t=w();return rr=function(){return"function"==typeof e&&"function"==typeof Symbol&&"symbol"==typeof e("foo")&&"symbol"==typeof Symbol("bar")&&t()}}()(),q=K(),Z=M(),Y=B(),J=j(),Q=H(),ee={},te="undefined"!=typeof Uint8Array&&q?q(Uint8Array):e,re={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?e:ArrayBuffer,"%ArrayIteratorPrototype%":X&&q?q([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":ee,"%AsyncGenerator%":ee,"%AsyncGeneratorFunction%":ee,"%AsyncIteratorPrototype%":ee,"%Atomics%":"undefined"==typeof Atomics?e:Atomics,"%BigInt%":"undefined"==typeof BigInt?e:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?e:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":"undefined"==typeof Float16Array?e:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?e:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?e:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?e:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":ee,"%Int8Array%":"undefined"==typeof Int8Array?e:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?e:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":X&&q?q(q([][Symbol.iterator]())):e,"%JSON%":"object"==typeof JSON?JSON:e,"%Map%":"undefined"==typeof Map?e:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&X&&q?q((new Map)[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":P,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?e:Promise,"%Proxy%":"undefined"==typeof Proxy?e:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":"undefined"==typeof Reflect?e:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?e:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&X&&q?q((new Set)[Symbol.iterator]()):e,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":X&&q?q(""[Symbol.iterator]()):e,"%Symbol%":X?Symbol:e,"%SyntaxError%":s,"%ThrowTypeError%":G,"%TypedArray%":te,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?e:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?e:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?e:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?e:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?e:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?e:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?e:WeakSet,"%Function.prototype.call%":Q,"%Function.prototype.apply%":J,"%Object.defineProperty%":z,"%Object.getPrototypeOf%":Z,"%Math.abs%":l,"%Math.floor%":c,"%Math.max%":h,"%Math.min%":p,"%Math.pow%":d,"%Math.round%":f,"%Math.sign%":m,"%Reflect.getPrototypeOf%":Y};if(q)try{null.error}catch(e){var ne=q(q(e));re["%Error.prototype%"]=ne}var ie=function e(t){var r;if("%AsyncFunction%"===t)r=O("async function () {}");else if("%GeneratorFunction%"===t)r=O("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=O("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&q&&(r=q(i.prototype))}return re[t]=r,r},oe={__proto__:null,"%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"]},se=U(),ae=V(),ue=se.call(Q,Array.prototype.concat),le=se.call(J,Array.prototype.splice),ce=se.call(Q,String.prototype.replace),he=se.call(Q,String.prototype.slice),pe=se.call(Q,RegExp.prototype.exec),de=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,fe=/\\(\\)?/g,me=function(e,t){var r,n=e;if(ae(oe,n)&&(n="%"+(r=oe[n])[0]+"%"),ae(re,n)){var i=re[n];if(i===ee&&(i=ie(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new s("intrinsic "+e+" does not exist!")};return Rr=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===pe(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=he(e,0,1),r=he(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return ce(e,de,function(e,t,r,i){n[n.length]=r?ce(i,fe,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",i=me("%"+n+"%",t),o=i.name,u=i.value,l=!1,c=i.alias;c&&(n=c[0],le(r,ue([0,1],c)));for(var h=1,p=!0;h<r.length;h+=1){var d=r[h],f=he(d,0,1),m=he(d,-1);if(('"'===f||"'"===f||"`"===f||'"'===m||"'"===m||"`"===m)&&f!==m)throw new s("property names with quotes must have matching quotes");
1if("constructor"!==d&&p||(l=!0),ae(re,o="%"+(n+="."+d)+"%"))u=re[o];else if(null!=u){if(!(d in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(P&&h+1>=r.length){var w=P(u,d);u=(p=!!w)&&"get"in w&&!("originalValue"in w.get)?w.get:u[d]}else p=ae(u,d),u=u[d];p&&!l&&(re[o]=u)}}return u},Rr}function q(){if(Cr)return Nr;Cr=1;var e=X(),t=W(),r=t([e("%String.prototype.indexOf%")]);return Nr=function(n,i){var o=e(n,!!i);return"function"==typeof o&&r(n,".prototype.")>-1?t([o]):o}}function Z(){if(Dr)return Or;Dr=1;var e=g()(),t=q()("Object.prototype.toString"),r=function(r){return!(e&&r&&"object"==typeof r&&Symbol.toStringTag in r)&&"[object Arguments]"===t(r)},n=function(e){return!!r(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==t(e)&&"callee"in e&&"[object Function]"===t(e.callee)},i=function(){return r(arguments)}();return r.isLegacyArguments=n,Or=i?r:n}function Y(){return jr?Hr:(jr=1,Hr=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"])}function J(){if(Wr)return zr;Wr=1;var e=Y(),t="undefined"==typeof globalThis?Je:globalThis;return zr=function(){for(var r=[],n=0;n<e.length;n++)"function"==typeof t[e[n]]&&(r[r.length]=e[n]);return r}}function Q(){if(Kr)return Gr;Kr=1;var e=F(),t=E(),r=T(),n=L();return Gr=function(i,o,s){if(!i||"object"!=typeof i&&"function"!=typeof i)throw new r("`obj` must be an object or a function`");if("string"!=typeof o&&"symbol"!=typeof o)throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new r("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],h=!!n&&n(i,o);if(e)e(i,o,{configurable:null===l&&h?h.configurable:!l,enumerable:null===a&&h?h.enumerable:!a,value:s,writable:null===u&&h?h.writable:!u});else{if(!c&&(a||u||l))throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");i[o]=s}},Gr}function ee(){if($r)return Vr;$r=1;var e=F(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return 1!==e([],"length",{value:1}).length}catch(e){return!0}},Vr=t}function te(){if(qr)return Xr;qr=1;var e=X(),t=Q(),r=ee()(),n=L(),i=T(),o=e("%Math.floor%");return Xr=function(e,s){if("function"!=typeof e)throw new i("`fn` is not a function");if("number"!=typeof s||s<0||s>4294967295||o(s)!==s)throw new i("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],u=!0,l=!0;if("length"in e&&n){var c=n(e,"length");c&&!c.configurable&&(u=!1),c&&!c.writable&&(l=!1)}return(u||l||!a)&&(r?t(e,"length",s,!0,!0):t(e,"length",s)),e},Xr}function re(){if(en)return Qr;en=1;var e,t,r,n,i,o=function(){if(Ur)return Mr;Ur=1;var e=function(){if(Br)return Fr;Br=1;var e,t,r=Function.prototype.toString,n="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof n&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw t}}),t={},n(function(){throw 42},null,e)}catch(e){e!==t&&(n=null)}else n=null;var i=/^\s*class\b/,o=function(e){try{var t=r.call(e);return i.test(t)}catch(e){return!1}},s=function(e){try{return!o(e)&&(r.call(e),!0)}catch(e){return!1}},a=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,l=!(0 in[,]),c=function(){return!1};if("object"==typeof document){var h=document.all;a.call(h)===a.call(document.all)&&(c=function(e){if((l||!e)&&(void 0===e||"object"==typeof e))try{var t=a.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}return Fr=n?function(r){if(c(r))return!0;
1if(!r)return!1;if("function"!=typeof r&&"object"!=typeof r)return!1;try{n(r,null,e)}catch(e){if(e!==t)return!1}return!o(r)&&s(r)}:function(e){if(c(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(u)return s(e);if(o(e))return!1;var t=a.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}}(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty;return Mr=function(n,i,o){if(!e(i))throw new TypeError("iterator must be a function");var s;arguments.length>=3&&(s=o),"[object Array]"===t.call(n)?function(e,t,n){for(var i=0,o=e.length;i<o;i++)r.call(e,i)&&(null==n?t(e[i],i,e):t.call(n,e[i],i,e))}(n,i,s):"string"==typeof n?function(e,t,r){for(var n=0,i=e.length;n<i;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)}(n,i,s):function(e,t,n){for(var i in e)r.call(e,i)&&(null==n?t(e[i],i,e):t.call(n,e[i],i,e))}(n,i,s)},Mr}(),s=J(),a=(Jr||(Jr=1,e=oi,t=te(),r=F(),n=W(),i=function(){if(Yr)return Zr;Yr=1;var e=U(),t=j(),r=z();return Zr=function(){return r(e,t,arguments)},Zr}(),e.exports=function(e){var r=n(arguments),i=e.length-(arguments.length-1);return t(r,1+(i>0?i:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i),oi.exports),u=q(),l=L(),c=K(),h=u("Object.prototype.toString"),p=g()(),d="undefined"==typeof globalThis?Je:globalThis,f=s(),m=u("String.prototype.slice"),w=u("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},y={__proto__:null};return o(f,p&&l&&c?function(e){var t=new d[e];if(Symbol.toStringTag in t&&c){var r=c(t),n=l(r,Symbol.toStringTag);if(!n&&r){var i=c(r);n=l(i,Symbol.toStringTag)}y["$"+e]=a(n.get)}}:function(e){var t=new d[e],r=t.slice||t.set;r&&(y["$"+e]=a(r))}),Qr=function(e){if(!e||"object"!=typeof e)return!1;if(!p){var t=m(h(e),8,-1);return w(f,t)>-1?t:"Object"===t&&function(e){var t=!1;return o(y,function(r,n){if(!t)try{r(e),t=m(n,1)}catch(e){}}),t}(e)}return l?function(e){var t=!1;return o(y,function(r,n){if(!t)try{"$"+r(e)===n&&(t=m(n,1))}catch(e){}}),t}(e):null}}function ne(){if(rn)return tn;rn=1;var e=re();return tn=function(t){return!!e(t)}}function ie(){return an||(an=1,function(e){function t(t,o){var s={seen:[],stylize:n};return arguments.length>=3&&(s.depth=arguments[2]),arguments.length>=4&&(s.colors=arguments[3]),l(o)?s.showHidden=o:o&&e._extend(s,o),d(s.showHidden)&&(s.showHidden=!1),d(s.depth)&&(s.depth=2),d(s.colors)&&(s.colors=!1),d(s.customInspect)&&(s.customInspect=!0),s.colors&&(s.stylize=r),i(s,t,s.depth)}function r(e,r){var n=t.styles[r];return n?"�["+t.colors[n][0]+"m"+e+"�["+t.colors[n][1]+"m":e}function n(e,t){return e}function i(t,r,n){if(t.customInspect&&r&&b(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return p(o)||(o=i(t,o,n)),o}var m=function(e,t){if(d(t))return e.stylize("undefined","undefined");if(p(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return h(t)?e.stylize(""+t,"number"):l(t)?e.stylize(""+t,"boolean"):c(t)?e.stylize("null","null"):void 0}(t,r);if(m)return m;var g=Object.keys(r),v=function(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}(g);if(t.showHidden&&(g=Object.getOwnPropertyNames(r)),y(r)&&(g.indexOf("message")>=0||g.indexOf("description")>=0))return s(r);if(0===g.length){if(b(r))return t.stylize("[Function"+(r.name?": "+r.name:"")+"]","special");if(f(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(w(r))return t.stylize(Date.prototype.toString.call(r),"date");if(y(r))return s(r)}var _,E="",T=!1,S=["{","}"];return u(r)&&(T=!0,S=["[","]"]),b(r)&&(E=" [Function"+(r.name?": "+r.name:"")+"]"),f(r)&&(E=" "+RegExp.prototype.toString.call(r)),w(r)&&(E=" "+Date.prototype.toUTCString.call(r)),y(r)&&(E=" "+s(r)),0!==g.length||T&&0!=r.length?n<0?f(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),_=T?function(e,t,r,n,i){for(var o=[],s=0,u=t.length;s<u;++s)x(t,String(s))?o.push(a(e,t,r,n,String(s),!0)):o.push("");
1return i.forEach(function(i){i.match(/^\d+$/)||o.push(a(e,t,r,n,i,!0))}),o}(t,r,n,v,g):g.map(function(e){return a(t,r,n,v,e,T)}),t.seen.pop(),function(e,t,r){return e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}(_,E,S)):S[0]+E+S[1]}function s(e){return"["+Error.prototype.toString.call(e)+"]"}function a(e,t,r,n,o,s){var a,u,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?u=e.stylize(l.set?"[Getter/Setter]":"[Getter]","special"):l.set&&(u=e.stylize("[Setter]","special")),x(n,o)||(a="["+o+"]"),u||(e.seen.indexOf(l.value)<0?(u=c(r)?i(e,l.value,null):i(e,l.value,r-1)).indexOf("\n")>-1&&(u=s?u.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n")):u=e.stylize("[Circular]","special")),d(a)){if(s&&o.match(/^\d+$/))return u;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function u(e){return Array.isArray(e)}function l(e){return"boolean"==typeof e}function c(e){return null===e}function h(e){return"number"==typeof e}function p(e){return"string"==typeof e}function d(e){return void 0===e}function f(e){return m(e)&&"[object RegExp]"===v(e)}function m(e){return"object"==typeof e&&null!==e}function w(e){return m(e)&&"[object Date]"===v(e)}function y(e){return m(e)&&("[object Error]"===v(e)||e instanceof Error)}function b(e){return"function"==typeof e}function v(e){return Object.prototype.toString.call(e)}function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}var E=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},T=/%[sdj%]/g;e.format=function(e){if(!p(e)){for(var r=[],n=0;n<arguments.length;n++)r.push(t(arguments[n]));return r.join(" ")}n=1;for(var i=arguments,o=i.length,s=String(e).replace(T,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(e){return"[Circular]"}default:return e}}),a=i[n];n<o;a=i[++n])c(a)||!m(a)?s+=" "+a:s+=" "+t(a);return s},e.deprecate=function(t,r){if(void 0!==ut&&!0===ut.noDeprecation)return t;if(void 0===ut)return function(){return e.deprecate(t,r).apply(this,arguments)};var n=!1;return function(){if(!n){if(ut.throwDeprecation)throw new Error(r);n=!0}return t.apply(this,arguments)}};var S={},A=/^$/;if(ut.env.NODE_DEBUG){var k=ut.env.NODE_DEBUG;k=k.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),A=new RegExp("^"+k+"$","i")}e.debuglog=function(t){return t=t.toUpperCase(),S[t]||(S[t]=A.test(t)?function(){e.format.apply(e,arguments)}:function(){}),S[t]},e.inspect=t,t.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]},t.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=(nn||(nn=1,function(e){function t(e){return e.call.bind(e)}function r(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function n(e){return"[object Map]"===S(e)}function i(e){return"[object Set]"===S(e)}function o(e){return"[object WeakMap]"===S(e)}function s(e){return"[object WeakSet]"===S(e)}function a(e){return"[object ArrayBuffer]"===S(e)}function u(e){return"undefined"!=typeof ArrayBuffer&&(a.working?a(e):e instanceof ArrayBuffer)}function l(e){return"[object DataView]"===S(e)}function c(e){return"undefined"!=typeof DataView&&(l.working?l(e):e instanceof DataView)}function h(e){return"[object SharedArrayBuffer]"===S(e)}function p(e){return void 0!==C&&(void 0===h.working&&(h.working=h(new C)),h.working?h(e):e instanceof C)}function d(e){return r(e,A)}function f(e){return r(e,k)}function m(e){return r(e,R)}function w(e){return E&&r(e,I)}function y(e){return T&&r(e,N)}var b=Z(),v=function(){if(Lr)return Pr;Lr=1;var e,t=Object.prototype.toString,r=Function.prototype.toString,n=/^\s*(?:function)?\*/,i=g()(),o=Object.getPrototypeOf;return Pr=function(s){if("function"!=typeof s)return!1;if(n.test(r.call(s)))return!0;
1if(!i)return"[object GeneratorFunction]"===t.call(s);if(!o)return!1;if(void 0===e){var a=function(){if(!i)return!1;try{return Function("return function*() {}")()}catch(e){}}();e=!!a&&o(a)}return o(s)===e}}(),x=re(),_=ne(),E="undefined"!=typeof BigInt,T="undefined"!=typeof Symbol,S=t(Object.prototype.toString),A=t(Number.prototype.valueOf),k=t(String.prototype.valueOf),R=t(Boolean.prototype.valueOf);if(E)var I=t(BigInt.prototype.valueOf);if(T)var N=t(Symbol.prototype.valueOf);e.isArgumentsObject=b,e.isGeneratorFunction=v,e.isTypedArray=_,e.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},e.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):_(e)||c(e)},e.isUint8Array=function(e){return"Uint8Array"===x(e)},e.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===x(e)},e.isUint16Array=function(e){return"Uint16Array"===x(e)},e.isUint32Array=function(e){return"Uint32Array"===x(e)},e.isInt8Array=function(e){return"Int8Array"===x(e)},e.isInt16Array=function(e){return"Int16Array"===x(e)},e.isInt32Array=function(e){return"Int32Array"===x(e)},e.isFloat32Array=function(e){return"Float32Array"===x(e)},e.isFloat64Array=function(e){return"Float64Array"===x(e)},e.isBigInt64Array=function(e){return"BigInt64Array"===x(e)},e.isBigUint64Array=function(e){return"BigUint64Array"===x(e)},n.working="undefined"!=typeof Map&&n(new Map),e.isMap=function(e){return"undefined"!=typeof Map&&(n.working?n(e):e instanceof Map)},i.working="undefined"!=typeof Set&&i(new Set),e.isSet=function(e){return"undefined"!=typeof Set&&(i.working?i(e):e instanceof Set)},o.working="undefined"!=typeof WeakMap&&o(new WeakMap),e.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(o.working?o(e):e instanceof WeakMap)},s.working="undefined"!=typeof WeakSet&&s(new WeakSet),e.isWeakSet=function(e){return s(e)},a.working="undefined"!=typeof ArrayBuffer&&a(new ArrayBuffer),e.isArrayBuffer=u,l.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&l(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=c;var C="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;e.isSharedArrayBuffer=p,e.isAsyncFunction=function(e){return"[object AsyncFunction]"===S(e)},e.isMapIterator=function(e){return"[object Map Iterator]"===S(e)},e.isSetIterator=function(e){return"[object Set Iterator]"===S(e)},e.isGeneratorObject=function(e){return"[object Generator]"===S(e)},e.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===S(e)},e.isNumberObject=d,e.isStringObject=f,e.isBooleanObject=m,e.isBigIntObject=w,e.isSymbolObject=y,e.isBoxedPrimitive=function(e){return d(e)||f(e)||m(e)||w(e)||y(e)},e.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(u(e)||p(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})})}(ii)),ii),e.isArray=u,e.isBoolean=l,e.isNull=c,e.isNullOrUndefined=function(e){return null==e},e.isNumber=h,e.isString=p,e.isSymbol=function(e){return"symbol"==typeof e},e.isUndefined=d,e.isRegExp=f,e.types.isRegExp=f,e.isObject=m,e.isDate=w,e.types.isDate=w,e.isError=y,e.types.isNativeError=y,e.isFunction=b,e.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},e.isBuffer=sn?on:(sn=1,on=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}),e.log=function(){},e.inherits=o(),e._extend=function(e,t){if(!t||!m(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var R="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;e.promisify=function(e){function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,n){e?r(e):t(n)});try{e.apply(this,i)}catch(e){r(e)}return n}if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(R&&e[R]){var t;if("function"!=typeof(t=e[R]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,
1configurable:!0}),t}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),R&&Object.defineProperty(t,R,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,E(e))},e.promisify.custom=R,e.callbackify=function(e){function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var n=t.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return n.apply(i,arguments)};e.apply(this,t).then(function(e){ut.nextTick(o.bind(null,null,e))},function(e){ut.nextTick(_.bind(null,e,o))})}if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,E(e)),t}}(ni)),ni}function oe(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach(function(e){r(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function r(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}function i(e,t,r){o.prototype.copy.call(e,t,r)}if(ln)return un;ln=1;var o=m().Buffer,s=ie().inspect,a=s&&s.custom||"inspect";return un=function(){function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.head=null,this.tail=null,this.length=0}return r=e,(u=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return o.alloc(0);for(var t=o.allocUnsafe(e>>>0),r=this.head,n=0;r;)i(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(n+=o===i.length?i:i.slice(0,e),0===(e-=o)){o===i.length?(++r,this.head=t.next?t.next:this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=o.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,s=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,s),0===(e-=s)){s===i.length?(++n,this.head=r.next?r.next:this.tail=null):(this.head=r,r.data=i.slice(s));break}++n}return this.length-=n,t}},{key:a,value:function(e,r){return s(this,t(t({},r),{},{depth:0,customInspect:!1}))}}])&&function(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,n(i.key),i)}}(r.prototype,u),Object.defineProperty(r,"prototype",{writable:!1}),e;var r,u}()}function se(){function e(e,n){r(e,n),t(e)}function t(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}return hn?cn:(hn=1,cn={destroy:function(n,i){var o=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(i?i(n):n&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ut.nextTick(r,this,n)):ut.nextTick(r,this,n)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(r){!i&&r?o._writableState?o._writableState.errorEmitted?ut.nextTick(t,o):(o._writableState.errorEmitted=!0,ut.nextTick(e,o,r)):ut.nextTick(e,o,r):i?(ut.nextTick(t,o),i(r)):ut.nextTick(t,o)}),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(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}})}function ae(){function e(e,t,n){n||(n=Error);var i=function(e){function r(r,n,i){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,i))||this}var n,i;return i=e,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i,r}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function t(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}if(pn)return si;pn=1;var r={};return e("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invali
1d for option "'+e+'"'},TypeError),e("ERR_INVALID_ARG_TYPE",function(e,r,n){var i,o,s,a;if("string"==typeof r&&"not "===r.substr(0,"not ".length)?(i="must not be",r=r.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-9,r)===t}(e," argument"))o="The ".concat(e," ").concat(i," ").concat(t(r,"type"));else{var u=("number"!=typeof a&&(a=0),a+1>(s=e).length||-1===s.indexOf(".",a)?"argument":"property");o='The "'.concat(e,'" ').concat(u," ").concat(i," ").concat(t(r,"type"))}return o+". Received type ".concat(typeof n)},TypeError),e("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),e("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),e("ERR_STREAM_PREMATURE_CLOSE","Premature close"),e("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" 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(e){return"Unknown encoding: "+e},TypeError),e("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),si.codes=r,si}function ue(){if(fn)return dn;fn=1;var e=ae().codes.ERR_INVALID_OPT_VALUE;return dn={getHighWaterMark:function(t,r,n,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(r,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new e(i?n:"highWaterMark",o);return Math.floor(o)}return t.objectMode?16:16384}}}function le(){function e(e){try{if(!Je.localStorage)return!1}catch(e){return!1}var t=Je.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}return wn||(wn=1,mn=function(t,r){if(e("noDeprecation"))return t;var n=!1;return function(){if(!n){if(e("throwDeprecation"))throw new Error(r);e("traceDeprecation"),n=!0}return t.apply(this,arguments)}}),mn}function ce(){function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t){var r=e.entry;for(e.entry=null;r;){var n=r.callback;t.pendingcb--,n(undefined),r=r.next}t.corkedRequestsFree.next=e})(t,e)}}function t(){}function r(t,r,n){h=h||he(),"boolean"!=typeof n&&(n=r instanceof h),this.objectMode=!!(t=t||{}).objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=v(this,t,"writableHighWaterMark",n),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===t.decodeStrings),this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new T;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)(function(e,t,r,n,i){--t.pendingcb,r?(ut.nextTick(i,n),ut.nextTick(c,e,t),e._writableState.errorEmitted=!0,N(e,n)):(i(n),e._writableState.errorEmitted=!0,N(e,n),c(e,t))})(e,r,n,t,i);else{var o=u(r)||e.destroyed;o||r.corked||r.bufferProcessing||!r.bufferedRequest||a(e,r),n?ut.nextTick(s,e,r,o,i):s(e,r,o,i)}})(r,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function n(e){var t=this instanceof(h=h||he());if(!t&&!p.call(n,this))return new n(e);this._writableState=new r(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),w.call(this)}function i(e,t,r,n,i,o,s){t.writelen=n,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new A("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function s(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),c(e,t)}function a(t,r){r.bufferProcessing=!0;var n=r.bufferedRequest;if(t._writev&&n&&n.next){var o=new Array(r.bufferedRequestCount),s=r.corkedRequestsFree;s.entry=n;for(var a=0,u=!0;n;)o[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;o.allBuffers=u,i(t,r,!0,r.length,o,"",s.finish),r.pendingcb++,r.lastBufferedRequest=null,s.next?(r.corkedRequestsFree=s.next,
1s.next=null):r.corkedRequestsFree=new e(r),r.bufferedRequestCount=0}else{for(;n;){var l=n.chunk;if(i(t,r,!1,r.objectMode?1:l.length,l,n.encoding,n.callback),n=n.next,r.bufferedRequestCount--,r.writing)break}null===n&&(r.lastBufferedRequest=null)}r.bufferedRequest=n,r.bufferProcessing=!1}function u(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function l(e,t){e._final(function(r){t.pendingcb--,r&&N(e,r),t.prefinished=!0,e.emit("prefinish"),c(e,t)})}function c(e,t){var r=u(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,ut.nextTick(l,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}if(yn)return gn;var h;yn=1,gn=n,n.WritableState=r;var p,d={deprecate:le()},w=f(),g=m().Buffer,y=(void 0!==Je?Je:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},b=se(),v=ue().getHighWaterMark,x=ae().codes,_=x.ERR_INVALID_ARG_TYPE,E=x.ERR_METHOD_NOT_IMPLEMENTED,T=x.ERR_MULTIPLE_CALLBACK,S=x.ERR_STREAM_CANNOT_PIPE,A=x.ERR_STREAM_DESTROYED,k=x.ERR_STREAM_NULL_VALUES,R=x.ERR_STREAM_WRITE_AFTER_END,I=x.ERR_UNKNOWN_ENCODING,N=b.errorOrDestroy;return o()(n,w),r.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(r.prototype,"buffer",{get:d.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(n,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===n&&e&&e._writableState instanceof r}})):p=function(e){return e instanceof this},n.prototype.pipe=function(){N(this,new S)},n.prototype.write=function(e,r,n){var o,s=this._writableState,a=!1,u=!s.objectMode&&(g.isBuffer(o=e)||o instanceof y);return u&&!g.isBuffer(e)&&(e=function(e){return g.from(e)}(e)),"function"==typeof r&&(n=r,r=null),u?r="buffer":r||(r=s.defaultEncoding),"function"!=typeof n&&(n=t),s.ending?function(e,t){var r=new R;N(e,r),ut.nextTick(t,r)}(this,n):(u||function(e,t,r,n){var i;return null===r?i=new k:"string"==typeof r||t.objectMode||(i=new _("chunk",["string","Buffer"],r)),!i||(N(e,i),ut.nextTick(n,i),!1)}(this,s,e,n))&&(s.pendingcb++,a=function(e,t,r,n,o,s){if(!r){var a=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=g.from(t,r)),t}(t,n,o);n!==a&&(r=!0,o="buffer",n=a)}var u=t.objectMode?1:n.length;t.length+=u;var l=t.length<t.highWaterMark;if(l||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:s,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else i(e,t,!1,u,n,o,s);return l}(this,s,u,e,r,n)),a},n.prototype.cork=function(){this._writableState.corked++},n.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||a(this,e))},n.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new I(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(n.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(n.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),n.prototype._write=function(e,t,r){r(new E("_write()"))},n.prototype._writev=null,n.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,c(e,t),r&&(t.finished?ut.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(n.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(n.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),n.prototype.destroy=b.destroy,n.prototype._undestroy=b.undestroy,n.prototype._destroy=function(e,t){t(e)},gn}function he(){function e(r){if(!(this instanceof e))return new e(r);i.call(this,r),s.call(this,r),this.allowHalfOpen=!0,r&&(!1===r.readable&&(this.readable=!1),!1===r.writable&&(this.writable=!1),!1===r.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",t)))}function t(){this._writableState.ended||ut.nextTick(r,this)}function r(e){e.end()}if(vn)return bn;vn=1;var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};bn=e;var i=me(),s=ce();o()(e,i);for(var a=n(s.prototype),u=0;u<a.length;u++){var l=a[u];e.prototype[l]||(e.prototype[l]=s.prototype[l])}return Object.defineProperty(e.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(e.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(e.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(e.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),bn}function pe(){function e(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
1case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(l.isEncoding===c||!c(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=n,this.end=i,t=4;break;case"utf8":this.fillLast=r,t=4;break;case"base64":this.text=o,this.end=s,t=3;break;default:return this.write=a,void(this.end=u)}this.lastNeed=0,this.lastTotal=0,this.lastChar=l.allocUnsafe(t)}function t(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function r(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function n(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function i(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):t}function o(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function s(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function a(e){return e.toString(this.encoding)}function u(e){return e&&e.length?this.write(e):""}if(_n)return ai;_n=1;var l=(xn||(xn=1,function(e,t){function r(e,t){for(var r in e)t[r]=e[r]}function n(e,t,r){return o(e,t,r)}var i=m(),o=i.Buffer;o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=i:(r(i,t),t.Buffer=n),r(o,n),n.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},n.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},n.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},n.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i.SlowBuffer(e)}}(ui,ui.exports)),ui.exports).Buffer,c=l.isEncoding||function(e){switch((e=""+e)&&e.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}};return ai.StringDecoder=e,e.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},e.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},e.prototype.text=function(e,r){var n=function(e,r,n){var i=r.length-1;if(i<n)return 0;var o=t(r[i]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--i<n||-2===o?0:(o=t(r[i]))>=0?(o>0&&(e.lastNeed=o-2),o):--i<n||-2===o?0:(o=t(r[i]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,r);if(!this.lastNeed)return e.toString("utf8",r);this.lastTotal=n;var i=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",r,i)},e.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},ai}function de(){function e(){}if(Tn)return En;Tn=1;var t=ae().codes.ERR_STREAM_PREMATURE_CLOSE;return En=function r(n,i,o){if("function"==typeof i)return r(n,null,i);
vendor: 8,184 bytes, line 1
1i||(i={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||e);var s=i.readable||!1!==i.readable&&n.readable,a=i.writable||!1!==i.writable&&n.writable,u=function(){n.writable||c()},l=n._writableState&&n._writableState.finished,c=function(){a=!1,l=!0,s||o.call(n)},h=n._readableState&&n._readableState.endEmitted,p=function(){s=!1,h=!0,a||o.call(n)},d=function(e){o.call(n,e)},f=function(){var e;return s&&!h?(n._readableState&&n._readableState.ended||(e=new t),o.call(n,e)):a&&!l?(n._writableState&&n._writableState.ended||(e=new t),o.call(n,e)):void 0},m=function(){n.req.on("finish",c)};return function(e){return e.setHeader&&"function"==typeof e.abort}(n)?(n.on("complete",c),n.on("abort",f),n.req?m():n.on("request",m)):a&&!n._writableState&&(n.on("end",u),n.on("close",u)),n.on("end",p),n.on("finish",c),!1!==i.error&&n.on("error",d),n.on("close",f),function(){n.removeListener("complete",c),n.removeListener("abort",f),n.removeListener("request",m),n.req&&n.req.removeListener("finish",c),n.removeListener("end",u),n.removeListener("close",u),n.removeListener("finish",c),n.removeListener("end",p),n.removeListener("error",d),n.removeListener("close",f)}},En}function fe(){function e(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function t(e,t){return{value:e,done:t}}function r(e){var r=e[s];if(null!==r){var n=e[p].read();null!==n&&(e[c]=null,e[s]=null,e[a]=null,r(t(n,!1)))}}function n(e){ut.nextTick(r,e)}if(An)return Sn;var i;An=1;var o=de(),s=Symbol("lastResolve"),a=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),h=Symbol("handlePromise"),p=Symbol("stream"),d=Object.getPrototypeOf(function(){}),f=Object.setPrototypeOf((e(i={get stream(){return this[p]},next:function(){var e=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[l])return Promise.resolve(t(void 0,!0));if(this[p].destroyed)return new Promise(function(r,n){ut.nextTick(function(){e[u]?n(e[u]):r(t(void 0,!0))})});var n,i=this[c];if(i)n=new Promise(function(e,r){return function(n,i){e.then(function(){r[l]?n(t(void 0,!0)):r[h](n,i)},i)}}(i,this));else{var o=this[p].read();if(null!==o)return Promise.resolve(t(o,!1));n=new Promise(this[h])}return this[c]=n,n}},Symbol.asyncIterator,function(){return this}),e(i,"return",function(){var e=this;return new Promise(function(r,n){e[p].destroy(null,function(e){e?n(e):r(t(void 0,!0))})})}),i),d);return Sn=function(r){var i,d=Object.create(f,(e(i={},p,{value:r,writable:!0}),e(i,s,{value:null,writable:!0}),e(i,a,{value:null,writable:!0}),e(i,u,{value:null,writable:!0}),e(i,l,{value:r._readableState.endEmitted,writable:!0}),e(i,h,{value:function(e,r){var n=d[p].read();n?(d[c]=null,d[s]=null,d[a]=null,e(t(n,!1))):(d[s]=e,d[a]=r)},writable:!0}),i));return d[c]=null,o(r,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var r=d[a];return null!==r&&(d[c]=null,d[s]=null,d[a]=null,r(e)),void(d[u]=e)}var n=d[s];null!==n&&(d[c]=null,d[s]=null,d[a]=null,n(t(void 0,!0))),d[l]=!0}),r.on("readable",n.bind(null,d)),d}}function me(){function e(e,t,r){x=x||he(),"boolean"!=typeof r&&(r=t instanceof x),this.objectMode=!!(e=e||{}).objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=D(this,e,"readableHighWaterMark",r),this.buffer=new C,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&&(R||(R=pe().StringDecoder),this.decoder=new R(e.encoding),this.encoding=e.encoding)}function t(r){if(x=x||he(),!(this instanceof t))return new t(r);this._readableState=new e(r,this,this instanceof x),this.readable=!0,r&&("function"==typeof r.read&&(this._read=r.read),"function"==typeof r.destroy&&(this._destroy=r.destroy)),T.call(this)}function r(e,t,r,i,o){_("readableAddChunk",t);var s,c=e._readableState;if(null===t)c.reading=!1,function(e,t){if(_("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?a(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,u(e)))}}(e,c);else if(o||(s=function(e,t){var r,n;return S.isBuffer(n=t)||n instanceof A||"string"==typeof t||void 0===t||e.objectMode||(r=new L("chunk",["string","Buffer","Uint8Array"],t)),r}(c,t)),s)U(e,s);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===S.prototype||(t=function(e){return S.from(e)}(t)),i)c.endEmitted?U(e,new M):n(e,c,t,!0);else if(c.ended)U(e,new F);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!r?(t=c.decoder.write(t),c.objectMode||0!==t.length?n(e,c,t,!1):l(e,c)):n(e,c,t,!1)}else i||(c.reading=!1,l(e,c));return!c.ended&&(c.length<c.highWaterMark||0===c.length)}function n(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&a(e)),l(e,t)}function s(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=j?e=j:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function a(e){var t=e._readableState;_("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(_("emitReadable",t.flowing),t.emittedReadable=!0,ut.nextTick(u,e))}function u(e){var t=e._readableState;_("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,w(e)}function l(e,t){t.readingMore||(t.readingMore=!0,ut.nextTick(c,e,t))}function c(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(_("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function h(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function p(e){_("readable nexttick read 0"),e.read(0)}function d(e,t){_("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),w(e),t.flowing&&!t.reading&&e.read(0)}function w(e){var t=e._readableState;for(_("flow",t.flowing);t.flowing&&null!==e.read(););}function g(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function y(e){var t=e._readableState;_("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,ut.nextTick(b,t,e))}function b(e,t){if(_("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function v(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}if(Nn)return In;var x;Nn=1,In=t,t.ReadableState=e,i();var _,E=function(e,t){return e.listeners(t).length},T=f(),S=m().Buffer,A=(void 0!==Je?Je:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},k=ie();_=k&&k.debuglog?k.debuglog("stream"):function(){};var R,I,N,C=oe(),O=se(),D=ue().getHighWaterMark,P=ae().codes,L=P.ERR_INVALID_ARG_TYPE,F=P.ERR_STREAM_PUSH_AFTER_EOF,B=P.ERR_METHOD_NOT_IMPLEMENT
vendor: 8,101 bytes, line 1
1ED,M=P.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;o()(t,T);var U=O.errorOrDestroy,H=["error","close","destroy","pause","resume"];Object.defineProperty(t.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),t.prototype.destroy=O.destroy,t.prototype._undestroy=O.undestroy,t.prototype._destroy=function(e,t){t(e)},t.prototype.push=function(e,t){var n,i=this._readableState;return i.objectMode?n=!0:"string"==typeof e&&((t=t||i.defaultEncoding)!==i.encoding&&(e=S.from(e,t),t=""),n=!0),r(this,e,t,!1,n)},t.prototype.unshift=function(e){return r(this,e,null,!0,!1)},t.prototype.isPaused=function(){return!1===this._readableState.flowing},t.prototype.setEncoding=function(e){R||(R=pe().StringDecoder);var t=new R(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,n="";null!==r;)n+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==n&&this._readableState.buffer.push(n),this._readableState.length=n.length,this};var j=1073741824;return t.prototype.read=function(e){_("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return _("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?y(this):a(this),null;if(0===(e=s(e,t))&&t.ended)return 0===t.length&&y(this),null;var n,i=t.needReadable;return _("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&_("length less than watermark",i=!0),t.ended||t.reading?_("reading or ended",i=!1):i&&(_("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=s(r,t))),null===(n=e>0?g(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&y(this)),null!==n&&this.emit("data",n),n},t.prototype._read=function(e){U(this,new B("_read()"))},t.prototype.pipe=function(e,t){function r(){_("onend"),e.end()}function n(t){_("ondata");var r=e.write(t);_("dest.write",r),!1===r&&((1===l.pipesCount&&l.pipes===e||l.pipesCount>1&&-1!==v(l.pipes,e))&&!p&&(_("false write response, pause",l.awaitDrain),l.awaitDrain++),u.pause())}function i(t){_("onerror",t),a(),e.removeListener("error",i),0===E(e,"error")&&U(e,t)}function o(){e.removeListener("finish",s),a()}function s(){_("onfinish"),e.removeListener("close",o),a()}function a(){_("unpipe"),u.unpipe(e)}var u=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1,_("pipe count=%d opts=%j",l.pipesCount,t);var c=t&&!1===t.end||e===ut.stdout||e===ut.stderr?a:r;l.endEmitted?ut.nextTick(c):u.once("end",c),e.on("unpipe",function t(c,d){_("onunpipe"),c===u&&d&&!1===d.hasUnpiped&&(d.hasUnpiped=!0,_("cleanup"),e.removeListener("close",o),e.removeListener("finish",s),e.removeListener("drain",h),e.removeListener("error",i),e.removeListener("unpipe",t),u.removeListener("end",r),u.removeListener("end",a),u.removeListener("data",n),p=!0,!l.awaitDrain||e._writableState&&!e._writableState.needDrain||h())});var h=function(e){return function(){var t=e._readableState;_("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&E(e,"data")&&(t.flowing=!0,w(e))}}(u);e.on("drain",h);var p=!1;return u.on("data",n),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",i),e.once("close",o),e.once("finish",s),e.emit("pipe",u),l.flowing||(_("pipe resume"),u.resume()),e},t.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=v(t.pipes,e);return-1===s||(t.pipes.splice(s,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},t.prototype.addListener=t.prototype.on=function(e,t){var r=T.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,_("on readable",n.length,n.reading),n.length?a(this):n.reading||ut.nextTick(p,this))),r},t.prototype.removeListener=function(e,t){var r=T.prototype.removeListener.call(this,e,t);return"readable"===e&&ut.nextTick(h,this),r},t.prototype.removeAllListeners=function(e){var t=T.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||ut.nextTick(h,this),t},t.prototype.resume=function(){var e=this._readableState;return e.flowing||(_("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,ut.nextTick(d,e,t))}(this,e)),e.paused=!1,this},t.prototype.pause=function(){return _("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(_("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},t.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(_("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){_("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<H.length;o++)e.on(H[o],this.emit.bind(this,H[o]));return this._read=function(t){_("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(t.prototype[Symbol.asyncIterator]=function(){return void 0===I&&(I=fe()),I(this)}),Object.defineProperty(t.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(t.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(t.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),t._fromList=g,Object.defineProperty(t.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(t.from=function(e,r){return void 0===N&&(N=Rn?kn:(Rn=1,kn=function(){throw new Error("Readable.from is not available in the browser")})),N(t,e,r)}),In}function we(){function e(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new a);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function t(n){if(!(this instanceof t))return new t(n);c.call(this,n),this._transformState={afterTransform:e.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,n&&("function"==typeof n.transform&&(this._transform=n.transform),"function"==typeof n.flush&&(this._flush=n.flush)),this.on("prefinish",r)}function r(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?n(this,null,null):this._flush(function(t,r){n(e,t,r)})}function n(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new l;if(e._transformState.transforming)throw new u;return e.push(null)}if(On)return Cn;On=1,Cn=t;
1var i=ae().codes,s=i.ERR_METHOD_NOT_IMPLEMENTED,a=i.ERR_MULTIPLE_CALLBACK,u=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=i.ERR_TRANSFORM_WITH_LENGTH_0,c=he();return o()(t,c),t.prototype.push=function(e,t){return this._transformState.needTransform=!1,c.prototype.push.call(this,e,t)},t.prototype._transform=function(e,t,r){r(new s("_transform()"))},t.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},t.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},t.prototype._destroy=function(e,t){c.prototype._destroy.call(this,e,function(e){t(e)})},Cn}function ge(){function e(){t.call(this)}if(Mn)return Bn;Mn=1,Bn=e;var t=i().EventEmitter;return o()(e,t),e.Readable=me(),e.Writable=ce(),e.Duplex=he(),e.Transform=we(),e.PassThrough=function(){function e(r){if(!(this instanceof e))return new e(r);t.call(this,r)}if(Pn)return Dn;Pn=1,Dn=e;var t=we();return o()(e,t),e.prototype._transform=function(e,t,r){r(null,e)},Dn}(),e.finished=de(),e.pipeline=function(){function e(e){if(e)throw e}function t(e){e()}function r(e,t){return e.pipe(t)}if(Fn)return Ln;var n;Fn=1;var i=ae().codes,o=i.ERR_MISSING_ARGS,s=i.ERR_STREAM_DESTROYED;return Ln=function(){for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];var l,c=function(t){return t.length?"function"!=typeof t[t.length-1]?e:t.pop():e}(a);if(Array.isArray(a[0])&&(a=a[0]),a.length<2)throw new o("streams");var h=a.map(function(e,r){var i=r<a.length-1;return function(e,t,r,i){i=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(i);var o=!1;e.on("close",function(){o=!0}),void 0===n&&(n=de()),n(e,{readable:t,writable:r},function(e){if(e)return i(e);o=!0,i()});var a=!1;return function(t){if(!o&&!a)return a=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void i(t||new s("pipe"))}}(e,i,r>0,function(e){l||(l=e),e&&h.forEach(t),i||(h.forEach(t),c(l))})});return a.reduce(r)},Ln}(),e.Stream=e,e.prototype.pipe=function(e,r){function n(t){e.writable&&!1===e.write(t)&&l.pause&&l.pause()}function i(){l.readable&&l.resume&&l.resume()}function o(){c||(c=!0,e.end())}function s(){c||(c=!0,"function"==typeof e.destroy&&e.destroy())}function a(e){if(u(),0===t.listenerCount(this,"error"))throw e}function u(){l.removeListener("data",n),e.removeListener("drain",i),l.removeListener("end",o),l.removeListener("close",s
1),l.removeListener("error",a),e.removeListener("error",a),l.removeListener("end",u),l.removeListener("close",u),e.removeListener("close",u)}var l=this;l.on("data",n),e.on("drain",i),e._isStdio||r&&!1===r.end||(l.on("end",o),l.on("close",s));var c=!1;return l.on("error",a),e.on("error",a),l.on("end",u),l.on("close",u),e.on("close",u),e.emit("pipe",l),e},Bn}function ye(){return jn?Hn:(jn=1,Hn={isArray:function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}})}function be(){if(Wn)return zn;Wn=1;var e=ye().isArray;return zn={copyOptions:function(e){var t,r={};for(t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);return r},ensureFlagExists:function(e,t){e in t&&"boolean"==typeof t[e]||(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(t){"alwaysArray"in t&&("boolean"==typeof t.alwaysArray||e(t.alwaysArray))||(t.alwaysArray=!1)},ensureKeyExists:function(e,t){e+"Key"in t&&"string"==typeof t[e+"Key"]||(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}}}function ve(){function e(e){var t=Number(e);if(!isNaN(t))return t;var r=e.toLowerCase();return"true"===r||"false"!==r&&e}function t(e,t){var r;if(h.compact){if(!p[h[e+"Key"]]&&(m(h.alwaysArray)?-1!==h.alwaysArray.indexOf(h[e+"Key"]):h.alwaysArray)&&(p[h[e+"Key"]]=[]),p[h[e+"Key"]]&&!m(p[h[e+"Key"]])&&(p[h[e+"Key"]]=[p[h[e+"Key"]]]),e+"Fn"in h&&"string"==typeof t&&(t=h[e+"Fn"](t,p)),"instruction"===e&&("instructionFn"in h||"instructionNameFn"in h))for(r in t)if(t.hasOwnProperty(r))if("instructionFn"in h)t[r]=h.instructionFn(t[r],r,p);else{var n=t[r];delete t[r],t[h.instructionNameFn(r,n,p)]=n}m(p[h[e+"Key"]])?p[h[e+"Key"]].push(t):p[h[e+"Key"]]=t}else{p[h.elementsKey]||(p[h.elementsKey]=[]);var i={};if(i[h.typeKey]=e,"instruction"===e){for(r in t)if(t.hasOwnProperty(r))break;i[h.nameKey]="instructionNameFn"in h?h.instructionNameFn(r,t,p):r,h.instructionHasAttributes?(i[h.attributesKey]=t[r][h.attributesKey],"instructionFn"in h&&(i[h.attributesKey]=h.instructionFn(i[h.attributesKey],r,p))):("instructionFn"in h&&(t[r]=h.instructionFn(t[r],r,p)),i[h.instructionKey]=t[r])}else e+"Fn"in h&&(t=h[e+"Fn"](t,p)),i[h[e+"Key"]]=t;h.addParent&&(i[h.parentKey]=p),p[h.elementsKey].push(i)}}function r(t){var r;if("attributesFn"in h&&t&&(t=h.attributesFn(t,p)),(h.trim||"attributeValueFn"in h||"attributeNameFn"in h||h.nativeTypeAttributes)&&t)for(r in t)if(t.hasOwnProperty(r)&&(h.trim&&(t[r]=t[r].trim()),h.nativeTypeAttributes&&(t[r]=e(t[r])),"attributeValueFn"in h&&(t[r]=h.attributeValueFn(t[r],r,p)),"attributeNameFn"in h)){var n=t[r];delete t[r],t[h.attributeNameFn(r,t[r],p)]=n}return t}function n(e){var n={};if(e.body&&("xml"===e.name.toLowerCase()||h.instructionHasAttributes)){for(var i,o=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(i=o.exec(e.body));)n[i[1]]=i[2]||i[3]||i[4];n=r(n)}if("xml"===e.name.toLowerCase()){if(h.ignoreDeclaration)return;p[h.declarationKey]={},Object.keys(n).length&&(p[h.declarationKey][h.attributesKey]=n),h.addParent&&(p[h.declarationKey][h.parentKey]=p)}else{if(h.ignoreInstruction)return;h.trim&&(e.body=e.body.trim());var s={};h.instructionHasAttributes&&Object.keys(n).length?(s[e.name]={},s[e.name][h.attributesKey]=n):s[e.name]=e.body,t("instruction",s)}}function i(e,t){var n;if("object"==typeof e&&(t=e.attributes,e=e.name),t=r(t),"elementNameFn"in h&&(e=h.elementNameFn(e,p)),h.compact){var i;if(n={},!h.ignoreAttributes&&t&&Object.keys(t).length)for(i in n[h.attributesKey]={},t)t.hasOwnProperty(i)&&(n[h.attributesKey][i]=t[i]);!(e in p)&&(m(h.alwaysArray)?-1!==h.alwaysArray.indexOf(e):h.alwaysArray)&&(p[e]=[]),p[e]&&!m(p[e])&&(p[e]=[p[e]]),m(p[e])?p[e].push(n):p[e]=n}else p[h.elementsKey]||(p[h.elementsKey]=[]),(n={})[h.typeKey]="element",n[h.nameKey]=e,!h.ignoreAttributes&&t&&Object.keys(t).length&&(n[h.attributesKey]=t),h.alwaysChildren&&(n[h.elementsKey]=[]),p[h.elementsKey].push(n);n[h.parentKey]=p,p=n}function o(r){h.ignoreText||(r.trim()||h.captureSpacesBetweenElements)&&(h.trim&&(r=r.trim()),h.nativeType&&(r=e(r)),h.sanitize&&(r=r.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")),t("text",r))}function s(e){h.ignoreComment||(h.trim&&(e=e.trim()),t("comment",e))}function a(e){var t=p[h.parentKey];h.addParent||delete p[h.parentKey],p=t}function u(e){h.ignoreCdata||(h.trim&&(e=e.trim()),t("cdata",e))}function l(e){h.ignoreDoctype||(e=e.replace(/^ /,""),h.trim&&(e=e.trim()),t("doctype",e))}function c(e){e.note=e}if(Kn)return Gn;Kn=1;var h,p,d=(Un||(Un=1,function(e){function t(r,n){if(!(this instanceof t))return new t(r,n);var i=this;(function(e){for(var t=0,r=T.length;t<r;t++)e[T[t]]=""})(i),i.q=i.c="",i.bufferCheckPosition=e.MAX_BUFFER_LENGTH,i.opt=n||{},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=!!r,i.noscript=!(!r&&!i.opt.noscript),i.state=M.BEGIN,i.strictEntities=i.opt.strictEntities,i.ENTITIES=Object.create(i.strictEntities?e.XML_ENTITIES:e.ENTITIES),i.attribList=[],i.opt.xmlns&&(i.ns=Object.create(D)),i.trackPosition=!1!==i.opt.position,i.trackPosition&&(i.position=i.line=i.column=0),u(i,"onready")}function r(e,n){if(!(this instanceof r))return new r(e,n);E.apply(this),this._parser=new t(e,n),this.writable=!0,this.readable=!0;var i=this;this._parser.onend=function(){i.emit("end")},this._parser.onerror=function(e){i.emit("error",e),i._parser.error=null}
vendor: 6,716 bytes, line 1
1,this._decoder=null,S.forEach(function(e){Object.defineProperty(i,"on"+e,{get:function(){return i._parser["on"+e]},set:function(t){if(!t)return i.removeAllListeners(e),i._parser["on"+e]=t,t;i.on(e,t)},enumerable:!0,configurable:!1})})}function n(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function i(e){return'"'===e||"'"===e}function o(e){return">"===e||n(e)}function s(e,t){return e.test(t)}function a(e,t){return!s(e,t)}function u(e,t,r){e[t]&&e[t](r)}function l(e,t,r){e.textNode&&c(e),u(e,t,r)}function c(e){e.textNode=h(e.opt,e.textNode),e.textNode&&u(e,"ontext",e.textNode),e.textNode=""}function h(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function p(e,t){return c(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,u(e,"onerror",t),e}function d(e){return e.sawRoot&&!e.closedRoot&&f(e,"Unclosed root tag"),e.state!==M.BEGIN&&e.state!==M.BEGIN_WHITESPACE&&e.state!==M.TEXT&&p(e,"Unexpected end"),c(e),e.c="",e.closed=!0,u(e,"onend"),t.call(e,e.strict,e.opt),e}function f(e,r){if("object"!=typeof e||!(e instanceof t))throw new Error("bad call to strictFail");e.strict&&p(e,r)}function m(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,r=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(r.ns=t.ns),e.attribList.length=0,l(e,"onopentagstart",r)}function w(e,t){var r=e.indexOf(":")<0?["",e]:e.split(":"),n=r[0],i=r[1];return t&&"xmlns"===e&&(n="xmlns",i=""),{prefix:n,local:i}}function g(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=w(e.attribName,!0),r=t.local;if("xmlns"===t.prefix)if("xml"===r&&e.attribValue!==C)f(e,"xml: prefix must be bound to "+C+"\nActual: "+e.attribValue);else if("xmlns"===r&&e.attribValue!==O)f(e,"xmlns: prefix must be bound to "+O+"\nActual: "+e.attribValue);else{var n=e.tag,i=e.tags[e.tags.length-1]||e;n.ns===i.ns&&(n.ns=Object.create(i.ns)),n.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,l(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function y(e,t){if(e.opt.xmlns){var r=e.tag,n=w(e.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(f(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),r.uri=n.prefix),r.ns&&(e.tags[e.tags.length-1]||e).ns!==r.ns&&Object.keys(r.ns).forEach(function(t){l(e,"onopennamespace",{prefix:t,uri:r.ns[t]})});for(var i=0,o=e.attribList.length;i<o;i++){var s=e.attribList[i],a=s[0],u=s[1],c=w(a,!0),h=c.prefix,p=""===h?"":r.ns[h]||"",d={name:a,value:u,prefix:h,local:c.local,uri:p};h&&"xmlns"!==h&&!p&&(f(e,"Unbound namespace prefix: "+JSON.stringify(h)),d.uri=h),e.tag.attributes[a]=d,l(e,"onattribute",d)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),l(e,"onopentag",e.tag),t||(e.state=e.noscript||"script"!==e.tagName.toLowerCase()?M.TEXT:M.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function b(e){if(!e.tagName)return f(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=M.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=M.SCRIPT);l(e,"onscript",e.script),e.script=""}var t=e.tags.length,r=e.tagName;e.strict||(r=r[e.looseCase]());for(var n=r;t--&&e.tags[t].name!==n;)f(e,"Unexpected close tag");if(t<0)return f(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=M.TEXT);e.tagName=r;for(var i=e.tags.length;i-- >t;){var o=e.tag=e.tags.pop();e.tagName=e.tag.name,l(e,"onclosetag",e.tagName);var s={};for(var a in o.ns)s[a]=o.ns[a];e.opt.xmlns&&o.ns!==(e.tags[e.tags.length-1]||e).ns&&Object.keys(o.ns).forEach(function(t){l(e,"onclosenamespace",{prefix:t,uri:o.ns[t]})})}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=M.TEXT}function v(e){var t,r=e.entity,n=r.toLowerCase(),i="";return e.ENTITIES[r]?e.ENTITIES[r]:e.ENTITIES[n]?e.ENTITIES[n]:("#"===(r=n).charAt(0)&&("x"===r.charAt(1)?(r=r.slice(2),i=(t=parseInt(r,16)).toString(16)):(r=r.slice(1),i=(t=parseInt(r,10)).toString(10))),r=r.replace(/^0+/,""),isNaN(t)||i.toLowerCase()!==r?(f(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function x(e,t){"<"===t?(e.state=M.OPEN_WAKA,e.startTagPosition=e.position):n(t)||(f(e,"Non-whitespace before first tag."),e.textNode=t,e.state=M.TEXT)}function _(e,t){var r="";return t<e.length&&(r=e.charAt(t)),r}e.parser=function(e,r){return new t(e,r)},e.SAXParser=t,e.SAXStream=r,e.createStream=function(e,t){return new r(e,t)},e.MAX_BUFFER_LENGTH=65536;var E,T=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}),t.prototype={end:function(){d(this)},write:function(t){var r=this;if(this.error)throw this.error;if(r.closed)return p(r,"Cannot write after close. Assign an onready handler.");if(null===t)return d(r);"object"==typeof t&&(t=t.toString());for(var u=0,w="";w=_(t,u++),r.c=w,w;)switch(r.trackPosition&&(r.position++,"\n"===w?(r.line++,r.column=0):r.column++),r.state){case M.BEGIN:if(r.state=M.BEGIN_WHITESPACE,"\ufeff"===w)continue;x(r,w);continue;case M.BEGIN_WHITESPACE:x(r,w);continue;case M.TEXT:if(r.sawRoot&&!r.closedRoot){for(var E=u-1;w&&"<"!==w&&"&"!==w;)(w=_(t,u++))&&r.trackPosition&&(r.position++,"\n"===w?(r.line++,r.column=0):r.column++);r.textNode+=t.substring(E,u-1)}"<"!==w||r.sawRoot&&r.closedRoot&&!r.strict?(n(w)||r.sawRoot&&!r.closedRoot||f(r,"Text data outside of root node."),"&"===w?r.state=M.TEXT_ENTITY:r.textNode+=w):(r.state=M.OPEN_WAKA,r.startTagPosition=r.position);continue;case M.SCRIPT:"<"===w?r.state=M.SCRIPT_ENDING:r.script+=w;continue;case M.SCRIPT_ENDING:"/"===w?r.state=M.CLOSE_TAG:(r.script+="<"+w,r.state=M.SCRIPT);continue;case M.OPEN_WAKA:"!"===w?(r.state=M.SGML_DECL,r.sgmlDecl=""):n(w)||(s(P,w)?(r.state=M.OPEN_TAG,r.tagName=w):"/"===w?(r.state=M.CLOSE_TAG,r.tagName=""):"?"===w?(r.state=M.PROC_INST,r.procInstName=r.procInstBody=""):(f(r,"Unencoded <"),r.startTagPosition+1<r.position&&(w=new Array(r.position-r.
vendor: 5,981 bytes, line 1
1startTagPosition).join(" ")+w),r.textNode+="<"+w,r.state=M.TEXT));continue;case M.SGML_DECL:(r.sgmlDecl+w).toUpperCase()===I?(l(r,"onopencdata"),r.state=M.CDATA,r.sgmlDecl="",r.cdata=""):r.sgmlDecl+w==="--"?(r.state=M.COMMENT,r.comment="",r.sgmlDecl=""):(r.sgmlDecl+w).toUpperCase()===N?(r.state=M.DOCTYPE,(r.doctype||r.sawRoot)&&f(r,"Inappropriately located doctype declaration"),r.doctype="",r.sgmlDecl=""):">"===w?(l(r,"onsgmldeclaration",r.sgmlDecl),r.sgmlDecl="",r.state=M.TEXT):i(w)?(r.state=M.SGML_DECL_QUOTED,r.sgmlDecl+=w):r.sgmlDecl+=w;continue;case M.SGML_DECL_QUOTED:w===r.q&&(r.state=M.SGML_DECL,r.q=""),r.sgmlDecl+=w;continue;case M.DOCTYPE:">"===w?(r.state=M.TEXT,l(r,"ondoctype",r.doctype),r.doctype=!0):(r.doctype+=w,"["===w?r.state=M.DOCTYPE_DTD:i(w)&&(r.state=M.DOCTYPE_QUOTED,r.q=w));continue;case M.DOCTYPE_QUOTED:r.doctype+=w,w===r.q&&(r.q="",r.state=M.DOCTYPE);continue;case M.DOCTYPE_DTD:r.doctype+=w,"]"===w?r.state=M.DOCTYPE:i(w)&&(r.state=M.DOCTYPE_DTD_QUOTED,r.q=w);continue;case M.DOCTYPE_DTD_QUOTED:r.doctype+=w,w===r.q&&(r.state=M.DOCTYPE_DTD,r.q="");continue;case M.COMMENT:"-"===w?r.state=M.COMMENT_ENDING:r.comment+=w;continue;case M.COMMENT_ENDING:"-"===w?(r.state=M.COMMENT_ENDED,r.comment=h(r.opt,r.comment),r.comment&&l(r,"oncomment",r.comment),r.comment=""):(r.comment+="-"+w,r.state=M.COMMENT);continue;case M.COMMENT_ENDED:">"!==w?(f(r,"Malformed comment"),r.comment+="--"+w,r.state=M.COMMENT):r.state=M.TEXT;continue;case M.CDATA:"]"===w?r.state=M.CDATA_ENDING:r.cdata+=w;continue;case M.CDATA_ENDING:"]"===w?r.state=M.CDATA_ENDING_2:(r.cdata+="]"+w,r.state=M.CDATA);continue;case M.CDATA_ENDING_2:">"===w?(r.cdata&&l(r,"oncdata",r.cdata),l(r,"onclosecdata"),r.cdata="",r.state=M.TEXT):"]"===w?r.cdata+="]":(r.cdata+="]]"+w,r.state=M.CDATA);continue;case M.PROC_INST:"?"===w?r.state=M.PROC_INST_ENDING:n(w)?r.state=M.PROC_INST_BODY:r.procInstName+=w;continue;case M.PROC_INST_BODY:if(!r.procInstBody&&n(w))continue;"?"===w?r.state=M.PROC_INST_ENDING:r.procInstBody+=w;continue;case M.PROC_INST_ENDING:">"===w?(l(r,"onprocessinginstruction",{name:r.procInstName,body:r.procInstBody}),r.procInstName=r.procInstBody="",r.state=M.TEXT):(r.procInstBody+="?"+w,r.state=M.PROC_INST_BODY);continue;case M.OPEN_TAG:s(L,w)?r.tagName+=w:(m(r),">"===w?y(r):"/"===w?r.state=M.OPEN_TAG_SLASH:(n(w)||f(r,"Invalid character in tag name"),r.state=M.ATTRIB));continue;case M.OPEN_TAG_SLASH:">"===w?(y(r,!0),b(r)):(f(r,"Forward-slash in opening tag not followed by >"),r.state=M.ATTRIB);continue;case M.ATTRIB:if(n(w))continue;">"===w?y(r):"/"===w?r.state=M.OPEN_TAG_SLASH:s(P,w)?(r.attribName=w,r.attribValue="",r.state=M.ATTRIB_NAME):f(r,"Invalid attribute name");continue;case M.ATTRIB_NAME:"="===w?r.state=M.ATTRIB_VALUE:">"===w?(f(r,"Attribute without value"),r.attribValue=r.attribName,g(r),y(r)):n(w)?r.state=M.ATTRIB_NAME_SAW_WHITE:s(L,w)?r.attribName+=w:f(r,"Invalid attribute name");continue;case M.ATTRIB_NAME_SAW_WHITE:if("="===w)r.state=M.ATTRIB_VALUE;else{if(n(w))continue;f(r,"Attribute without value"),r.tag.attributes[r.attribName]="",r.attribValue="",l(r,"onattribute",{name:r.attribName,value:""}),r.attribName="",">"===w?y(r):s(P,w)?(r.attribName=w,r.state=M.ATTRIB_NAME):(f(r,"Invalid attribute name"),r.state=M.ATTRIB)}continue;case M.ATTRIB_VALUE:if(n(w))continue;i(w)?(r.q=w,r.state=M.ATTRIB_VALUE_QUOTED):(f(r,"Unquoted attribute value"),r.state=M.ATTRIB_VALUE_UNQUOTED,r.attribValue=w);continue;case M.ATTRIB_VALUE_QUOTED:if(w!==r.q){"&"===w?r.state=M.ATTRIB_VALUE_ENTITY_Q:r.attribValue+=w;continue}g(r),r.q="",r.state=M.ATTRIB_VALUE_CLOSED;continue;case M.ATTRIB_VALUE_CLOSED:n(w)?r.state=M.ATTRIB:">"===w?y(r):"/"===w?r.state=M.OPEN_TAG_SLASH:s(P,w)?(f(r,"No whitespace between attributes"),r.attribName=w,r.attribValue="",r.state=M.ATTRIB_NAME):f(r,"Invalid attribute name");continue;case M.ATTRIB_VALUE_UNQUOTED:if(!o(w)){"&"===w?r.state=M.ATTRIB_VALUE_ENTITY_U:r.attribValue+=w;continue}g(r),">"===w?y(r):r.state=M.ATTRIB;continue;case M.CLOSE_TAG:if(r.tagName)">"===w?b(r):s(L,w)?r.tagName+=w:r.script?(r.script+="</"+r.tagName,r.tagName="",r.state=M.SCRIPT):(n(w)||f(r,"Invalid tagname in closing tag"),r.state=M.CLOSE_TAG_SAW_WHITE);else{if(n(w))continue;a(P,w)?r.script?(r.script+="</"+w,r.state=M.SCRIPT):f(r,"Invalid tagname in closing tag."):r.tagName=w}continue;case M.CLOSE_TAG_SAW_WHITE:if(n(w))continue;">"===w?b(r):f(r,"Invalid characters in closing tag");continue;case M.TEXT_ENTITY:case M.ATTRIB_VALUE_ENTITY_Q:case M.ATTRIB_VALUE_ENTITY_U:var S,A;switch(r.state){case M.TEXT_ENTITY:S=M.TEXT,A="textNode";break;case M.ATTRIB_VALUE_ENTITY_Q:S=M.ATTRIB_VALUE_QUOTED,A="attribValue";break;case M.ATTRIB_VALUE_ENTITY_U:S=M.ATTRIB_VALUE_UNQUOTED,A="attribValue"}";"===w?(r[A]+=v(r),r.entity="",r.state=S):s(r.entity.length?B:F,w)?r.entity+=w:(f(r,"Invalid character in entity name"),r[A]+="&"+r.entity+w,r.entity="",r.state=S);continue;default:throw new Error(r,"Unknown state: "+r.state)}return r.position>=r.bufferCheckPosition&&function(t){for(var r=Math.max(e.MAX_BUFFER_LENGTH,10),n=0,i=0,o=T.length;i<o;i++){var s=t[T[i]].length;if(s>r)switch(T[i]){case"textNode":c(t);break;case"cdata":l(t,"oncdata",t.cdata),t.cdata="";break;case"script":l(t,"onscript",t.script),t.script="";break;default:p(t,"Max buffer length exceeded: "+T[i])}n=Math.max(n,s)}t.bufferCheckPosition=e.MAX_BUFFER_LENGTH-n+t.position}(r),r},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;c(e=this),""!==e.cdata&&(l(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(l(e,"onscript",e.script),e.script="")}};try{E=ge().Stream}catch(e){E=function(){}}var S=e.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});(r.prototype=Object.create(E.prototype,{constructor:{value:r}})).write=function(e){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)){if(!this._decoder){var t=pe().StringDecoder;this._decoder=new t("utf8")}e=this._decoder.write(e)}
1return this._parser.write(e.toString()),this.emit("data",e),!0},r.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},r.prototype.on=function(e,t){var r=this;return r._parser["on"+e]||-1===S.indexOf(e)||(r._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),r.emit.apply(r,t)}),E.prototype.on.call(r,e,t)};var A,k,R,I="[CDATA[",N="DOCTYPE",C="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",D={xml:C,xmlns:O},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]/,L=/[:_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]/,B=/[#:_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-]/,M=0;for(var U in e.STATE={BEGIN:M++,BEGIN_WHITESPACE:M++,TEXT:M++,TEXT_ENTITY:M++,OPEN_WAKA:M++,SGML_DECL:M++,SGML_DECL_QUOTED:M++,DOCTYPE:M++,DOCTYPE_QUOTED:M++,DOCTYPE_DTD:M++,DOCTYPE_DTD_QUOTED:M++,COMMENT_STARTING:M++,COMMENT:M++,COMMENT_ENDING:M++,COMMENT_ENDED:M++,CDATA:M++,CDATA_ENDING:M++,CDATA_ENDING_2:M++,PROC_INST:M++,PROC_INST_BODY:M++,PROC_INST_ENDING:M++,OPEN_TAG:M++,OPEN_TAG_SLASH:M++,ATTRIB:M++,ATTRIB_NAME:M++,ATTRIB_NAME_SAW_WHITE:M++,ATTRIB_VALUE:M++,ATTRIB_VALUE_QUOTED:M++,ATTRIB_VALUE_CLOSED:M++,ATTRIB_VALUE_UNQUOTED:M++,ATTRIB_VALUE_ENTITY_Q:M++,ATTRIB_VALUE_ENTITY_U:M++,CLOSE_TAG:M++,CLOSE_TAG_SAW_WHITE:M++,SCRIPT:M++,SCRIPT_ENDING:M++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.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
174,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(e.ENTITIES).forEach(function(t){var r=e.ENTITIES[t],n="number"==typeof r?String.fromCharCode(r):r;e.ENTITIES[t]=n}),e.STATE)e.STATE[e.STATE[U]]=U;M=e.STATE,String.fromCodePoint||(A=String.fromCharCode,k=Math.floor,R=function(){var e=[],t=-1,r=arguments.length;if(!r)return"";for(var n="";++t<r;){var i=Number(arguments[t]);if(!isFinite(i)||i<0||i>1114111||k(i)!==i)throw RangeError("Invalid code point: "+i);i<=65535?e.push(i):e.push(55296+((i-=65536)>>10),i%1024+56320),(t+1===r||e.length>16384)&&(n+=A.apply(null,e),e.length=0)}return n},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:R,configurable:!0,writable:!0}):String.fromCodePoint=R)}(Qe)),Qe),f=be(),m=ye().isArray;return Gn=function(e,t){var r=d.parser(!0,{}),m={};if(p=m,h=function(e){return h=f.copyOptions(e),f.ensureFlagExists("ignoreDeclaration",h),f.ensureFlagExists("ignoreInstruction",h),f.ensureFlagExists("ignoreAttributes",h),f.ensureFlagExists("ignoreText",h),f.ensureFlagExists("ignoreComment",h),f.ensureFlagExists("ignoreCdata",h),f.ensureFlagExists("ignoreDoctype",h),f.ensureFlagExists("compact",h),f.ensureFlagExists("alwaysChildren",h),f.ensureFlagExists("addParent",h),f.ensureFlagExists("trim",h),f.ensureFlagExists("nativeType",h),f.ensureFlagExists("nativeTypeAttributes",h),f.ensureFlagExists("sanitize",h),f.ensureFlagExists("instructionHasAttributes",h),f.ensureFlagExists("captureSpacesBetweenElements",h),f.ensureAlwaysArrayExists(h),f.ensureKeyExists("declaration",h),f.ensureKeyExists("instruction",h),f.ensureKeyExists("attributes",h),f.ensureKeyExists("text",h),f.ensureKeyExists("comment",h),f.ensureKeyExists("cdata",h),f.ensureKeyExists("doctype",h),f.ensureKeyExists("type",h),f.ensureKeyExists("name",h),f.ensureKeyExists("elements",h),f.ensureKeyExists("parent",h),f.checkFnExists("doctype",h),f.checkFnExists("instruction",h),f.checkFnExists("cdata",h),f.checkFnExists("comment",h),f.checkFnExists("text",h),f.checkFnExists("instructionName",h),f.checkFnExists("elementName",h),f.checkFnExists("attributeName",h),f.checkFnExists("attributeValue",h),f.checkFnExists("attributes",h),h}(t),r.opt={strictEntities:!0},r.onopentag=i,r.ontext=o,r.oncomment=s,r.onclosetag=a,r.onerror=c,r.oncdata=u,r.ondoctype=l,r.onprocessinginstruction=n,r.write(e).close(),m[h.elementsKey]){var w=m[h.elementsKey];delete m[h.elementsKey],m[h.elementsKey]=w,delete m.text}return m}}function xe(){function e(e,t,r){return(!r&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function t(t,r,n){if(r.ignoreAttributes)return"";"attributesFn"in r&&(t=r.attributesFn(t,d,p));var i,o,s,a,u=[];for(i in t)t.hasOwnProperty(i)&&null!=t[i]&&(a=r.noQuotesForNativeAttributes&&"string"!=typeof t[i]?"":'"',o=(o=""+t[i]).replace(/"/g,"""),s="attributeNameFn"in r?r.attributeNameFn(i,o,d,p):i,u.push(r.spaces&&r.indentAttributes?e(r,n+1,!1):" "),u.push(s+"="+a+("attributeValueFn"in r?r.attributeValueFn(o,i,d,p):o)+a));return t&&Object.keys(t).length&&r.spaces&&r.indentAttributes&&u.push(e(r,n,!1)),u.join("")}function r(e,r,n){return p=e,d="xml",r.ignoreDeclaration?"":"<?xml"+t(e[r.attributesKey],r,n
1)+"?>"}function n(e,r,n){if(r.ignoreInstruction)return"";var i;for(i in e)if(e.hasOwnProperty(i))break;var o="instructionNameFn"in r?r.instructionNameFn(i,e[i],d,p):i;if("object"==typeof e[i])return p=e,d=o,"<?"+o+t(e[i][r.attributesKey],r,n)+"?>";var s=e[i]?e[i]:"";return"instructionFn"in r&&(s=r.instructionFn(s,i,d,p)),"<?"+o+(s?" "+s:"")+"?>"}function i(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,d,p):e)+"--\x3e"}function o(e,t){return t.ignoreCdata?"":"<![CDATA["+("cdataFn"in t?t.cdataFn(e,d,p):e.replace("]]>","]]]]><![CDATA[>"))+"]]>"}function s(e,t){return t.ignoreDoctype?"":"<!DOCTYPE "+("doctypeFn"in t?t.doctypeFn(e,d,p):e)+">"}function a(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&/g,"&")).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),"textFn"in t?t.textFn(e,d,p):e)}function u(r,l,c,h){return r.reduce(function(r,f){var m=e(l,c,h&&!r);switch(f.type){case"element":return r+m+function(e,r,n){p=e,d=e.name;var i=[],o="elementNameFn"in r?r.elementNameFn(e.name,e):e.name;i.push("<"+o),e[r.attributesKey]&&i.push(t(e[r.attributesKey],r,n));var s=e[r.elementsKey]&&e[r.elementsKey].length||e[r.attributesKey]&&"preserve"===e[r.attributesKey]["xml:space"];return s||(s="fullTagEmptyElementFn"in r?r.fullTagEmptyElementFn(e.name,e):r.fullTagEmptyElement),s?(i.push(">"),e[r.elementsKey]&&e[r.elementsKey].length&&(i.push(u(e[r.elementsKey],r,n+1)),p=e,d=e.name),i.push(r.spaces&&function(e,t){var r;if(e.elements&&e.elements.length)for(r=0;r<e.elements.length;++r)switch(e.elements[r][t.typeKey]){case"text":if(t.indentText)return!0;break;case"cdata":if(t.indentCdata)return!0;break;case"instruction":if(t.indentInstruction)return!0;break;default:return!0}return!1}(e,r)?"\n"+Array(n+1).join(r.spaces):""),i.push("</"+o+">")):i.push("/>"),i.join("")}(f,l,c);case"comment":return r+m+i(f[l.commentKey],l);case"doctype":return r+m+s(f[l.doctypeKey],l);case"cdata":return r+(l.indentCdata?m:"")+o(f[l.cdataKey],l);case"text":return r+(l.indentText?m:"")+a(f[l.textKey],l);case"instruction":var w={};return w[f[l.nameKey]]=f[l.attributesKey]?f:f[l.instructionKey],r+(l.indentInstruction?m:"")+n(w,l,c)}},"")}function l(e,t,r){var n;for(n in e)if(e.hasOwnProperty(n))switch(n){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||r)return!0;break;case t.cdataKey:if(t.indentCdata||r)return!0;break;case t.instructionKey:if(t.indentInstruction||r)return!0;break;default:return!0}return!1}function c(r,n,i,o,s){p=r,d=n;var u="elementNameFn"in i?i.elementNameFn(n,r):n;if(null==r||""===r)return"fullTagEmptyElementFn"in i&&i.fullTagEmptyElementFn(n,r)||i.fullTagEmptyElement?"<"+u+"></"+u+">":"<"+u+"/>";var c=[];if(n){if(c.push("<"+u),"object"!=typeof r)return c.push(">"+a(r,i)+"</"+u+">"),c.join("");r[i.attributesKey]&&c.push(t(r[i.attributesKey],i,o));var f=l(r,i,!0)||r[i.attributesKey]&&"preserve"===r[i.attributesKey]["xml:space"];if(f||(f="fullTagEmptyElementFn"in i?i.fullTagEmptyElementFn(n,r):i.fullTagEmptyElement),!f)return c.push("/>"),c.join("");c.push(">")}return c.push(h(r,i,o+1,!1)),p=r,d=n,n&&c.push((s?e(i,o,!1):"")+"</"+u+">"),c.join("")}function h(t,u,h,p){var d,f,w,g=[];for(f in t)if(t.hasOwnProperty(f))for(w=m(t[f])?t[f]:[t[f]],d=0;d<w.length;++d){switch(f){case u.declarationKey:g.push(r(w[d],u,h));break;case u.instructionKey:g.push((u.indentInstruction?e(u,h,p):"")+n(w[d],u,h));break;case u.attributesKey:case u.parentKey:break;case u.textKey:g.push((u.indentText?e(u,h,p):"")+a(w[d],u));break;case u.cdataKey:g.push((u.indentCdata?e(u,h,p):"")+o(w[d],u));break;case u.doctypeKey:g.push(e(u,h,p)+s(w[d],u));break;case u.commentKey:g.push(e(u,h,p)+i(w[d],u));break;default:g.push(e(u,h,p)+c(w[d],f,u,h,l(w[d],u)))}p=p&&!g.length}return g.join("")}if(qn)return Xn;qn=1;var p,d,f=be(),m=ye().isArray;return Xn=function(e,t){t=function(e){var t=f.copyOptions(e);return f.ensureFlagExists("ignoreDeclaration",t),f.ensureFlagExists("ignoreInstruction",t),f.ensureFlagExists("ignoreAttributes",t),f.ensureFlagExists("ignoreText",t),f.ensureFlagExists("ignoreComment",t),f.ensureFlagExists("ignoreCdata",t),f.ensureFlagExists("ignoreDoctype",t),f.ensureFlagExists("compact",t),f.ensureFlagExists("indentText",t),f.ensureFlagExists("indentCdata",t),f.ensureFlagExists("indentAttributes",t),f.ensureFlagExists("indentInstruction",t),f.ensureFlagExists("fullTagEmptyElement",t),f.ensureFlagExists("noQuotesForNativeAttributes",t),f.ensureSpace
1sExists(t),"number"==typeof t.spaces&&(t.spaces=Array(t.spaces+1).join(" ")),f.ensureKeyExists("declaration",t),f.ensureKeyExists("instruction",t),f.ensureKeyExists("attributes",t),f.ensureKeyExists("text",t),f.ensureKeyExists("comment",t),f.ensureKeyExists("cdata",t),f.ensureKeyExists("doctype",t),f.ensureKeyExists("type",t),f.ensureKeyExists("name",t),f.ensureKeyExists("elements",t),f.checkFnExists("doctype",t),f.checkFnExists("instruction",t),f.checkFnExists("cdata",t),f.checkFnExists("comment",t),f.checkFnExists("text",t),f.checkFnExists("instructionName",t),f.checkFnExists("elementName",t),f.checkFnExists("attributeName",t),f.checkFnExists("attributeValue",t),f.checkFnExists("attributes",t),f.checkFnExists("fullTagEmptyElement",t),t}(t);var n=[];return p=e,d="_root_",t.compact?n.push(h(e,t,0,!0)):(e[t.declarationKey]&&n.push(r(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&n.push(u(e[t.elementsKey],t,0,!n.length))),n.join("")}}function _e(){function e(e,t){if(!e)throw new Error(t||"Assertion failed")}return Ho||(Ho=1,Uo=e,e.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}),Uo}function Ee(){function e(e,t){return 55296==(64512&e.charCodeAt(t))&&!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1))}function t(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function r(e){return 1===e.length?"0"+e:e}function n(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}if(jo)return as;jo=1;var i=_e(),s=o();return as.inherits=s,as.toArray=function(t,r){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"==typeof t)if(r){if("hex"===r)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),o=0;o<t.length;o+=2)n.push(parseInt(t[o]+t[o+1],16))}else for(var i=0,o=0;o<t.length;o++){var s=t.charCodeAt(o);s<128?n[i++]=s:s<2048?(n[i++]=s>>6|192,n[i++]=63&s|128):e(t,o)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++o)),n[i++]=s>>18|240,n[i++]=s>>12&63|128,n[i++]=s>>6&63|128,n[i++]=63&s|128):(n[i++]=s>>12|224,n[i++]=s>>6&63|128,n[i++]=63&s|128)}else for(o=0;o<t.length;o++)n[o]=0|t[o];return n},as.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=r(e[n].toString(16));return t},as.htonl=t,as.toHex32=function(e,r){for(var i="",o=0;o<e.length;o++){var s=e[o];"little"===r&&(s=t(s)),i+=n(s.toString(16))}return i},as.zero2=r,as.zero8=n,as.join32=function(e,t,r,n){var o=r-t;i(o%4==0);for(var s=new Array(o/4),a=0,u=t;a<s.length;a++,u+=4)s[a]=("big"===n?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u])>>>0;return s},as.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},as.rotr32=function(e,t){return e>>>t|e<<32-t},as.rotl32=function(e,t){return e<<t|e>>>32-t},as.sum32=function(e,t){return e+t>>>0},as.sum32_3=function(e,t,r){return e+t+r>>>0},as.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},as.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},as.sum64=function(e,t,r,n){var i=n+e[t+1]>>>0;e[t]=(i<n?1:0)+r+e[t]>>>0,e[t+1]=i},as.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},as.sum64_lo=function(e,t,r,n){return t+n>>>0},as.sum64_4_hi=function(e,t,r,n,i,o,s,a){var u=0,l=t;return u+=(l=l+n>>>0)<t?1:0,u+=(l=l+o>>>0)<o?1:0,e+r+i+s+(u+=(l=l+a>>>0)<a?1:0)>>>0},as.sum64_4_lo=function(e,t,r,n,i,o,s,a){return t+n+o+a>>>0},as.sum64_5_hi=function(e,t,r,n,i,o,s,a,u,l){var c=0,h=t;return c+=(h=h+n>>>0)<t?1:0,c+=(h=h+o>>>0)<o?1:0,c+=(h=h+a>>>0)<a?1:0,e+r+i+s+u+(c+=(h=h+l>>>0)<l?1:0)>>>0},as.sum64_5_lo=function(e,t,r,n,i,o,s,a,u,l){return t+n+o+a+l>>>0},as.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},as.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},as.shr64_hi=function(e,t,r){return e>>>r},as.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},as}function Te(){function e(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}if(zo)return us;zo=1;var t=Ee(),r=_e();return us.BlockHash=e,e.prototype.update=function(e,r){if(e=t.toArray(e,r),this.pending=this.pending?this.pending.concat(e):e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=t.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},e.prototype.digest=function(e){return this.update(this._pad()),r(null===this.pending),this._digest(e)},e.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n},us}function Se(){function e(e,t,r){return e&t^~e&r}function t(e,t,r){return e&t^e&r^t&r}function r(e,t,r){return e^t^r}if(Wo)return cs;Wo=1;var n=Ee().rotr32;return cs.ft_1=function(n,i,o,s){return 0===n?e(i,o,s):1===n||3===n?r(i,o,s):2===n?t(i,o,s):void 0},cs.ch32=e,cs.maj32=t,cs.p32=r,cs.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},cs.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},cs.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},cs.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10},cs}function Ae(){function e(){if(!(this instanceof e))return new e;f.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}if($o)return Vo;$o=1;var t=Ee(),r=Te(),n=Se(),i=_e(),o=t.sum32,s=t.sum32_4,a=t.sum32_5,u=n.ch32,l=n.maj32,c=n.s0_256,h=n.s1_256,p=n.g0_256,d=n.g1_256,f=r.BlockH
1ash,m=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];return t.inherits(e,f),Vo=e,e.blockSize=512,e.outSize=256,e.hmacStrength=192,e.padLength=64,e.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=s(d(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var f=this.h[0],m=this.h[1],w=this.h[2],g=this.h[3],y=this.h[4],b=this.h[5],v=this.h[6],x=this.h[7];for(i(this.k.length===r.length),n=0;n<r.length;n++){var _=a(x,h(y),u(y,b,v),this.k[n],r[n]),E=o(c(f),l(f,m,w));x=v,v=b,b=y,y=o(g,_),g=w,w=m,m=f,f=o(_,E)}this.h[0]=o(this.h[0],f),this.h[1]=o(this.h[1],m),this.h[2]=o(this.h[2],w),this.h[3]=o(this.h[3],g),this.h[4]=o(this.h[4],y),this.h[5]=o(this.h[5],b),this.h[6]=o(this.h[6],v),this.h[7]=o(this.h[7],x)},e.prototype._digest=function(e){return"hex"===e?t.toHex32(this.h,"big"):t.split32(this.h,"big")},Vo}function ke(){function e(){if(!(this instanceof e))return new e;k.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=R,this.W=new Array(160)}function t(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}function r(e,t,r,n,i,o){var s=t&n^~t&o;return s<0&&(s+=4294967296),s}function n(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}function i(e,t,r,n,i,o){var s=t&n^t&o^n&o;return s<0&&(s+=4294967296),s}function o(e,t){var r=w(e,t,28)^w(t,e,2)^w(t,e,7);return r<0&&(r+=4294967296),r}function s(e,t){var r=g(e,t,28)^g(t,e,2)^g(t,e,7);return r<0&&(r+=4294967296),r}function a(e,t){var r=w(e,t,14)^w(e,t,18)^w(t,e,9);return r<0&&(r+=4294967296),r}function u(e,t){var r=g(e,t,14)^g(e,t,18)^g(t,e,9);return r<0&&(r+=4294967296),r}function l(e,t){var r=w(e,t,1)^w(e,t,8)^y(e,t,7);return r<0&&(r+=4294967296),r}function c(e,t){var r=g(e,t,1)^g(e,t,8)^b(e,t,7);return r<0&&(r+=4294967296),r}function h(e,t){var r=w(e,t,19)^w(t,e,29)^y(e,t,6);return r<0&&(r+=4294967296),r}function p(e,t){var r=g(e,t,19)^g(t,e,29)^b(e,t,6);return r<0&&(r+=4294967296),r}if(Yo)return Zo;Yo=1;var d=Ee(),f=Te(),m=_e(),w=d.rotr64_hi,g=d.rotr64_lo,y=d.shr64_hi,b=d.shr64_lo,v=d.sum64,x=d.sum64_hi,_=d.sum64_lo,E=d.sum64_4_hi,T=d.sum64_4_lo,S=d.sum64_5_hi,A=d.sum64_5_lo,k=f.BlockHash,R=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,
11126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];return d.inherits(e,k),Zo=e,e.blockSize=1024,e.outSize=512,e.hmacStrength=192,e.padLength=128,e.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=h(r[n-4],r[n-3]),o=p(r[n-4],r[n-3]),s=r[n-14],a=r[n-13],u=l(r[n-30],r[n-29]),d=c(r[n-30],r[n-29]),f=r[n-32],m=r[n-31];r[n]=E(i,o,s,a,u,d,f,m),r[n+1]=T(i,o,s,a,u,d,f,m)}},e.prototype._update=function(e,l){this._prepareBlock(e,l);var c=this.W,h=this.h[0],p=this.h[1],d=this.h[2],f=this.h[3],w=this.h[4],g=this.h[5],y=this.h[6],b=this.h[7],E=this.h[8],T=this.h[9],k=this.h[10],R=this.h[11],I=this.h[12],N=this.h[13],C=this.h[14],O=this.h[15];m(this.k.length===c.length);for(var D=0;D<c.length;D+=2){var P=C,L=O,F=a(E,T),B=u(E,T),M=t(E,0,k,0,I),U=r(0,T,0,R,0,N),H=this.k[D],j=this.k[D+1],z=c[D],W=c[D+1],G=S(P,L,F,B,M,U,H,j,z,W),K=A(P,L,F,B,M,U,H,j,z,W);P=o(h,p),L=s(h,p),F=n(h,0,d,0,w),B=i(0,p,0,f,0,g);var V=x(P,L,F,B),X=_(P,L,F,B);C=I,O=N,I=k,N=R,k=E,R=T,E=x(y,b,G,K),T=_(b,b,G,K),y=w,b=g,w=d,g=f,d=h,f=p,h=x(G,K,V,X),p=_(G,K,V,X)}v(this.h,0,h,p),v(this.h,2,d,f),v(this.h,4,w,g),v(this.h,6,y,b),v(this.h,8,E,T),v(this.h,10,k,R),v(this.h,12,I,N),v(this.h,14,C,O)},e.prototype._digest=function(e){return"hex"===e?d.toHex32(this.h,"big"):d.split32(this.h,"big")},Zo}function Re(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}r.r(t),r.d(t,{AbstractNumbering:()=>Bp,AlignmentType:()=>Wi,AnnotationReference:()=>lu,Attributes:()=>$e,BaseXmlComponent:()=>je,Body:()=>Xh,Bookmark:()=>$u,BookmarkEnd:()=>qu,BookmarkStart:()=>Xu,Border:()=>$i,BorderStyle:()=>Vi,BuilderElement:()=>zi,CarriageReturn:()=>mu,CellMerge:()=>wc,CellMergeAttributes:()=>mc,CharacterSet:()=>rl,CheckBox:()=>zd,CheckBoxSymbolElement:()=>Hd,CheckBoxUtil:()=>jd,Column:()=>$h,ColumnBreak:()=>Su,Comment:()=>Qa,CommentRangeEnd:()=>Ya,CommentRangeStart:()=>Za,CommentReference:()=>Ja,Comments:()=>eu,ConcreteHyperlink:()=>zu,ConcreteNumbering:()=>Hp,ContinuationSeparator:()=>du,DayLong:()=>su,DayShort:()=>nu,DeletedTableCell:()=>dc,DeletedTableRow:()=>hc,DeletedTextRun:()=>uc,Document:()=>Sd,DocumentAttributeNamespaces:()=>lh,DocumentAttributes:()=>ch,DocumentBackground:()=>Zh,DocumentBackgroundAttributes:()=>qh,DocumentDefaults:()=>_d,DocumentGridType:()=>vh,Drawing:()=>Oa,DropCapType:()=>ol,EMPTY_OBJECT:()=>ze,EmphasisMarkType:()=>wo,EmptyElement:()=>Fi,EndnoteIdReference:()=>Bd,EndnoteReference:()=>hu,EndnoteReferenceRun:()=>Md,EndnoteReferenceRunAttributes:()=>Fd,Endnotes:()=>ap,ExternalHyperlink:()=>Gu,File:()=>Sd,FileChild:()=>Uu,FootNoteReferenceRunAttributes:()=>Dd,FootNotes:()=>gp,Footer:()=>Od,FooterWrapper:()=>hp,FootnoteReference:()=>Pd,FootnoteReferenceElement:()=>cu,FootnoteReferenceRun:()=>Ld,FrameAnchorType:()=>sl,FrameWrap:()=>al,GridSpan:()=>Ac,Header:()=>Cd,HeaderFooterReferenceType:()=>_h,HeaderFooterType:()=>Eh,HeaderWrapper:()=>xp,HeadingLevel:()=>Iu,HeightRule:()=>Jc,HighlightColor:()=>Ro,HorizontalPositionAlign:()=>to,HorizontalPositionRelativeFrom:()=>Ss,HpsMeasureElement:()=>Li,HyperlinkType:()=>ju,IgnoreIfEmptyXmlComponent:()=>Ge,ImageRun:()=>La,ImportedRootElementAttributes:()=>di,ImportedXmlComponent:()=>pi,InitializableXmlComponent:()=>mi,InsertedTableCell:()=>pc,InsertedTableRow:()=>cc,InsertedTextRun:()=>nc,InternalHyperlink:()=>Wu,LastRenderedPageBreak:()=>gu,LeaderType:()=>Ou,Level:()=>Dp,LevelBase:()=>Op,LevelForOverride:()=>Pp,LevelFormat:()=>Tp,LevelOverride:()=>zp,LevelSuffix:()=>Ip,LineNumberRestartFormat:()=>Sh,LineRuleType:()=>ku,Math:()=>pl,MathAngledBrackets:()=>Jl,MathCurlyBrackets:()=>Yl,MathDegree:()=>Ml,MathDenominator:()=>ml,MathFraction:()=>gl,MathFunction:()=>Kl,MathFunctionName:()=>Wl,MathFunctionProperties:()=>Gl,MathIntegral:()=>Sl,MathLimit:()=>Al,MathLimitLower:()=>Rl,MathLimitUpper:()=>kl,MathNumerator:()=>wl,MathPreSubSuperScript:()=>Fl,MathRadical:()=>zl,MathRadicalProperties:()=>jl,MathRoundBrackets:()=>ql,MathRun:()=>fl,MathSquareBrackets:()=>Zl,MathSubScript:()=>Ol,MathSubSuperScript:()=>Pl,MathSum:()=>Tl,MathSuperScript:()=>Nl,Media:()=>_p,MonthLong:()=>au,MonthShort:()=>iu,NextAttributeComponent:()=>Ve,NoBreakHyphen:()=>tu,NumberFormat:()=>no,NumberProperties:()=>Fu,NumberValueElement:()=>Ui,NumberedItemReference:()=>Ju,NumberedItemReferenceFormat:()=>Zu,Numbering:()=>Kp,OnOffElement:()=>Pi,OverlapType:()=>zc,Packer:()=>ff,PageBorderDisplay:()=>kh,PageBorderOffsetFrom:()=>Rh,PageBorderZOrder:()=>Ih,PageBorders:()=>Ch,PageBreak:()=>Tu,PageBreakBefore:()=>Au,PageNumber:()=>Do,PageNumberElement:()=>fu,PageNumberSeparator:()=>Dh,PageOrientation:()=>Lh,PageReference:()=>tl,PageTextDirection:()=>Uh,PageTextDirectionType:()=>Bh,Paragraph:()=>hl,ParagraphProperties:()=>ll,ParagraphPropertiesChange:()=>cl,ParagraphPropertiesDefaults:()=>vd,ParagraphRunProperties:()=>No,PatchType:()=>Mf,PositionalTab:()=>_u,PositionalTabAlignment:()=>yu,PositionalTabLeader:()=>vu,PositionalTabRelativeTo:()=>bu,PrettifyType:()=>hf,RelativeHorizontalPosition:()=>Hc,RelativeVerticalPosition:()=>jc,Run:()=>Po,RunProperties:()=>Io,RunPropertiesChange:()=>Co,RunPropertiesDefaults:()=>xd,SectionProperties:()=>Gh,SectionPropertiesChange:()=>Kh,SectionType:()=>Hh,Separator:()=>pu,SequentialIdentifier:()=>Ha,ShadingType:()=>ho,SimpleField:()=>za,SimpleMailMergeField:()=>Wa,SoftHyphen:()=>ru,SpaceType:()=>io,StringContainer:()=>ji,StringEnumValueElement:()=>Hi,StringValueElement:()=>Bi,StyleForCharacter:()=>td,StyleForParagraph:()=>ed,StyleLevel:()=>Nd,Styles:()=>bd,SymbolRun:()=>Mo,TDirection:()=>Oc,Tab:()=>wu,TabStopPosition:()=>Du,TabStopType:()=>Cu,Table:()=>Yc,TableAnchorType:()=>Uc,TableBorders:()=>Mc,TableCell:()=>Lc,TableCellBorders:()=>Tc,TableLayoutType:()=>Kc,TableOfContents:()=>Id,TableProperties:()=>qc,TableRow:()=>rh,TableRowProperties:()=>eh,TableRowPropertiesChange:()=>th,TextDirection:()=>Nc,TextEffect:()=>ko,TextRun:()=>Lo,TextWrappingSide:()=>ba,TextWrappingType:()=>ya,Textbox:()=>Xd,ThematicBreak:()=>Xi,UnderlineType:()=>So,VerticalAlign:()=>bc,VerticalAlignSection:()=>yc,VerticalAlignTable:()=>gc,VerticalAnchor:()=>Os,VerticalMerge:()=>Ic,VerticalMergeRevisionType:()=>fc,VerticalMergeType:()=>kc,VerticalPositionAlign:()=>ro,VerticalPositionRelativeFrom:()=>As,WORKAROUND2:()=>Ep,WORKAROUND3:()=>fi,WORKAROUND4:()=>Bl,WidthType:()=>_c,WpgGroupRun:()=>Ma,WpsShapeRun:()=>Ba,XmlAttributeComponent:()=>Ke,XmlComponent:()=>We,YearLong:()=>uu,YearShort:()=>ou,abstractNumUniqueNumericIdGen:()=>ws,bookmarkUniqueNumericIdGen:()=>bs,concreteNumUniqueNumericIdGen:()=>gs,convertInchesToTwip:()=>fs,convertMillimetersToTwip:()=>ds,convertToXmlComponent:()=>ci,createAlignment:()=>Gi,createBodyProperties:()=>Ds,createBorderElement:()=>Ki,createColumns:()=>bh,createDocumentGrid:()=>xh,createDotEmphasisMark:()=>yo,createEmphasisMark:()=>go,createFrameProperties:()=>ul,createHeaderFooterReference:()=>Th,createHorizontalPosition:()=>Ns,createIndent:()=>qi,createLineNumberType:()=>Ah,createMathAccentCharacter:()=>yl,createMathBase:()=>bl,createMathLimitLocation:()=>vl,createMathNAryProperties:()=>xl,createMathPreSubSuperScriptProperties:()=>Ll,createMathSubScriptElement:()=>_l,createMathSubScriptProperties:()=>Cl,createMathSubSuperScriptProperties:()=>Dl,createMathSuperScriptElement:()=>El,createMathSuperScriptProperties:()=>Il,createOutlineLevel:()=>Qu,createPageMargin:()=>Oh,createPageNumberType:()=>Ph,createPageSize:()=>Fh,createParagraphStyle:()=>
1Nu,createRunFonts:()=>Eo,createSectionType:()=>jh,createShading:()=>co,createSimplePos:()=>ks,createSpacing:()=>Ru,createStringElement:()=>Mi,createTabStop:()=>Lu,createTabStopItem:()=>Pu,createTableFloatProperties:()=>Gc,createTableLayout:()=>Vc,createTableLook:()=>Xc,createTableRowHeight:()=>Qc,createTableWidthElement:()=>Ec,createTransformation:()=>Fa,createUnderline:()=>Ao,createVerticalAlign:()=>vc,createVerticalPosition:()=>Cs,createWrapNone:()=>va,createWrapSquare:()=>xa,createWrapTight:()=>_a,createWrapTopAndBottom:()=>Ea,dateTimeValue:()=>Di,decimalNumber:()=>wi,docPropertiesUniqueNumericIdGen:()=>ys,eighthPointMeasureValue:()=>Ci,encodeUtf8:()=>Ts,hashedId:()=>xs,hexColorValue:()=>Ti,hpsMeasureValue:()=>Ai,longHexNumber:()=>bi,measurementOrPercentValue:()=>Ni,patchDetector:()=>Vf,patchDocument:()=>Wf,percentageValue:()=>Ii,pointMeasureValue:()=>Oi,positiveUniversalMeasureValue:()=>Ei,sectionMarginDefaults:()=>zh,sectionPageSizeDefaults:()=>Wh,shortHexNumber:()=>vi,signedHpsMeasureValue:()=>ki,signedTwipsMeasureValue:()=>Si,standardizeData:()=>Da,twipsMeasureValue:()=>Ri,uCharHexNumber:()=>xi,uniqueId:()=>vs,uniqueNumericIdCreator:()=>ms,uniqueUuid:()=>Es,universalMeasureValue:()=>_i,unsignedDecimalNumber:()=>gi});var Ie=Object.defineProperty,Ne=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Le=(e,t,r)=>t in e?Ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Fe=(e,t)=>{for(var r in t||(t={}))De.call(t,r)&&Le(e,r,t[r]);if(Oe)for(var r of Oe(t))Pe.call(t,r)&&Le(e,r,t[r]);return e},Be=(e,t)=>Ne(e,Ce(t)),Me=(e,t)=>{var r={};for(var n in e)De.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Oe)for(var n of Oe(e))t.indexOf(n)<0&&Pe.call(e,n)&&(r[n]=e[n]);return r},Ue=(e,t,r)=>Le(e,"symbol"!=typeof t?t+"":t,r),He=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class je{constructor(e){Ue(this,"rootKey"),this.rootKey=e}}const ze=Object.seal({});class We extends je{constructor(e){super(e),Ue(this,"root"),this.root=new Array}prepForXml(e){var t;e.stack.push(this);const r=this.root.map(t=>t instanceof je?t.prepForXml(e):t).filter(e=>void 0!==e);return e.stack.pop(),{[this.rootKey]:r.length?1===r.length&&(null==(t=r[0])?void 0:t._attr)?r[0]:r:ze}}addChildElement(e){return this.root.push(e),this}}class Ge extends We{constructor(e,t){super(e),Ue(this,"includeIfEmpty"),this.includeIfEmpty=t}prepForXml(e){const t=super.prepForXml(e);return this.includeIfEmpty||t&&("object"!=typeof t[this.rootKey]||Object.keys(t[this.rootKey]).length)?t:void 0}}class Ke extends je{constructor(e){super("_attr"),Ue(this,"xmlKeys"),this.root=e}prepForXml(e){const t={};return Object.entries(this.root).forEach(([e,r])=>{void 0!==r&&(t[this.xmlKeys&&this.xmlKeys[e]||e]=r)}),{_attr:t}}}class Ve extends je{constructor(e){super("_attr"),this.root=e}prepForXml(e){return{_attr:Object.values(this.root).filter(({value:e})=>void 0!==e).reduce((e,{key:t,value:r})=>Be(Fe({},e),{[t]:r}),{})}}}class $e extends Ke{constructor(){super(...arguments),Ue(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 Xe,qe,Ze,Ye,Je="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},Qe={},et={exports:{}},tt={exports:{}},rt={exports:{}},nt=rt.exports={};(function(){try{Ze="function"==typeof setTimeout?setTimeout:a}catch(e){Ze=a}try{Ye="function"==typeof clearTimeout?clearTimeout:u}catch(e){Ye=u}})();var it,ot=[],st=!1,at=-1;nt.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];ot.push(new p(e,t)),1!==ot.length||st||l(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},nt.title="browser",nt.browser=!0,nt.env={},nt.argv=[],nt.version="",nt.versions={},nt.on=d,nt.addListener=d,nt.once=d,nt.off=d,nt.removeListener=d,nt.removeAllListeners=d,nt.emit=d,nt.prepe
1ndListener=d,nt.prependOnceListener=d,nt.listeners=function(e){return[]},nt.binding=function(e){throw new Error("process.binding is not supported")},nt.cwd=function(){return"/"},nt.chdir=function(e){throw new Error("process.chdir is not supported")},nt.umask=function(){return 0};const ut=s(rt.exports);var lt,ct,ht,pt,dt,ft,mt,wt,gt,yt,bt,vt,xt,_t,Et,Tt,St,At,kt,Rt,It,Nt,Ct,Ot,Dt,Pt,Lt,Ft,Bt,Mt,Ut,Ht,jt,zt,Wt,Gt,Kt,Vt,$t,Xt,qt,Zt,Yt,Jt,Qt,er,tr,rr,nr,ir,or,sr,ar,ur,lr,cr,hr,pr,dr,fr,mr,wr,gr,yr,br,vr,xr,_r,Er,Tr,Sr,Ar,kr,Rr,Ir,Nr,Cr,Or,Dr,Pr,Lr,Fr,Br,Mr,Ur,Hr,jr,zr,Wr,Gr,Kr,Vr,$r,Xr,qr,Zr,Yr,Jr,Qr,en,tn,rn,nn,on,sn,an,un,ln,cn,hn,pn,dn,fn,mn,wn,gn,yn,bn,vn,xn,_n,En,Tn,Sn,An,kn,Rn,In,Nn,Cn,On,Dn,Pn,Ln,Fn,Bn,Mn,Un,Hn,jn,zn,Wn,Gn,Kn,Vn,$n,Xn,qn,Zn,Yn,Jn,Qn,ei={},ti={},ri={},ni={},ii={},oi={exports:{}},si={},ai={},ui={exports:{}},li=function(){if(Qn)return Jn;Qn=1;var e=ve(),t=function(){if($n)return Vn;$n=1;var e=be(),t=ve();return Vn=function(r,n){var i,o,s;return i=function(t){var r=e.copyOptions(t);return e.ensureSpacesExists(r),r}(n),o=t(r,i),s="compact"in i&&i.compact?"_parent":"parent",("addParent"in i&&i.addParent?JSON.stringify(o,function(e,t){return e===s?"_":t},i.spaces):JSON.stringify(o,null,i.spaces)).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}}(),r=xe(),n=function(){if(Yn)return Zn;Yn=1;var e=xe();return Zn=function(t,r){t instanceof Buffer&&(t=t.toString());var n=null;if("string"==typeof t)try{n=JSON.parse(t)}catch(e){throw new Error("The JSON structure is invalid")}else n=t;return e(n,r)}}();return Jn={xml2js:e,xml2json:t,js2xml:r,json2xml:n}}();const ci=e=>{switch(e.type){case void 0:case"element":const t=new pi(e.name,e.attributes),r=e.elements||[];for(const e of r){const r=ci(e);void 0!==r&&t.push(r)}return t;case"text":return e.text;default:return}};class hi extends Ke{}class pi extends We{static fromXmlString(e){const t=li.xml2js(e,{compact:!1});return ci(t)}constructor(e,t){super(e),t&&this.root.push(new hi(t))}push(e){this.root.push(e)}}class di extends We{constructor(e){super(""),this._attr=e}prepForXml(e){return{_attr:this._attr}}}const fi="";class mi extends We{constructor(e,t){super(e),t&&(this.root=t.root)}}const wi=e=>{if(isNaN(e))throw new Error(`Invalid value '${e}' specified. Must be an integer.`);return Math.floor(e)},gi=e=>{const t=wi(e);if(t<0)throw new Error(`Invalid value '${e}' specified. Must be a positive integer.`);return t},yi=(e,t)=>{const r=2*t;if(e.length!==r||isNaN(Number(`0x${e}`)))throw new Error(`Invalid hex value '${e}'. Expected ${r} digit hex value`);return e},bi=e=>yi(e,4),vi=e=>yi(e,2),xi=e=>yi(e,1),_i=e=>{const t=e.slice(-2),r=e.substring(0,e.length-2);return`${Number(r)}${t}`},Ei=e=>{const t=_i(e);if(parseFloat(t)<0)throw new Error(`Invalid value '${t}' specified. Expected a positive number.`);return t},Ti=e=>{if("auto"===e)return e;const t="#"===e.charAt(0)?e.substring(1):e;return yi(t,3)},Si=e=>"string"==typeof e?_i(e):wi(e),Ai=e=>"string"==typeof e?Ei(e):gi(e),ki=e=>"string"==typeof e?_i(e):wi(e),Ri=e=>"string"==typeof e?Ei(e):gi(e),Ii=e=>{const t=e.substring(0,e.length-1);return`${Number(t)}%`},Ni=e=>"number"==typeof e?wi(e):"%"===e.slice(-1)?Ii(e):_i(e),Ci=gi,Oi=gi,Di=e=>e.toISOString();class Pi extends We{constructor(e,t=!0){super(e),!0!==t&&this.root.push(new $e({val:t}))}}class Li extends We{constructor(e,t){super(e),this.root.push(new $e({val:Ai(t)}))}}class Fi extends We{}class Bi extends We{constructor(e,t){super(e),this.root.push(new $e({val:t}))}}const Mi=(e,t)=>new zi({name:e,attributes:{value:{key:"w:val",value:t}}});class Ui extends We{constructor(e,t){super(e),this.root.push(new $e({val:t}))}}class Hi extends We{constructor(e,t){super(e),this.root.push(new $e({val:t}))}}class ji extends We{constructor(e,t){super(e),this.root.push(t)}}class zi extends We{constructor({name:e,attributes:t,children:r}){super(e),t&&this.root.push(new Ve(t)),r&&this.root.push(...r)}}const Wi={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"},Gi=e=>
1new zi({name:"w:jc",attributes:{val:{key:"w:val",value:e}}}),Ki=(e,{color:t,size:r,space:n,style:i})=>new zi({name:e,attributes:{style:{key:"w:val",value:i},color:{key:"w:color",value:void 0===t?void 0:Ti(t)},size:{key:"w:sz",value:void 0===r?void 0:Ci(r)},space:{key:"w:space",value:void 0===n?void 0:Oi(n)}}}),Vi={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 $i extends Ge{constructor(e){super("w:pBdr"),e.top&&this.root.push(Ki("w:top",e.top)),e.bottom&&this.root.push(Ki("w:bottom",e.bottom)),e.left&&this.root.push(Ki("w:left",e.left)),e.right&&this.root.push(Ki("w:right",e.right)),e.between&&this.root.push(Ki("w:between",e.between))}}class Xi extends We{constructor(){super("w:pBdr");const e=Ki("w:bottom",{color:"auto",space:1,style:Vi.SINGLE,size:6});this.root.push(e)}}const qi=({start:e,end:t,left:r,right:n,hanging:i,firstLine:o})=>new zi({name:"w:ind",attributes:{start:{key:"w:start",value:void 0===e?void 0:Si(e)},end:{key:"w:end",value:void 0===t?void 0:Si(t)},left:{key:"w:left",value:void 0===r?void 0:Si(r)},right:{key:"w:right",value:void 0===n?void 0:Si(n)},hanging:{key:"w:hanging",value:void 0===i?void 0:Ri(i)},firstLine:{key:"w:firstLine",value:void 0===o?void 0:Ri(o)}}}),Zi=()=>new zi({name:"w:br"}),Yi=(e,t)=>new zi({name:"w:fldChar",attributes:{type:{key:"w:fldCharType",value:e},dirty:{key:"w:dirty",value:t}}}),Ji=e=>Yi("begin",e),Qi=e=>Yi("separate",e),eo=e=>Yi("end",e),to={CENTER:"center",INSIDE:"inside",LEFT:"left",OUTSIDE:"outside",RIGHT:"right"},ro={BOTTOM:"bottom",CENTER:"center",INSIDE:"inside",OUTSIDE:"outside",TOP:"top"},no={DECIMAL:"decimal",UPPER_ROMAN:"upperRoman",LOWER_ROMAN:"lowerRoman",UPPER_LETTER:"upperLetter",LOWER_LETTER:"lowerLetter",ORDINAL:"ordinal",CARDINAL_TEXT:"cardinalText",ORDINAL_TEXT:"ordinalText",HEX:"hex",CHICAGO:"chicago",IDEOGRAPH_DIGITAL:"ideographDigital",JAPANESE_COUNTING:"japaneseCounting",AIUEO:"aiueo",IROHA:"iroha",DECIMAL_FULL_WIDTH:"decimalFullWidth",DECIMAL_HALF_WIDTH:"decimalHalfWidth",JAPANESE_LEGAL:"japaneseLegal",JAPANESE_DIGITAL_TEN_THOUSAND:"japaneseDigitalTenThousand",DECIMAL_ENCLOSED_CIRCLE:"decimalEnclosedCircle",DECIMAL_FULL_WIDTH_2:"decimalFullWidth2",AIUEO_FULL_WIDTH:"aiueoFullWidth",IROHA_FULL_WIDTH:"irohaFullWidth",DECIMAL_ZERO:"decimalZero",BULLET:"bullet",GANADA:"ganada",CHOSUNG:"chosung",DECIMAL_ENCLOSED_FULL_STOP:"decimalEnclosedFullstop",DECIMAL_ENCLOSED_PAREN:"decimalEnclosedParen",DECIMAL_ENCLOSED_CIRCLE_CHINESE:"decimalEnclosedCircleChinese",IDEOGRAPH_ENCLOSED_CIRCLE:"ideographEnclosedCircle",IDEOGRAPH_TRADITIONAL:"ideographTraditional",IDEOGRAPH_ZODIAC:"ideographZodiac",IDEOGRAPH_ZODIAC_TRADITIONAL:"ideographZodiacTraditional",TAIWANESE_COUNTING:"taiwaneseCounting",IDEOGRAPH_LEGAL_TRADITIONAL:"ideographLegalTraditional",TAIWANESE_COUNTING_THOUSAND:"taiwaneseCountingThousand",TAIWANESE_DIGITAL:"taiwaneseDigital",CHINESE_COUNTING:"chineseCounting",CHINESE_LEGAL_SIMPLIFIED:"chineseLegalSimplified",CHINESE_COUNTING_TEN_THOUSAND:"chineseCountingThousand",KOREAN_DIGITAL:"koreanDigital",KOREAN_COUNTING:"koreanCounting",KOREAN_LEGAL:"koreanLegal",KOREAN_DIGITAL_2:"koreanDigital2",VIETNAMESE_COUNTING:"vietnameseCounting",RUSSIAN_LOWER:"russianLower",RUSSIAN_UPPER:"russianUpper",NONE:"none",NUMBER_IN_DASH:"numberInDash",HEBREW_1:"hebrew1",HEBREW_2:"hebrew2",ARABIC_ALPHA:"arabicAlpha",ARABIC_ABJAD:"arabicAbjad",HINDI_VOWELS:"hindiVowels",HINDI_CONSONANTS:"hindiConsonants",HINDI_NUMBERS:"hindiNumbers",HINDI_COUNTING:"hindiCounting",THAI_LETTERS:"thaiLetters",THAI_NUMBERS:"thaiNumbers",THAI_COUNTING:"thaiCounting",BAHT_TEXT:"bahtText",DOLLAR_TEXT:"dollarText"},io={DEFAULT:"default",PRESERVE:"preserve"};class oo extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{space:"xml:space"})}}class so extends We{constructor(){super("w:instrText"),this.root.push(new oo({space:io.PRESERVE})),this.root.push("PAGE")}}class ao extends We{constructor(){super("w:instrText"),this.root.push(new oo({space:io.PRESERVE})),this.root.push("NUMPAGES")}}class uo extends We{constructor(){super("w:instrText"),this.root.push(new oo({space:io.PRESERVE})),this.root.push("SECTIONPAGES")}}class lo extends We{constructor(){super("w:instrText"),this.root.push(new oo({space:io.PRESERVE})),this.root.push("SECTION")}}const co=({fill:e,color:t,type:r})=>new zi({name:"w:shd",attributes:{fill:{key:"w:fill",value:void 0===e?void 0:Ti(e)},color:{key:"w:color",value:void 0===t?void 0:Ti(t)},type:{key:"w:val",value:r}}}),ho={CLEAR:"clear",DIAGONAL_CROSS:"diagCross",DIAGONAL_STRIPE:"diagStr
1ipe",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 po extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}}class fo extends We{constructor(e){super("w:del"),this.root.push(new po({id:e.id,author:e.author,date:e.date}))}}class mo extends We{constructor(e){super("w:ins"),this.root.push(new po({id:e.id,author:e.author,date:e.date}))}}const wo={DOT:"dot"},go=(e=wo.DOT)=>new zi({name:"w:em",attributes:{val:{key:"w:val",value:e}}}),yo=()=>go(wo.DOT);class bo extends We{constructor(e){super("w:spacing"),this.root.push(new $e({val:Si(e)}))}}class vo extends We{constructor(e){super("w:color"),this.root.push(new $e({val:Ti(e)}))}}class xo extends We{constructor(e){super("w:highlight"),this.root.push(new $e({val:e}))}}class _o extends We{constructor(e){super("w:highlightCs"),this.root.push(new $e({val:e}))}}const Eo=(e,t)=>new zi("string"==typeof e?{name:"w:rFonts",attributes:{ascii:{key:"w:ascii",value:e},cs:{key:"w:cs",value:e},eastAsia:{key:"w:eastAsia",value:e},hAnsi:{key:"w:hAnsi",value:e},hint:{key:"w:hint",value:t}}}:{name:"w:rFonts",attributes:{ascii:{key:"w:ascii",value:e.ascii},cs:{key:"w:cs",value:e.cs},eastAsia:{key:"w:eastAsia",value:e.eastAsia},hAnsi:{key:"w:hAnsi",value:e.hAnsi},hint:{key:"w:hint",value:e.hint}}}),To=e=>new zi({name:"w:vertAlign",attributes:{val:{key:"w:val",value:e}}}),So={SINGLE:"single",WORDS:"words",DOUBLE:"double",THICK:"thick",DOTTED:"dotted",DOTTEDHEAVY:"dottedHeavy",DASH:"dash",DASHEDHEAVY:"dashedHeavy",DASHLONG:"dashLong",DASHLONGHEAVY:"dashLongHeavy",DOTDASH:"dotDash",DASHDOTHEAVY:"dashDotHeavy",DOTDOTDASH:"dotDotDash",DASHDOTDOTHEAVY:"dashDotDotHeavy",WAVE:"wave",WAVYHEAVY:"wavyHeavy",WAVYDOUBLE:"wavyDouble",NONE:"none"},Ao=(e=So.SINGLE,t)=>new zi({name:"w:u",attributes:{val:{key:"w:val",value:e},color:{key:"w:color",value:void 0===t?void 0:Ti(t)}}}),ko={BLINK_BACKGROUND:"blinkBackground",LIGHTS:"lights",ANTS_BLACK:"antsBlack",ANTS_RED:"antsRed",SHIMMER:"shimmer",SPARKLE:"sparkle",NONE:"none"},Ro={BLACK:"black",BLUE:"blue",CYAN:"cyan",DARK_BLUE:"darkBlue",DARK_CYAN:"darkCyan",DARK_GRAY:"darkGray",DARK_GREEN:"darkGreen",DARK_MAGENTA:"darkMagenta",DARK_RED:"darkRed",DARK_YELLOW:"darkYellow",GREEN:"green",LIGHT_GRAY:"lightGray",MAGENTA:"magenta",NONE:"none",RED:"red",WHITE:"white",YELLOW:"yellow"};class Io extends Ge{constructor(e){var t,r;if(super("w:rPr"),!e)return;e.style&&this.push(new Bi("w:rStyle",e.style)),e.font&&this.push("string"==typeof e.font?Eo(e.font):"name"in e.font?Eo(e.font.name,e.font.hint):Eo(e.font)),void 0!==e.bold&&this.push(new Pi("w:b",e.bold)),(void 0===e.boldComplexScript&&void 0!==e.bold||e.boldComplexScript)&&this.push(new Pi("w:bCs",null!=(t=e.boldComplexScript)?t:e.bold)),void 0!==e.italics&&this.push(new Pi("w:i",e.italics)),(void 0===e.italicsComplexScript&&void 0!==e.italics||e.italicsComplexScript)&&this.push(new Pi("w:iCs",null!=(r=e.italicsComplexScript)?r:e.italics)),void 0!==e.smallCaps?this.push(new Pi("w:smallCaps",e.smallCaps)):void 0!==e.allCaps&&this.push(new Pi("w:caps",e.allCaps)),void 0!==e.strike&&this.push(new Pi("w:strike",e.strike)),void 0!==e.doubleStrike&&this.push(new Pi("w:dstrike",e.doubleStrike)),void 0!==e.emboss&&this.push(new Pi("w:emboss",e.emboss)),void 0!==e.imprint&&this.push(new Pi("w:imprint",e.imprint)),void 0!==e.noProof&&this.push(new Pi("w:noProof",e.noProof)),void 0!==e.snapToGri
1d&&this.push(new Pi("w:snapToGrid",e.snapToGrid)),e.vanish&&this.push(new Pi("w:vanish",e.vanish)),e.color&&this.push(new vo(e.color)),e.characterSpacing&&this.push(new bo(e.characterSpacing)),void 0!==e.scale&&this.push(new Ui("w:w",e.scale)),e.kern&&this.push(new Li("w:kern",e.kern)),e.position&&this.push(new Bi("w:position",e.position)),void 0!==e.size&&this.push(new Li("w:sz",e.size));const n=void 0===e.sizeComplexScript||!0===e.sizeComplexScript?e.size:e.sizeComplexScript;n&&this.push(new Li("w:szCs",n)),e.highlight&&this.push(new xo(e.highlight));const i=void 0===e.highlightComplexScript||!0===e.highlightComplexScript?e.highlight:e.highlightComplexScript;i&&this.push(new _o(i)),e.underline&&this.push(Ao(e.underline.type,e.underline.color)),e.effect&&this.push(new Bi("w:effect",e.effect)),e.border&&this.push(Ki("w:bdr",e.border)),e.shading&&this.push(co(e.shading)),e.subScript&&this.push(To("subscript")),e.superScript&&this.push(To("superscript")),void 0!==e.rightToLeft&&this.push(new Pi("w:rtl",e.rightToLeft)),e.emphasisMark&&this.push(go(e.emphasisMark.type)),e.language&&this.push((e=>new zi({name:"w:lang",attributes:{value:{key:"w:val",value:e.value},eastAsia:{key:"w:eastAsia",value:e.eastAsia},bidirectional:{key:"w:bidi",value:e.bidirectional}}}))(e.language)),e.specVanish&&this.push(new Pi("w:specVanish",e.vanish)),e.math&&this.push(new Pi("w:oMath",e.math)),e.revision&&this.push(new Co(e.revision))}push(e){this.root.push(e)}}class No extends Io{constructor(e){super(e),(null==e?void 0:e.insertion)&&this.push(new mo(e.insertion)),(null==e?void 0:e.deletion)&&this.push(new fo(e.deletion))}}class Co extends We{constructor(e){super("w:rPrChange"),this.root.push(new po({id:e.id,author:e.author,date:e.date})),this.addChildElement(new Io(e))}}class Oo extends We{constructor(e){var t;super("w:t"),"string"==typeof e?(this.root.push(new oo({space:io.PRESERVE})),this.root.push(e)):(this.root.push(new oo({space:null!=(t=e.space)?t:io.DEFAULT})),this.root.push(e.text))}}const Do={CURRENT:"CURRENT",TOTAL_PAGES:"TOTAL_PAGES",TOTAL_PAGES_IN_SECTION:"TOTAL_PAGES_IN_SECTION",CURRENT_SECTION:"SECTION"};class Po extends We{constructor(e){if(super("w:r"),Ue(this,"properties"),this.properties=new Io(e),this.root.push(this.properties),e.break)for(let t=0;t<e.break;t++)this.root.push(Zi());if(e.children)for(const t of e.children)if("string"!=typeof t)this.root.push(t);else switch(t){case Do.CURRENT:this.root.push(Ji()),this.root.push(new so),this.root.push(Qi()),this.root.push(eo());break;case Do.TOTAL_PAGES:this.root.push(Ji()),this.root.push(new ao),this.root.push(Qi()),this.root.push(eo());break;case Do.TOTAL_PAGES_IN_SECTION:this.root.push(Ji()),this.root.push(new uo),this.root.push(Qi()),this.root.push(eo());break;case Do.CURRENT_SECTION:this.root.push(Ji()),this.root.push(new lo),this.root.push(Qi()),this.root.push(eo());break;default:this.root.push(new Oo(t))}else void 0!==e.text&&this.root.push(new Oo(e.text))}}class Lo extends Po{constructor(e){super("string"==typeof e?{text:e}:e)}}class Fo extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{char:"w:char",symbolfont:"w:font"})}}let Bo=class extends We{constructor(e="",t="Wingdings"){super("w:sym"),this.root.push(new Fo({char:e,symbolfont:t}))}};class Mo extends Po{constructor(e){if("string"==typeof e)return super({}),this.root.push(new Bo(e)),this;super(e),this.root.push(new Bo(e.char,e.symbolfont))}}var Uo,Ho,jo,zo,Wo,Go,Ko,Vo,$o,Xo,qo,Zo,Yo,Jo,Qo,es,ts,rs,ns,is,os,ss={},as={},us={},ls={},cs={},hs={};const ps=n((is||(is=1,(os=ss).utils=Ee(),os.common=Te(),os.sha=(es||(es=1,ls.sha1=function(){function e(){if(!(this instanceof e))return new e;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}if(Ko)return Go;Ko=1;var t=Ee(),r=Te(),n=Se(),i=t.rotl32,o=t.sum32,s=t.sum32_5,a=n.ft_1,u=r.BlockHash,l=[1518500249,1859775393,2400959708,3395469782];return t.inherits(e,u),Go=e,e.blockSize=512,e.outSize=160,e.hmacStrength=80,e.padLength=64,e.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=i(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var u=this.h[0],c=this.h[1],h=this.h[2],p=this.h[3],d=this.h[4];for(n=0;n<r.length;n++){var f=~~(n/20),m=s(i(u,5),a(f,c,h,p),d,r[n],l[f]);
1d=p,p=h,h=i(c,30),c=u,u=m}this.h[0]=o(this.h[0],u),this.h[1]=o(this.h[1],c),this.h[2]=o(this.h[2],h),this.h[3]=o(this.h[3],p),this.h[4]=o(this.h[4],d)},e.prototype._digest=function(e){return"hex"===e?t.toHex32(this.h,"big"):t.split32(this.h,"big")},Go}(),ls.sha224=function(){function e(){if(!(this instanceof e))return new e;r.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}if(qo)return Xo;qo=1;var t=Ee(),r=Ae();return t.inherits(e,r),Xo=e,e.blockSize=512,e.outSize=224,e.hmacStrength=192,e.padLength=64,e.prototype._digest=function(e){return"hex"===e?t.toHex32(this.h.slice(0,7),"big"):t.split32(this.h.slice(0,7),"big")},Xo}(),ls.sha256=Ae(),ls.sha384=function(){function e(){if(!(this instanceof e))return new e;r.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}if(Qo)return Jo;Qo=1;var t=Ee(),r=ke();return t.inherits(e,r),Jo=e,e.blockSize=1024,e.outSize=384,e.hmacStrength=192,e.padLength=128,e.prototype._digest=function(e){return"hex"===e?t.toHex32(this.h.slice(0,12),"big"):t.split32(this.h.slice(0,12),"big")},Jo}(),ls.sha512=ke()),ls),os.ripemd=function(){function e(){if(!(this instanceof e))return new e;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function t(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function r(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function n(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}if(ts)return hs;ts=1;var i=Ee(),o=Te(),s=i.rotl32,a=i.sum32,u=i.sum32_3,l=i.sum32_4,c=o.BlockHash;i.inherits(e,c),hs.ripemd160=e,e.blockSize=512,e.outSize=160,e.hmacStrength=192,e.padLength=64,e.prototype._update=function(e,i){for(var o=this.h[0],c=this.h[1],m=this.h[2],w=this.h[3],g=this.h[4],y=o,b=c,v=m,x=w,_=g,E=0;E<80;E++){var T=a(s(l(o,t(E,c,m,w),e[h[E]+i],r(E)),d[E]),g);o=g,g=w,w=s(m,10),m=c,c=T,T=a(s(l(y,t(79-E,b,v,x),e[p[E]+i],n(E)),f[E]),_),y=_,_=x,x=s(v,10),v=b,b=T}T=u(this.h[1],m,x),this.h[1]=u(this.h[2],w,_),this.h[2]=u(this.h[3],g,y),this.h[3]=u(this.h[4],o,b),this.h[4]=u(this.h[0],c,v),this.h[0]=T},e.prototype._digest=function(e){return"hex"===e?i.toHex32(this.h,"little"):i.split32(this.h,"little")};var h=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],p=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],f=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11];return hs}(),os.hmac=function(){function e(r,n,i){if(!(this instanceof e))return new e(r,n,i);this.Hash=r,this.blockSize=r.blockSize/8,this.outSize=r.outSize/8,this.inner=null,this.outer=null,this._init(t.toArray(n,i))}if(ns)return rs;ns=1;var t=Ee(),r=_e();return rs=e,e.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),r(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},e.prototype.update=function(e,t){return this.inner.update(e,t),this},e.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)},rs}(),os.sha1=os.sha.sha1,os.sha256=os.sha.sha256,os.sha224=os.sha.sha224,os.sha384=os.sha.sha384,os.sha512=os.sha.sha512,os.ripemd160=os.ripemd.ripemd160),ss)),ds=e=>Math.floor(e/25.4*72*20),fs=e=>Math.floor(72*e*20),ms=(e=0)=>{let t=e;return()=>++t},ws=()=>ms(),gs=()=>ms(1),ys=()=>ms(),bs=()=>ms(),vs=()=>((e=21)=>{let t="",r=0|e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t})().toLowerCase(),xs=e=>ps.sha1().update(e instanceof ArrayBuffer?new Uint8Array(e):e).digest("hex"),_s=e=>((e,t=21)=>(r=t)=>{let n="",i=0|r;for(;i--;)n+=e[Math.random()*e.length|0];return n})("1234567890abcdef",e)(),Es=()=>`${_s(8)}-${_s(4)}-${_s(4)}-${_s(4)}-${_s(12)}`,Ts=e=>new Uint8Array((new TextEncoder).encode(e)),Ss={CHARACTER:"character",COLUMN:"column",INSI
1DE_MARGIN:"insideMargin",LEFT_MARGIN:"leftMargin",MARGIN:"margin",OUTSIDE_MARGIN:"outsideMargin",PAGE:"page",RIGHT_MARGIN:"rightMargin"},As={BOTTOM_MARGIN:"bottomMargin",INSIDE_MARGIN:"insideMargin",LINE:"line",MARGIN:"margin",OUTSIDE_MARGIN:"outsideMargin",PAGE:"page",PARAGRAPH:"paragraph",TOP_MARGIN:"topMargin"},ks=()=>new zi({name:"wp:simplePos",attributes:{x:{key:"x",value:0},y:{key:"y",value:0}}}),Rs=e=>new zi({name:"wp:align",children:[e]}),Is=e=>new zi({name:"wp:posOffset",children:[e.toString()]}),Ns=({relative:e,align:t,offset:r})=>new zi({name:"wp:positionH",attributes:{relativeFrom:{key:"relativeFrom",value:null!=e?e:Ss.PAGE}},children:[(()=>{if(t)return Rs(t);if(void 0!==r)return Is(r);throw new Error("There is no configuration provided for floating position (Align or offset)")})()]}),Cs=({relative:e,align:t,offset:r})=>new zi({name:"wp:positionV",attributes:{relativeFrom:{key:"relativeFrom",value:null!=e?e:As.PAGE}},children:[(()=>{if(t)return Rs(t);if(void 0!==r)return Is(r);throw new Error("There is no configuration provided for floating position (Align or offset)")})()]});var Os=(e=>(e.CENTER="ctr",e.TOP="t",e.BOTTOM="b",e))(Os||{});const Ds=(e={})=>{var t,r,n,i;return new zi({name:"wps:bodyPr",attributes:{lIns:{key:"lIns",value:null==(t=e.margins)?void 0:t.left},rIns:{key:"rIns",value:null==(r=e.margins)?void 0:r.right},tIns:{key:"tIns",value:null==(n=e.margins)?void 0:n.top},bIns:{key:"bIns",value:null==(i=e.margins)?void 0:i.bottom},anchor:{key:"anchor",value:e.verticalAnchor}},children:[...e.noAutoFit?[new Pi("a:noAutofit",e.noAutoFit)]:[]]})},Ps=(e={txBox:"1"})=>new zi({name:"wps:cNvSpPr",attributes:{txBox:{key:"txBox",value:e.txBox}}}),Ls=e=>new zi({name:"w:txbxContent",children:[...e]});class Fs extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{cx:"cx",cy:"cy"})}}class Bs extends We{constructor(e,t){super("a:ext"),Ue(this,"attributes"),this.attributes=new Fs({cx:e,cy:t}),this.root.push(this.attributes)}}class Ms extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{x:"x",y:"y"})}}class Us extends We{constructor(e,t){super("a:off"),this.root.push(new Ms({x:null!=e?e:0,y:null!=t?t:0}))}}class Hs extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{flipVertical:"flipV",flipHorizontal:"flipH",rotation:"rot"})}}class js extends We{constructor(e){var t,r,n,i,o,s;super("a:xfrm"),Ue(this,"extents"),Ue(this,"offset"),this.root.push(new Hs({flipVertical:null==(t=e.flip)?void 0:t.vertical,flipHorizontal:null==(r=e.flip)?void 0:r.horizontal,rotation:e.rotation})),this.offset=new Us(null==(i=null==(n=e.offset)?void 0:n.emus)?void 0:i.x,null==(s=null==(o=e.offset)?void 0:o.emus)?void 0:s.y),this.extents=new Bs(e.emus.x,e.emus.y),this.root.push(this.offset),this.root.push(this.extents)}}const zs=()=>new zi({name:"a:noFill"}),Ws=e=>new zi({name:"a:srgbClr",attributes:{value:{key:"val",value:e.value}}}),Gs=e=>new zi({name:"a:schemeClr",attributes:{value:{key:"val",value:e.value}}}),Ks=e=>new zi({name:"a:solidFill",children:["rgb"===e.type?Ws(e):Gs(e)]});class Vs extends We{constructor(){super("a:avLst")}}class $s extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{prst:"prst"})}}class Xs extends We{constructor(){super("a:prstGeom"),this.root.push(new $s({prst:"rect"})),this.root.push(new Vs)}}class qs extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{bwMode:"bwMode"})}}class Zs extends We{constructor({element:e,outline:t,solidFill:r,transform:n}){var i;super(`${e}:spPr`),Ue(this,"form"),this.root.push(new qs({bwMode:"auto"})),this.form=new js(n),this.root.push(this.form),this.root.push(new Xs),t&&(this.root.push(zs()),this.root.push(new zi({name:"a:ln",attributes:{width:{key:"w",value:(i=t).width},cap:{key:"cap",value:i.cap},compoundLine:{key:"cmpd",value:i.compoundLine},align:{key:"algn",value:i.align}},children:["noFill"===i.type?zs():Ks("rgb"===i.solidFillType?{type:"rgb",value:i.value}:{type:"scheme",value:i.value})]}))),r&&this.root.push(Ks(r))}}const Ys=e=>{return new zi({name:"wps:wsp",children:[Ps(e.nonVisualProperties),new Zs({element:"wps",transform:e.transformation,outline:e.outline,solidFill:e.solidFill}),(t=e.children,new zi({name:"wps:txbx",children:[Ls(t)]})),Ds(e.bodyProperties)]});var t};class Js extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{uri:"uri"})}}const Qs=e=>new zi({name:"asvg:svgBlip",attributes:{asvg:{key:"xmlns:asvg",value:"http://schemas.microsoft.com/office/drawing/2016/SVG/main"},embed:{key:"r:embed",value:`rId{${e.fileName}}`}}}),ea=e=>new zi({name:"a:ext",attributes:{uri:{key:"uri",value:"{96DAC541-7B7A-43D3-8B
179-37D633B846F1}"}},children:[Qs(e)]}),ta=e=>new zi({name:"a:extLst",children:[ea(e)]});class ra extends We{constructor(){super("a:srcRect")}}class na extends We{constructor(){super("a:fillRect")}}class ia extends We{constructor(){super("a:stretch"),this.root.push(new na)}}class oa extends We{constructor(e){super("pic:blipFill"),this.root.push((e=>new zi({name:"a:blip",attributes:{embed:{key:"r:embed",value:`rId{${"svg"===e.type?e.fallback.fileName:e.fileName}}`},cstate:{key:"cstate",value:"none"}},children:"svg"===e.type?[ta(e)]:[]}))(e)),this.root.push(new ra),this.root.push(new ia)}}class sa extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{noChangeAspect:"noChangeAspect",noChangeArrowheads:"noChangeArrowheads"})}}class aa extends We{constructor(){super("a:picLocks"),this.root.push(new sa({noChangeAspect:1,noChangeArrowheads:1}))}}class ua extends We{constructor(){super("pic:cNvPicPr"),this.root.push(new aa)}}const la=(e,t)=>new zi({name:"a:hlinkClick",attributes:Be(Fe({},t?{xmlns:{key:"xmlns:a",value:"http://schemas.openxmlformats.org/drawingml/2006/main"}}:{}),{id:{key:"r:id",value:`rId${e}`}})});class ca extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"id",name:"name",descr:"descr"})}}class ha extends We{constructor(){super("pic:cNvPr"),this.root.push(new ca({id:0,name:"",descr:""}))}prepForXml(e){for(let t=e.stack.length-1;t>=0;t--){const r=e.stack[t];if(r instanceof zu){this.root.push(la(r.linkId,!1));break}}return super.prepForXml(e)}}class pa extends We{constructor(){super("pic:nvPicPr"),this.root.push(new ha),this.root.push(new ua)}}class da extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{xmlns:"xmlns:pic"})}}class fa extends We{constructor({mediaData:e,transform:t,outline:r}){super("pic:pic"),this.root.push(new da({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/picture"})),this.root.push(new pa),this.root.push(new oa(e)),this.root.push(new Zs({element:"pic",transform:t,outline:r}))}}class ma extends We{constructor({mediaData:e,transform:t,outline:r,solidFill:n}){if(super("a:graphicData"),"wps"===e.type){this.root.push(new Js({uri:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"}));const i=Ys(Be(Fe({},e.data),{transformation:t,outline:r,solidFill:n}));this.root.push(i)}else if("wpg"===e.type){this.root.push(new Js({uri:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"}));const r=(e=>{return new zi({name:"wpg:wgp",children:[new zi({name:"wpg:cNvGrpSpPr"}),(t=e.transformation,new zi({name:"wpg:grpSpPr",children:[new js(t)]})),...e.children]});var t})({children:e.children.map(e=>"wps"===e.type?Ys(Be(Fe({},e.data),{transformation:e.transformation,outline:e.outline,solidFill:e.solidFill})):new fa({mediaData:e,transform:e.transformation,outline:e.outline})),transformation:t});this.root.push(r)}else{this.root.push(new Js({uri:"http://schemas.openxmlformats.org/drawingml/2006/picture"}));const n=new fa({mediaData:e,transform:t,outline:r});this.root.push(n)}}}class wa extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{a:"xmlns:a"})}}class ga extends We{constructor({mediaData:e,transform:t,outline:r,solidFill:n}){super("a:graphic"),Ue(this,"data"),this.root.push(new wa({a:"http://schemas.openxmlformats.org/drawingml/2006/main"})),this.data=new ma({mediaData:e,transform:t,outline:r,solidFill:n}),this.root.push(this.data)}}const ya={NONE:0,SQUARE:1,TIGHT:2,TOP_AND_BOTTOM:3},ba={BOTH_SIDES:"bothSides",LEFT:"left",RIGHT:"right",LARGEST:"largest"},va=()=>new zi({name:"wp:wrapNone"}),xa=(e,t={top:0,bottom:0,left:0,right:0})=>new zi({name:"wp:wrapSquare",attributes:{wrapText:{key:"wrapText",value:e.side||ba.BOTH_SIDES},distT:{key:"distT",value:t.top},distB:{key:"distB",value:t.bottom},distL:{key:"distL",value:t.left},distR:{key:"distR",value:t.right}}}),_a=(e={top:0,bottom:0})=>new zi({name:"wp:wrapTight",attributes:{distT:{key:"distT",value:e.top},distB:{key:"distB",value:e.bottom}}}),Ea=(e={top:0,bottom:0})=>new zi({name:"wp:wrapTopAndBottom",attributes:{distT:{key:"distT",value:e.top},distB:{key:"distB",value:e.bottom}}});class Ta extends We{constructor({name:e,description:t,title:r,id:n}={name:"",description:"",title:""}){super("wp:docPr"),Ue(this,"docPropertiesUniqueNumericId",ys());const i={id:{key:"id",value:null!=n?n:this.docPropertiesUniqueNumericId()},name:{key:"name",value:e}};null!=t&&(i.description={key:"descr",value:t}),null!=r&&(i.title={key:"title",value:r}),this.root.push(new Ve(i))}
1prepForXml(e){for(let t=e.stack.length-1;t>=0;t--){const r=e.stack[t];if(r instanceof zu){this.root.push(la(r.linkId,!0));break}}return super.prepForXml(e)}}const Sa=({top:e,right:t,bottom:r,left:n})=>new zi({name:"wp:effectExtent",attributes:{top:{key:"t",value:e},right:{key:"r",value:t},bottom:{key:"b",value:r},left:{key:"l",value:n}}}),Aa=({x:e,y:t})=>new zi({name:"wp:extent",attributes:{x:{key:"cx",value:e},y:{key:"cy",value:t}}});class ka extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{xmlns:"xmlns:a",noChangeAspect:"noChangeAspect"})}}class Ra extends We{constructor(){super("a:graphicFrameLocks"),this.root.push(new ka({xmlns:"http://schemas.openxmlformats.org/drawingml/2006/main",noChangeAspect:1}))}}const Ia=()=>new zi({name:"wp:cNvGraphicFramePr",children:[new Ra]});class Na extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{distT:"distT",distB:"distB",distL:"distL",distR:"distR",allowOverlap:"allowOverlap",behindDoc:"behindDoc",layoutInCell:"layoutInCell",locked:"locked",relativeHeight:"relativeHeight",simplePos:"simplePos"})}}class Ca extends We{constructor({mediaData:e,transform:t,drawingOptions:r}){super("wp:anchor");const n=Fe({allowOverlap:!0,behindDocument:!1,lockAnchor:!1,layoutInCell:!0,verticalPosition:{},horizontalPosition:{}},r.floating);if(this.root.push(new Na({distT:n.margins&&n.margins.top||0,distB:n.margins&&n.margins.bottom||0,distL:n.margins&&n.margins.left||0,distR:n.margins&&n.margins.right||0,simplePos:"0",allowOverlap:!0===n.allowOverlap?"1":"0",behindDoc:!0===n.behindDocument?"1":"0",locked:!0===n.lockAnchor?"1":"0",layoutInCell:!0===n.layoutInCell?"1":"0",relativeHeight:n.zIndex?n.zIndex:t.emus.y})),this.root.push(ks()),this.root.push(Ns(n.horizontalPosition)),this.root.push(Cs(n.verticalPosition)),this.root.push(Aa({x:t.emus.x,y:t.emus.y})),this.root.push(Sa({top:0,right:0,bottom:0,left:0})),void 0!==r.floating&&void 0!==r.floating.wrap)switch(r.floating.wrap.type){case ya.SQUARE:this.root.push(xa(r.floating.wrap,r.floating.margins));break;case ya.TIGHT:this.root.push(_a(r.floating.margins));break;case ya.TOP_AND_BOTTOM:this.root.push(Ea(r.floating.margins));break;default:this.root.push(va())}else this.root.push(va());this.root.push(new Ta(r.docProperties)),this.root.push(Ia()),this.root.push(new ga({mediaData:e,transform:t,outline:r.outline,solidFill:r.solidFill}))}}class Oa extends We{constructor(e,t={}){super("w:drawing"),this.root.push(t.floating?new Ca({mediaData:e,transform:e.transformation,drawingOptions:t}):(({mediaData:e,transform:t,docProperties:r,outline:n,solidFill:i})=>{var o,s,a,u;return new zi({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:[Aa({x:t.emus.x,y:t.emus.y}),Sa(n?{top:2*(null!=(o=n.width)?o:9525),right:2*(null!=(s=n.width)?s:9525),bottom:2*(null!=(a=n.width)?a:9525),left:2*(null!=(u=n.width)?u:9525)}:{top:0,right:0,bottom:0,left:0}),new Ta(r),Ia(),new ga({mediaData:e,transform:t,outline:n,solidFill:i})]})})({mediaData:e,transform:e.transformation,docProperties:t.docProperties,outline:t.outline,solidFill:t.solidFill}))}}const Da=e=>"string"==typeof e?(e=>{const t=e.indexOf(";base64,");return new Uint8Array(atob(e.substring(-1===t?0:t+8)).split("").map(e=>e.charCodeAt(0)))})(e):e,Pa=(e,t)=>({data:Da(e.data),fileName:t,transformation:{pixels:{x:Math.round(e.transformation.width),y:Math.round(e.transformation.height)},emus:{x:Math.round(9525*e.transformation.width),y:Math.round(9525*e.transformation.height)},flip:e.transformation.flip,rotation:e.transformation.rotation?6e4*e.transformation.rotation:void 0}});class La extends Po{constructor(e){super({}),Ue(this,"imageData");const t=`${xs(e.data)}.${e.type}`;this.imageData="svg"===e.type?Be(Fe({type:e.type},Pa(e,t)),{fallback:Fe({type:e.fallback.type},Pa(Be(Fe({},e.fallback),{transformation:e.transformation}),`${xs(e.fallback.data)}.${e.fallback.type}`))}):Fe({type:e.type},Pa(e,t));const r=new Oa(this.imageData,{floating:e.floating,docProperties:e.altText,outline:e.outline});this.root.push(r)}prepForXml(e){return e.file.Media.addImage(this.imageData.fileName,this.imageData),"svg"===this.imageData.type&&e.file.Media.addImage(this.imageData.fallback.fileName,this.imageData.fallback),super.prepForXml(e)}}const Fa=e=>{var t,r,n,i,o,s,a,u;return{offset:{pixels:{x:Math.round(null!=(r=null==(t=e.offset)?void 0:t.left)?r:0),y:Math.round(null!=(i=null==(n=e.offset)?void 0:n.top)?i:0)},emus:{x:Math.round(9525*(null!=(s=null==(o=e.offset)?void 0:o.left)?s:0)),y:Math.round(9525*(null!=(u=null==(a=e.offset)?void 0:a.top)?u:0))}},pixels:{x:Math.round(e.width),y:Math.round(e.height)},emus:{x:Math.round(9525*e.width),y:Math.round(9525*e.height)},flip:e.flip,rotation:e.rotation?6e4*e.rotation:void 0}};class Ba extends Po{constructor(e){super({}),Ue(this,"wpsShapeData"),this.wpsShapeData={type:e.type,transformation:Fa(e.transformation),data:Fe({},e)};const t=new Oa(this.wpsShapeData,{floating:e.floating,docProperties:e.altText,outline:e.outline,solidFill:e.solidFill});this.root.push(t)}}class Ma extends Po{constructor(e){super({}),Ue(this,"wpgGroupData"),Ue(this,"mediaDatas"),this.wpgGroupData={type:e.type,transformation:Fa(e.transformation),children:e.children};const t=new Oa(this.wpgGroupData,{floating:e.floating,docProperties:e.altText});this.mediaDatas=e.children.filter(e=>"wps"!==e.type).map(e=>e),this.root.push(t)}prepForXml(e){return this.mediaDatas.forEach(t=>{e.file.Media.addImage(t.fileName,t),"svg"===t.type&&e.file.Media.addImage(t.fallback.fileName,t.fallback)}),super.prepForXml(e)}}class Ua extends We{constructor(e){super("w:instrText"),this.root.push(new oo({space:io.PRESERVE})),this.root.push(`SEQ ${e}`)}}class Ha extends Po{constructor(e){super({}),this.root.push(Ji(!0)),this.root.push(new Ua(e)),this.root.push(Qi()),this.root.push(eo())}}class ja extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{instr:"w:instr"})}}class za extends We{constructor(e,t){super("w:fldSimple"),this.root.push(new ja({instr:e})),void 0!==t&&this.root.push(new Lo(t))}}class Wa extends za{constructor(e){super(` MERGEFIELD ${e} `,`«${e}»`)}}class Ga extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{xmlns:"xmlns"})}}
1const Ka="External";class Va extends We{constructor(){super("Relationships"),this.root.push(new Ga({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}addRelationship(e,t,r,n){this.root.push(((e,t,r,n)=>new zi({name:"Relationship",attributes:{id:{key:"Id",value:e},type:{key:"Type",value:t},target:{key:"Target",value:r},targetMode:{key:"TargetMode",value:n}}}))(`rId${e}`,t,r,n))}get RelationshipCount(){return this.root.length-1}}class $a extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}}class Xa extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"w:id"})}}class qa extends Ke{constructor(){super(...arguments),Ue(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 Za extends We{constructor(e){super("w:commentRangeStart"),this.root.push(new Xa({id:e}))}}class Ya extends We{constructor(e){super("w:commentRangeEnd"),this.root.push(new Xa({id:e}))}}class Ja extends We{constructor(e){super("w:commentReference"),this.root.push(new Xa({id:e}))}}class Qa extends We{constructor({id:e,initials:t,author:r,date:n=new Date,children:i}){super("w:comment"),this.root.push(new $a({id:e,initials:t,author:r,date:n.toISOString()}));for(const e of i)this.root.push(e)}}class eu extends We{constructor({children:e}){super("w:comments"),Ue(this,"relationships"),this.root.push(new qa({"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 t of e)this.root.push(new Qa(t));this.relationships=new Va}get Relationships(){return this.relationships}}class tu extends Fi{constructor(){super("w:noBreakHyphen")}}class ru extends Fi{constructor(){super("w:softHyphen")}}class nu extends Fi{constructor(){super("w:dayShort")}}class iu extends Fi{constructor(){super("w:monthShort")}}class ou extends Fi{constructor(){super("w:yearShort")}}class su extends Fi{constructor(){super("w:dayLong")}}class au extends Fi{constructor(){super("w:monthLong")}}class uu extends Fi{constructor(){super("w:yearLong")}}class lu extends Fi{constructor(){super("w:annotationRef")}}class cu extends Fi{constructor(){super("w:footnoteRef")}}class hu extends Fi{constructor(){super("w:endnoteRef")}}class pu extends Fi{constructor(){super("w:separator")}}class du extends Fi{constructor(){super("w:continuationSeparator")}}class fu extends Fi{constructor(){super("w:pgNum")}}class mu extends Fi{constructor(){super("w:cr")}}class wu extends Fi{constructor(){super("w:tab")}}class gu extends Fi{constructor(){super("w:lastRenderedPageBreak")}}const yu={LEFT:"left",CENTER:"center",RIGHT:"right"},bu={MARGIN:"margin",INDENT:"indent"},vu={NONE:"none",DOT:"dot",HYPHEN:"hyphen",UNDERSCORE:"underscore",MIDDLE_DOT:"middleDot"};class xu extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{alignment:"w:alignment",relativeTo:"w:relativeTo",leader:"w:leader"})}}class _u extends We{constructor(e){super("w:ptab"),this.root.push(new xu({alignment:e.alignment,relativeTo:e.relativeTo,leader:e.leader}))}}class Eu extends We{constructor(e){super("w:br"),this.root.push(new $e({type:e}))}}class Tu extends Po{constructor(){super({}),this.root.push(new Eu("page"))}}class Su extends Po{constructor(){super({}),this.root.push(new Eu("column"))}}class Au extends We{constructor(){super("w:pageBreakBefore")}}
1const ku={AT_LEAST:"atLeast",EXACTLY:"exactly",EXACT:"exact",AUTO:"auto"},Ru=({after:e,before:t,line:r,lineRule:n,beforeAutoSpacing:i,afterAutoSpacing:o})=>new zi({name:"w:spacing",attributes:{after:{key:"w:after",value:e},before:{key:"w:before",value:t},line:{key:"w:line",value:r},lineRule:{key:"w:lineRule",value:n},beforeAutoSpacing:{key:"w:beforeAutospacing",value:i},afterAutoSpacing:{key:"w:afterAutospacing",value:o}}}),Iu={HEADING_1:"Heading1",HEADING_2:"Heading2",HEADING_3:"Heading3",HEADING_4:"Heading4",HEADING_5:"Heading5",HEADING_6:"Heading6",TITLE:"Title"},Nu=e=>new zi({name:"w:pStyle",attributes:{val:{key:"w:val",value:e}}}),Cu={LEFT:"left",RIGHT:"right",CENTER:"center",BAR:"bar",CLEAR:"clear",DECIMAL:"decimal",END:"end",NUM:"num",START:"start"},Ou={DOT:"dot",HYPHEN:"hyphen",MIDDLE_DOT:"middleDot",NONE:"none",UNDERSCORE:"underscore"},Du={MAX:9026},Pu=({type:e,position:t,leader:r})=>new zi({name:"w:tab",attributes:{val:{key:"w:val",value:e},pos:{key:"w:pos",value:t},leader:{key:"w:leader",value:r}}}),Lu=e=>new zi({name:"w:tabs",children:e.map(e=>Pu(e))});class Fu extends We{constructor(e,t){super("w:numPr"),this.root.push(new Bu(t)),this.root.push(new Mu(e))}}class Bu extends We{constructor(e){if(super("w:ilvl"),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 $e({val:e}))}}class Mu extends We{constructor(e){super("w:numId"),this.root.push(new $e({val:"string"==typeof e?`{${e}}`:e}))}}class Uu extends We{constructor(){super(...arguments),Ue(this,"fileChild",Symbol())}}class Hu extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}}const ju={INTERNAL:"INTERNAL",EXTERNAL:"EXTERNAL"};class zu extends We{constructor(e,t,r){super("w:hyperlink"),Ue(this,"linkId"),this.linkId=t;const n=new Hu({history:1,anchor:r||void 0,id:r?void 0:`rId${this.linkId}`});this.root.push(n),e.forEach(e=>{this.root.push(e)})}}class Wu extends zu{constructor(e){super(e.children,vs(),e.anchor)}}class Gu extends We{constructor(e){super("w:externalHyperlink"),this.options=e}}class Ku extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"w:id",name:"w:name"})}}class Vu extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"w:id"})}}class $u{constructor(e){Ue(this,"bookmarkUniqueNumericId",bs()),Ue(this,"start"),Ue(this,"children"),Ue(this,"end");const t=this.bookmarkUniqueNumericId();this.start=new Xu(e.id,t),this.children=e.children,this.end=new qu(t)}}class Xu extends We{constructor(e,t){super("w:bookmarkStart");const r=new Ku({name:e,id:t});this.root.push(r)}}class qu extends We{constructor(e){super("w:bookmarkEnd");const t=new Vu({id:e});this.root.push(t)}}var Zu=(e=>(e.NONE="none",e.RELATIVE="relative",e.NO_CONTEXT="no_context",e.FULL_CONTEXT="full_context",e))(Zu||{});const Yu={relative:"\\r",no_context:"\\n",full_context:"\\w",none:void 0};class Ju extends za{constructor(e,t,r={}){const{hyperlink:n=!0,referenceFormat:i="full_context"}=r;super(`REF ${e} ${[...n?["\\h"]:[],...[Yu[i]].filter(e=>!!e)].join(" ")}`,t)}}const Qu=e=>new zi({name:"w:outlineLvl",attributes:{val:{key:"w:val",value:e}}});class el extends We{constructor(e,t={}){super("w:instrText"),this.root.push(new oo({space:io.PRESERVE}));let r=`PAGEREF ${e}`;t.hyperlink&&(r=`${r} \\h`),t.useRelativePosition&&(r=`${r} \\p`),this.root.push(r)}}class tl extends Po{constructor(e,t={}){super({children:[Ji(!0),new el(e,t),eo()]})}}const rl={ANSI:"00",DEFAULT:"01",SYMBOL:"02",MAC:"4D",JIS:"80",HANGUL:"81",JOHAB:"82",GB_2312:"86",CHINESEBIG5:"88",GREEK:"A1",TURKISH:"A2",VIETNAMESE:"A3",HEBREW:"B1",ARABIC:"B2",BALTIC:"BA",RUSSIAN:"CC",THAI:"DE",EASTEUROPE:"EE",OEM:"FF"},nl=({id:e,fontKey:t,subsetted:r},n)=>new zi({name:n,attributes:Fe({id:{key:"r:id",value:e}},t?{fontKey:{key:"w:fontKey",value:`{${t}}`}}:{}),children:[...r?[new Pi("w:subsetted",r)]:[]]});class il{constructor(e){Ue(this,"fontTable"),Ue(this,"relationships"),Ue(this,"fontOptionsWithKey",[]),this.options=e,this.fontOptionsWithKey=e.map(e=>Be(Fe({},e),{fontKey:Es()})),this.fontTable=new zi({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:this.fontOptionsWithKey.map((e,t)=>(({name:e,index:t,fontKey:r,characterSet:n})=>
1(({name:e,altName:t,panose1:r,charset:n,family:i,notTrueType:o,pitch:s,sig:a,embedRegular:u,embedBold:l,embedItalic:c,embedBoldItalic:h})=>new zi({name:"w:font",attributes:{name:{key:"w:name",value:e}},children:[...t?[Mi("w:altName",t)]:[],...r?[Mi("w:panose1",r)]:[],...n?[Mi("w:charset",n)]:[],Mi("w:family",i),...o?[new Pi("w:notTrueType",o)]:[],Mi("w:pitch",s),...a?[new zi({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:a.usb0},usb1:{key:"w:usb1",value:a.usb1},usb2:{key:"w:usb2",value:a.usb2},usb3:{key:"w:usb3",value:a.usb3},csb0:{key:"w:csb0",value:a.csb0},csb1:{key:"w:csb1",value:a.csb1}}})]:[],...u?[nl(u,"w:embedRegular")]:[],...l?[nl(l,"w:embedBold")]:[],...c?[nl(c,"w:embedItalic")]:[],...h?[nl(h,"w:embedBoldItalic")]:[]]}))({name:e,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:n,family:"auto",pitch:"variable",embedRegular:{fontKey:r,id:`rId${t}`}}))({name:e.name,index:t+1,fontKey:e.fontKey,characterSet:e.characterSet}))}),this.relationships=new Va;for(let t=0;t<e.length;t++)this.relationships.addRelationship(t+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/font",`fonts/${e[t].name}.odttf`)}get View(){return this.fontTable}get Relationships(){return this.relationships}}const ol={NONE:"none",DROP:"drop",MARGIN:"margin"},sl={MARGIN:"margin",PAGE:"page",TEXT:"text"},al={AROUND:"around",AUTO:"auto",NONE:"none",NOT_BESIDE:"notBeside",THROUGH:"through",TIGHT:"tight"},ul=e=>{var t,r;return new zi({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:e.anchorLock},dropCap:{key:"w:dropCap",value:e.dropCap},width:{key:"w:w",value:e.width},height:{key:"w:h",value:e.height},x:{key:"w:x",value:e.position?e.position.x:void 0},y:{key:"w:y",value:e.position?e.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:e.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:e.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:null==(t=e.space)?void 0:t.horizontal},spaceVertical:{key:"w:vSpace",value:null==(r=e.space)?void 0:r.vertical},rule:{key:"w:hRule",value:e.rule},alignmentX:{key:"w:xAlign",value:e.alignment?e.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:e.alignment?e.alignment.y:void 0},lines:{key:"w:lines",value:e.lines},wrap:{key:"w:wrap",value:e.wrap}}})};class ll extends Ge{constructor(e){var t,r;if(super("w:pPr",null==e?void 0:e.includeIfEmpty),Ue(this,"numberingReferences",[]),!e)return this;e.heading&&this.push(Nu(e.heading)),e.bullet&&this.push(Nu("ListParagraph")),e.numbering&&(e.style||e.heading||e.numbering.custom||this.push(Nu("ListParagraph"))),e.style&&this.push(Nu(e.style)),void 0!==e.keepNext&&this.push(new Pi("w:keepNext",e.keepNext)),void 0!==e.keepLines&&this.push(new Pi("w:keepLines",e.keepLines)),e.pageBreakBefore&&this.push(new Au),e.frame&&this.push(ul(e.frame)),void 0!==e.widowControl&&this.push(new Pi("w:widowControl",e.widowControl)),e.bullet&&this.push(new Fu(1,e.bullet.level)),e.numbering?(this.numberingReferences.push({reference:e.numbering.reference,instance:null!=(t=e.numbering.instance)?t:0}),this.push(new Fu(`${e.numbering.reference}-${null!=(r=e.numbering.instance)?r:0}`,e.numbering.level))):!1===e.numbering&&this.push(new Fu(0,0)),e.border&&this.push(new $i(e.border)),e.thematicBreak&&this.push(new Xi),e.shading&&this.push(co(e.shading)),e.wordWrap&&this.push(new zi({name:"w:wordWrap",attributes:{val:{key:"w:val",value:0}}})),e.overflowPunctuation&&this.push(new Pi("w:overflowPunct",e.overflowPunctuation));const n=[...void 0!==e.rightTabStop?[{type:Cu.RIGHT,position:e.rightTabStop}]:[],...e.tabStops?e.tabStops:[],...void 0!==e.leftTabStop?[{type:Cu.LEFT,position:e.leftTabStop}]:[]];n.length>0&&this.push(Lu(n)),void 0!==e.bidirectional&&this.push(new Pi("w:bidi",e.bidirectional)),e.spacing&&this.push(Ru(e.spacing)),e.indent&&this.push(qi(e.indent)),void 0!==e.contextualSpacing&&this.push(new Pi("w:contextualSpacing",e.contextualSpacing)),e.alignment&&this.push(Gi(e.alignment)),void 0!==e.outlineLevel&&this.push(Qu(e.outlineLevel)),void 0!==e.suppressLineNumbers&&this.push(new Pi("w:suppressLineNumbers",e.suppressLineNumbers)),void 0!==e.autoSpaceEastAsianText&&this.push(new Pi("w:autoSpaceDN",e.autoSpaceEastAsianText)),e.run&&this.push(new No(e.run)),e.revision&&this.push(new cl(e.revision))}push(e){this.root.push(e)}prepForXml(e){if(!(e.viewWrapper instanceof il))for(const t of this.numberingReferences)e.file.Numbering.createConcreteNumberingInstance(t.reference,t.instance);return super.prepForXml(e)}}class cl extends We{constructor(e){super("w:pPrChange"),this.root.push(new po({id:e.id,author:e.author,date:e.date})),this.root.push(new ll(Be(Fe({},e),{includeIfEmpty:!0})))}}class hl extends Uu{constructor(e){if(super("w:p"),Ue(this,"properties"),"string"==typeof e)return this.properties=new ll({}),this.root.push(this.properties),this.root.push(new Lo(e)),this;if(this.properties=new ll(e),this.root.push(this.properties),e.text&&this.root.push(new Lo(e.text)),e.children)for(const t of e.children)if(t instanceof $u){this.root.push(t.start);for(const e of t.children)this.root.push(e);this.root.push(t.end)}else this.root.push(t)}prepForXml(e){for(const t of this.root)if(t instanceof Gu){const r=this.root.indexOf(t),n=new zu(t.options.children,vs());e.viewWrapper.Relationships.addRelationship(n.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",t.options.link,Ka),this.root[r]=n}return super.prepForXml(e)}addRunToFront(e){return this.root.splice(1,0,e),this}}let pl=class extends We{constructor(e){super("m:oMath");for(const t of e.children)this.root.push(t)}};class dl extends We{constructor(e){super("m:t"),this.root.push(e)}}class fl extends We{constructor(e){super("m:r"),this.root.push(new dl(e))}}class ml extends We{constructor(e){super("m:den");for(const t of e)this.root.push(t)}}class wl extends We{constructor(e){super("m:num");for(const t of e)this.root.push(t)}}class gl extends We{constructor(e){super("m:f"),this.root.push(new wl(e.numerator)),this.root.push(new ml(e.denominator))}}const yl=({accent:e})=>new zi({name:"m:chr",attributes:{accent:{key:"m:val",value:e}}}),bl=({children:e})=>new zi({name:"m:e",children:e}),vl=({value:e})=>new zi({name:"m:limLoc",attributes:{value:{key:"m:val",value:e||"undOvr"}}}),xl=({accent:e,hasSuperScript:t,hasSubScript:r,limitLocationVal:n})=>new zi({name:"m:naryPr",children:[...e?[yl({accent:e})]:[],vl({value:n}),...t?[]:[new zi({name:"m:supHide",attributes:{hide:{key:"m:val",value:1}}})],...r?[]:[new zi({name:"m:subHide",attributes:{hide:{key:"m:val",value:1}}})]]}),_l=({children:e})=>new zi({name:"m:sub",children:e}),El=({children:e})=>new zi({name:"m:sup",children:e});class Tl extends We{constructor(e){super("m:nary"),this.root.push(xl({accent:"â",hasSuperScript:!!e.superScript,hasSubScript:!!e.subScript})),e.subScript&&this.root.push(_l({children:e.subScript})),e.superScript&&this.root.push(El({children:e.superScript})),this.root.push(bl({children:e.children}))}}class Sl extends We{constructor(e){super("m:nary"),this.root.push(xl({accent:"",hasSuperScript:!!e.superScript,hasSubScript:!!e.subScript,limitLocationVal:"subSup"})),e.subScript&&this.root.push(_l({children:e.subScript})),e.superScript&&this.root.push(El({children:e.superScript})),this.root.push(bl({children:e.children}))}}class Al extends We{constructor(e){super("m:lim");for(const t of e)this.root.push(t)}}class kl extends We{constructor(e){super("m:limUpp"),this.root.push(bl({children:e.children})),this.root.push(new Al(e.limit))}}class Rl extends We{constructor(e){super("m:limLow"),this.root.push(bl({children:e.children})),this.root.push(new Al(e.limit))}}const Il=()=>new zi({name:"m:sSupPr"});class Nl extends We{constructor(e){super("m:sSup"),this.root.push(Il()),this.root.push(bl({children:e.children})),this.root.push(El({children:e.superScript}))}}const Cl=()=>new zi({name:"m:sSubPr"});class Ol extends We{constructor(e){super("m:sSub"),this.root.push(Cl()),this.root.push(bl({children:e.children})),this.root.push(_l({children:e.subScript}))}}const Dl=()=>new zi({name:"m:sSubSupPr"});class Pl extends We{constructor(e){super("m:sSubSup"),this.root.push(Dl()),this.root.push(bl({children:e.children})),this.root.push(_l({children:e.subScript})),this.root.push(El({children:e.superScript}))}}const Ll=()=>new zi({name:"m:sPrePr"});class Fl extends zi{constructor({children:e,subScript:t,superScript:r}){super({name:"m:sPre",children:[Ll(),bl({children:e}),_l({children:t}),El({children:r})]})}}const Bl="";
1class Ml extends We{constructor(e){if(super("m:deg"),e)for(const t of e)this.root.push(t)}}class Ul extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{hide:"m:val"})}}class Hl extends We{constructor(){super("m:degHide"),this.root.push(new Ul({hide:1}))}}class jl extends We{constructor(e){super("m:radPr"),e||this.root.push(new Hl)}}class zl extends We{constructor(e){super("m:rad"),this.root.push(new jl(!!e.degree)),this.root.push(new Ml(e.degree)),this.root.push(bl({children:e.children}))}}class Wl extends We{constructor(e){super("m:fName");for(const t of e)this.root.push(t)}}class Gl extends We{constructor(){super("m:funcPr")}}class Kl extends We{constructor(e){super("m:func"),this.root.push(new Gl),this.root.push(new Wl(e.name)),this.root.push(bl({children:e.children}))}}const Vl=({character:e})=>new zi({name:"m:begChr",attributes:{character:{key:"m:val",value:e}}}),$l=({character:e})=>new zi({name:"m:endChr",attributes:{character:{key:"m:val",value:e}}}),Xl=({characters:e})=>new zi({name:"m:dPr",children:e?[Vl({character:e.beginningCharacter}),$l({character:e.endingCharacter})]:[]});class ql extends We{constructor(e){super("m:d"),this.root.push(Xl({})),this.root.push(bl({children:e.children}))}}class Zl extends We{constructor(e){super("m:d"),this.root.push(Xl({characters:{beginningCharacter:"[",endingCharacter:"]"}})),this.root.push(bl({children:e.children}))}}class Yl extends We{constructor(e){super("m:d"),this.root.push(Xl({characters:{beginningCharacter:"{",endingCharacter:"}"}})),this.root.push(bl({children:e.children}))}}class Jl extends We{constructor(e){super("m:d"),this.root.push(Xl({characters:{beginningCharacter:"â©",endingCharacter:"âª"}})),this.root.push(bl({children:e.children}))}}const Ql=e=>new zi({name:"w:gridCol",attributes:void 0!==e?{width:{key:"w:w",value:Ri(e)}}:void 0});class ec extends We{constructor(e,t){super("w:tblGrid");for(const t of e)this.root.push(Ql(t));t&&this.root.push(new rc(t))}}class tc extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"w:id"})}}class rc extends We{constructor(e){super("w:tblGridChange"),this.root.push(new tc({id:e.id})),this.root.push(new ec(e.columnWidths))}}class nc extends We{constructor(e){super("w:ins"),this.root.push(new po({id:e.id,author:e.author,date:e.date})),this.addChildElement(new Lo(e))}}class ic extends We{constructor(){super("w:delInstrText"),this.root.push(new oo({space:io.PRESERVE})),this.root.push("PAGE")}}class oc extends We{constructor(){super("w:delInstrText"),this.root.push(new oo({space:io.PRESERVE})),this.root.push("NUMPAGES")}}class sc extends We{constructor(){super("w:delInstrText"),this.root.push(new oo({space:io.PRESERVE})),this.root.push("SECTIONPAGES")}}class ac extends We{constructor(e){super("w:delText"),this.root.push(new oo({space:io.PRESERVE})),this.root.push(e)}}class uc extends We{constructor(e){super("w:del"),Ue(this,"deletedTextRunWrapper"),this.root.push(new po({id:e.id,author:e.author,date:e.date})),this.deletedTextRunWrapper=new lc(e),this.addChildElement(this.deletedTextRunWrapper)}}class lc extends We{constructor(e){if(super("w:r"),this.root.push(new Io(e)),e.children)for(const t of e.children)if("string"!=typeof t)this.root.push(t);else switch(t){case Do.CURRENT:this.root.push(Ji()),this.root.push(new ic),this.root.push(Qi()),this.root.push(eo());break;case Do.TOTAL_PAGES:this.root.push(Ji()),this.root.push(new oc),this.root.push(Qi()),this.root.push(eo());break;case Do.TOTAL_PAGES_IN_SECTION:this.root.push(Ji()),this.root.push(new sc),this.root.push(Qi()),this.root.push(eo());break;default:this.root.push(new ac(t))}else e.text&&this.root.push(new ac(e.text));if(e.break)for(let t=0;t<e.break;t++)this.root.splice(1,0,Zi())}}class cc extends We{constructor(e){super("w:ins"),this.root.push(new po({id:e.id,author:e.author,date:e.date}))}}class hc extends We{constructor(e){super("w:del"),this.root.push(new po({id:e.id,author:e.author,date:e.date}))}}class pc extends We{constructor(e){super("w:cellIns"),this.root.push(new po({id:e.id,author:e.author,date:e.date}))}}class dc extends We{constructor(e){super("w:cellDel"),this.root.push(new po({id:e.id,author:e.author,date:e.date}))}}const fc={CONTINUE:"cont",RESTART:"rest"};class mc extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date",verticalMerge:"w:vMerge",verticalMergeOriginal:"w:vMergeOrig"})}}class wc extends We{constructor(e){super("w:cellMerge"),this.root.push(new mc(e))}}const gc={TOP:"top",CENTER:"center",BOTTOM:"bottom"},yc=Be(Fe({},gc),{BOTH:"both"}),bc=yc,vc=e=>
1new zi({name:"w:vAlign",attributes:{verticalAlign:{key:"w:val",value:e}}}),xc=({marginUnitType:e=_c.DXA,top:t,left:r,bottom:n,right:i})=>[{name:"w:top",size:t},{name:"w:left",size:r},{name:"w:bottom",size:n},{name:"w:right",size:i}].filter(e=>void 0!==e.size).map(({name:t,size:r})=>Ec(t,{type:e,size:r})),_c={AUTO:"auto",DXA:"dxa",NIL:"nil",PERCENTAGE:"pct"},Ec=(e,{type:t=_c.AUTO,size:r})=>{let n=r;return t===_c.PERCENTAGE&&"number"==typeof r&&(n=`${r}%`),new zi({name:e,attributes:{type:{key:"w:type",value:t},size:{key:"w:w",value:Ni(n)}}})};class Tc extends Ge{constructor(e){super("w:tcBorders"),e.top&&this.root.push(Ki("w:top",e.top)),e.start&&this.root.push(Ki("w:start",e.start)),e.left&&this.root.push(Ki("w:left",e.left)),e.bottom&&this.root.push(Ki("w:bottom",e.bottom)),e.end&&this.root.push(Ki("w:end",e.end)),e.right&&this.root.push(Ki("w:right",e.right))}}class Sc extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{val:"w:val"})}}class Ac extends We{constructor(e){super("w:gridSpan"),this.root.push(new Sc({val:wi(e)}))}}const kc={CONTINUE:"continue",RESTART:"restart"};class Rc extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{val:"w:val"})}}class Ic extends We{constructor(e){super("w:vMerge"),this.root.push(new Rc({val:e}))}}const Nc={BOTTOM_TO_TOP_LEFT_TO_RIGHT:"btLr",LEFT_TO_RIGHT_TOP_TO_BOTTOM:"lrTb",TOP_TO_BOTTOM_RIGHT_TO_LEFT:"tbRl"};class Cc extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{val:"w:val"})}}class Oc extends We{constructor(e){super("w:textDirection"),this.root.push(new Cc({val:e}))}}class Dc extends Ge{constructor(e){if(super("w:tcPr",e.includeIfEmpty),e.width&&this.root.push(Ec("w:tcW",e.width)),e.columnSpan&&this.root.push(new Ac(e.columnSpan)),e.verticalMerge?this.root.push(new Ic(e.verticalMerge)):e.rowSpan&&e.rowSpan>1&&this.root.push(new Ic(kc.RESTART)),e.borders&&this.root.push(new Tc(e.borders)),e.shading&&this.root.push(co(e.shading)),e.margins){const t=(e=>{const t=xc(e);if(0!==t.length)return new zi({name:"w:tcMar",children:t})})(e.margins);t&&this.root.push(t)}e.textDirection&&this.root.push(new Oc(e.textDirection)),e.verticalAlign&&this.root.push(vc(e.verticalAlign)),e.insertion&&this.root.push(new pc(e.insertion)),e.deletion&&this.root.push(new dc(e.deletion)),e.revision&&this.root.push(new Pc(e.revision)),e.cellMerge&&this.root.push(new wc(e.cellMerge))}}class Pc extends We{constructor(e){super("w:tcPrChange"),this.root.push(new po({id:e.id,author:e.author,date:e.date})),this.root.push(new Dc(Be(Fe({},e),{includeIfEmpty:!0})))}}class Lc extends We{constructor(e){super("w:tc"),this.options=e,this.root.push(new Dc(e));for(const t of e.children)this.root.push(t)}prepForXml(e){return this.root[this.root.length-1]instanceof hl||this.root.push(new hl({})),super.prepForXml(e)}}const Fc={style:Vi.NONE,size:0,color:"auto"},Bc={style:Vi.SINGLE,size:4,color:"auto"};class Mc extends We{constructor(e){var t,r,n,i,o,s;super("w:tblBorders"),this.root.push(Ki("w:top",null!=(t=e.top)?t:Bc)),this.root.push(Ki("w:left",null!=(r=e.left)?r:Bc)),this.root.push(Ki("w:bottom",null!=(n=e.bottom)?n:Bc)),this.root.push(Ki("w:right",null!=(i=e.right)?i:Bc)),this.root.push(Ki("w:insideH",null!=(o=e.insideHorizontal)?o:Bc)),this.root.push(Ki("w:insideV",null!=(s=e.insideVertical)?s:Bc))}}Ue(Mc,"NONE",{top:Fc,bottom:Fc,left:Fc,right:Fc,insideHorizontal:Fc,insideVertical:Fc});const Uc={MARGIN:"margin",PAGE:"page",TEXT:"text"},Hc={CENTER:"center",INSIDE:"inside",LEFT:"left",OUTSIDE:"outside",RIGHT:"right"},jc={CENTER:"center",INSIDE:"inside",BOTTOM:"bottom",OUTSIDE:"outside",INLINE:"inline",TOP:"top"},zc={NEVER:"never",OVERLAP:"overlap"},Wc=e=>new zi({name:"w:tblOverlap",attributes:{val:{key:"w:val",value:e}}}),Gc=({horizontalAnchor:e,verticalAnchor:t,absoluteHorizontalPosition:r,relativeHorizontalPosition:n,absoluteVerticalPosition:i,relativeVerticalPosition:o,bottomFromText:s,topFromText:a,leftFromText:u,rightFromText:l,overlap:c})=>new zi({name:"w:tblpPr",attributes:{leftFromText:{key:"w:leftFromText",value:void 0===u?void 0:Ri(u)},rightFromText:{key:"w:rightFromText",value:void 0===l?void 0:Ri(l)},topFromText:{key:"w:topFromText",value:void 0===a?void 0:Ri(a)},bottomFromText:{key:"w:bottomFromText",value:void 0===s?void 0:Ri(s)},absoluteHorizontalPosition:{key:"w:tblpX",value:void 0===r?void 0:Si(r)},absoluteVerticalPosition:{key:"w:tblpY",value:void 0===i?void 0:Si(i)},horizontalAnchor:{key:"w:horzAnchor",value:e}
1,relativeHorizontalPosition:{key:"w:tblpXSpec",value:n},relativeVerticalPosition:{key:"w:tblpYSpec",value:o},verticalAnchor:{key:"w:vertAnchor",value:t}},children:c?[Wc(c)]:void 0}),Kc={AUTOFIT:"autofit",FIXED:"fixed"},Vc=e=>new zi({name:"w:tblLayout",attributes:{type:{key:"w:type",value:e}}}),$c=({type:e="dxa",value:t})=>new zi({name:"w:tblCellSpacing",attributes:{type:{key:"w:type",value:e},value:{key:"w:w",value:Ni(t)}}}),Xc=({firstRow:e,lastRow:t,firstColumn:r,lastColumn:n,noHBand:i,noVBand:o})=>new zi({name:"w:tblLook",attributes:{firstRow:{key:"w:firstRow",value:e},lastRow:{key:"w:lastRow",value:t},firstColumn:{key:"w:firstColumn",value:r},lastColumn:{key:"w:lastColumn",value:n},noHBand:{key:"w:noHBand",value:i},noVBand:{key:"w:noVBand",value:o}}});class qc extends Ge{constructor(e){if(super("w:tblPr",e.includeIfEmpty),e.style&&this.root.push(new Bi("w:tblStyle",e.style)),e.float&&this.root.push(Gc(e.float)),void 0!==e.visuallyRightToLeft&&this.root.push(new Pi("w:bidiVisual",e.visuallyRightToLeft)),e.width&&this.root.push(Ec("w:tblW",e.width)),e.alignment&&this.root.push(Gi(e.alignment)),e.indent&&this.root.push(Ec("w:tblInd",e.indent)),e.borders&&this.root.push(new Mc(e.borders)),e.shading&&this.root.push(co(e.shading)),e.layout&&this.root.push(Vc(e.layout)),e.cellMargin){const t=(e=>{const t=xc(e);if(0!==t.length)return new zi({name:"w:tblCellMar",children:t})})(e.cellMargin);t&&this.root.push(t)}e.tableLook&&this.root.push(Xc(e.tableLook)),e.cellSpacing&&this.root.push($c(e.cellSpacing)),e.revision&&this.root.push(new Zc(e.revision))}}class Zc extends We{constructor(e){super("w:tblPrChange"),this.root.push(new po({id:e.id,author:e.author,date:e.date})),this.root.push(new qc(Be(Fe({},e),{includeIfEmpty:!0})))}}class Yc extends Uu{constructor({rows:e,width:t,columnWidths:r=Array(Math.max(...e.map(e=>e.CellCount))).fill(100),columnWidthsRevision:n,margins:i,indent:o,float:s,layout:a,style:u,borders:l,alignment:c,visuallyRightToLeft:h,tableLook:p,cellSpacing:d,revision:f}){super("w:tbl"),this.root.push(new qc({borders:null!=l?l:{},width:null!=t?t:{size:100},indent:o,float:s,layout:a,style:u,alignment:c,cellMargin:i,visuallyRightToLeft:h,tableLook:p,cellSpacing:d,revision:f})),this.root.push(new ec(r,n));for(const t of e)this.root.push(t);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 i=new Lc({rowSpan:t.options.rowSpan-1,columnSpan:t.options.columnSpan,borders:t.options.borders,children:[],verticalMerge:kc.CONTINUE});e[r+1].addCellToColumnIndex(i,n)}n+=t.options.columnSpan||1})})}}const Jc={AUTO:"auto",ATLEAST:"atLeast",EXACT:"exact"},Qc=(e,t)=>new zi({name:"w:trHeight",attributes:{value:{key:"w:val",value:Ri(e)},rule:{key:"w:hRule",value:t}}});class eh extends Ge{constructor(e){super("w:trPr",e.includeIfEmpty),void 0!==e.cantSplit&&this.root.push(new Pi("w:cantSplit",e.cantSplit)),void 0!==e.tableHeader&&this.root.push(new Pi("w:tblHeader",e.tableHeader)),e.height&&this.root.push(Qc(e.height.value,e.height.rule)),e.cellSpacing&&this.root.push($c(e.cellSpacing)),e.insertion&&this.root.push(new cc(e.insertion)),e.deletion&&this.root.push(new hc(e.deletion)),e.revision&&this.root.push(new th(e.revision))}}class th extends We{constructor(e){super("w:trPrChange"),this.root.push(new po({id:e.id,author:e.author,date:e.date})),this.root.push(new eh(Be(Fe({},e),{includeIfEmpty:!0})))}}class rh extends We{constructor(e){super("w:tr"),this.options=e,this.root.push(new eh(e));for(const t of e.children)this.root.push(t)}get CellCount(){return this.options.children.length}get cells(){return this.root.filter(e=>e instanceof Lc)}addCellToIndex(e,t){this.root.splice(t+1,0,e)}addCellToColumnIndex(e,t){const r=this.columnIndexToRootIndex(t,!0);this.addCellToIndex(e,r-1)}rootIndexToColumnIndex(e){if(e<1||e>=this.root.length)throw new Error("cell 'rootIndex' should between 1 to "+(this.root.length-1));let t=0;for(let r=1;r<e;r++)t+=this.root[r].options.columnSpan||1;return t}columnIndexToRootIndex(e,t=!1){if(e<0)throw new Error("cell 'columnIndex' should not less than zero");let r=0,n=1;for(;r<=e;){if(n>=this.root.length){if(t)return this.root.length;throw new Error("cell 'columnIndex' should not great than "+(r-1))}const e=this.root[n];n+=1,r+=e&&e.options.columnSpan||1}return n-1}}class nh extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class ih extends We{constructor(){super("Properties"),this.root.push(new nh({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}class oh extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{xmlns:"xmlns"})}}const sh=(e,t)=>new zi({name:"Default",attributes:{contentType:{key:"ContentType",value:e},extension:{key:"Extension",value:t}}}),ah=(e,t)=>new zi({name:"Override",attributes:{contentType:{key:"ContentType",value:e},partName:{key:"PartName",value:t}}});class uh extends We{constructor(){super("Types"),this.root.push(new oh({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(sh("image/png","png")),this.root.push(sh("image/jpeg","jpeg")),this.root.push(sh("image/jpeg","jpg")),this.root.push(sh("image/bmp","bmp")),this.root.push(sh("image/gif","gif")),this.root.push(sh("image/svg+xml","svg")),this.root.push(sh("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(sh("application/xml","xml")),this.root.push(sh("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(ah("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(ah("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(ah("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml","/word/endnotes.xml")),this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addFooter(e){this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addHeader(e){this.root.push(ah("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}}const lh={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",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",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"};class ch extends Ke{constructor(e,t){super(Fe({Ignorable:t},Object.fromEntries(e.map(e=>[e,lh[e]])))),Ue(this,"xmlKeys",Fe({Ignorable:"mc:Ignorable"},Object.fromEntries(Object.keys(lh).map(e=>[e,`xmlns:${e}`]))))}}class hh extends We{constructor(e){super("cp:coreProperties"),this.root.push(new ch(["cp","dc","dcterms","dcmitype","xsi"])),e.title&&this.root.push(new ji("dc:title",e.title)),e.subject&&this.root.push(new ji("dc:subject",e.subject)),e.creator&&this.root.push(new ji("dc:creator",e.creator)),e.keywords&&this.root.push(new ji("cp:keywords",e.keywords)),e.description&&this.root.push(new ji("dc:description",e.description)),e.lastModifiedBy&&this.root.push(new ji("cp:lastModifiedBy",e.lastModifiedBy)),e.revision&&this.root.push(new ji("cp:revision",String(e.revision))),this.root.push(new dh("dcterms:created")),this.root.push(new dh("dcterms:modified"))}}class ph extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{type:"xsi:type"})}}class dh extends We{constructor(e){super(e),this.root.push(new ph({type:"dcterms:W3CDTF"})),this.root.push(Di(new Date))}}class fh extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class mh extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{formatId:"fmtid",pid:"pid",name:"name"})}}class wh extends We{constructor(e,t){super("property"),this.root.push(new mh({formatId:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e.toString(),name:t.name})),this.root.push(new gh(t.value))}}class gh extends We{constructor(e){super("vt:lpwstr"),this.root.push(e)}}class yh extends We{constructor(e){super("Properties"),Ue(this,"nextId"),Ue(this,"properties",[]),this.root.push(new fh({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2;
1for(const t of e)this.addCustomProperty(t)}prepForXml(e){return this.properties.forEach(e=>this.root.push(e)),super.prepForXml(e)}addCustomProperty(e){this.properties.push(new wh(this.nextId++,e))}}const bh=({space:e,count:t,separate:r,equalWidth:n,children:i})=>new zi({name:"w:cols",attributes:{space:{key:"w:space",value:void 0===e?void 0:Ri(e)},count:{key:"w:num",value:void 0===t?void 0:wi(t)},separate:{key:"w:sep",value:r},equalWidth:{key:"w:equalWidth",value:n}},children:!n&&i?i:void 0}),vh={DEFAULT:"default",LINES:"lines",LINES_AND_CHARS:"linesAndChars",SNAP_TO_CHARS:"snapToChars"},xh=({type:e,linePitch:t,charSpace:r})=>new zi({name:"w:docGrid",attributes:{type:{key:"w:type",value:e},linePitch:{key:"w:linePitch",value:wi(t)},charSpace:{key:"w:charSpace",value:r?wi(r):void 0}}}),_h={DEFAULT:"default",FIRST:"first",EVEN:"even"},Eh={HEADER:"w:headerReference",FOOTER:"w:footerReference"},Th=(e,t)=>new zi({name:e,attributes:{type:{key:"w:type",value:t.type||_h.DEFAULT},id:{key:"r:id",value:`rId${t.id}`}}}),Sh={NEW_PAGE:"newPage",NEW_SECTION:"newSection",CONTINUOUS:"continuous"},Ah=({countBy:e,start:t,restart:r,distance:n})=>new zi({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:void 0===e?void 0:wi(e)},start:{key:"w:start",value:void 0===t?void 0:wi(t)},restart:{key:"w:restart",value:r},distance:{key:"w:distance",value:void 0===n?void 0:Ri(n)}}}),kh={ALL_PAGES:"allPages",FIRST_PAGE:"firstPage",NOT_FIRST_PAGE:"notFirstPage"},Rh={PAGE:"page",TEXT:"text"},Ih={BACK:"back",FRONT:"front"};class Nh extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}}class Ch extends Ge{constructor(e){if(super("w:pgBorders"),!e)return this;this.root.push(new Nh(e.pageBorders?{display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder}:{})),e.pageBorderTop&&this.root.push(Ki("w:top",e.pageBorderTop)),e.pageBorderLeft&&this.root.push(Ki("w:left",e.pageBorderLeft)),e.pageBorderBottom&&this.root.push(Ki("w:bottom",e.pageBorderBottom)),e.pageBorderRight&&this.root.push(Ki("w:right",e.pageBorderRight))}}const Oh=(e,t,r,n,i,o,s)=>new zi({name:"w:pgMar",attributes:{top:{key:"w:top",value:Si(e)},right:{key:"w:right",value:Ri(t)},bottom:{key:"w:bottom",value:Si(r)},left:{key:"w:left",value:Ri(n)},header:{key:"w:header",value:Ri(i)},footer:{key:"w:footer",value:Ri(o)},gutter:{key:"w:gutter",value:Ri(s)}}}),Dh={HYPHEN:"hyphen",PERIOD:"period",COLON:"colon",EM_DASH:"emDash",EN_DASH:"endash"},Ph=({start:e,formatType:t,separator:r})=>new zi({name:"w:pgNumType",attributes:{start:{key:"w:start",value:void 0===e?void 0:wi(e)},formatType:{key:"w:fmt",value:t},separator:{key:"w:chapSep",value:r}}}),Lh={PORTRAIT:"portrait",LANDSCAPE:"landscape"},Fh=({width:e,height:t,orientation:r,code:n})=>{const i=Ri(e),o=Ri(t);return new zi({name:"w:pgSz",attributes:{width:{key:"w:w",value:r===Lh.LANDSCAPE?o:i},height:{key:"w:h",value:r===Lh.LANDSCAPE?i:o},orientation:{key:"w:orient",value:r},code:{key:"w:code",value:n}}})},Bh={LEFT_TO_RIGHT_TOP_TO_BOTTOM:"lrTb",TOP_TO_BOTTOM_RIGHT_TO_LEFT:"tbRl"};class Mh extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{val:"w:val"})}}class Uh extends We{constructor(e){super("w:textDirection"),this.root.push(new Mh({val:e}))}}const Hh={NEXT_PAGE:"nextPage",NEXT_COLUMN:"nextColumn",CONTINUOUS:"continuous",EVEN_PAGE:"evenPage",ODD_PAGE:"oddPage"},jh=e=>new zi({name:"w:type",attributes:{val:{key:"w:val",value:e}}}),zh={TOP:1440,RIGHT:1440,BOTTOM:1440,LEFT:1440,HEADER:708,FOOTER:708,GUTTER:0},Wh={WIDTH:11906,HEIGHT:16838,ORIENTATION:Lh.PORTRAIT};class Gh extends We{constructor({page:{size:{width:e=Wh.WIDTH,height:t=Wh.HEIGHT,orientation:r=Wh.ORIENTATION}={},margin:{top:n=zh.TOP,right:i=zh.RIGHT,bottom:o=zh.BOTTOM,left:s=zh.LEFT,header:a=zh.HEADER,footer:u=zh.FOOTER,gutter:l=zh.GUTTER}={},pageNumbers:c={},borders:h,textDirection:p}={},grid:{linePitch:d=360,charSpace:f,type:m}={},headerWrapperGroup:w={},footerWrapperGroup:g={},lineNumbers:y,titlePage:b,verticalAlign:v,column:x,type:_,revision:E}={}){super("w:sectPr"),this.addHeaderFooterGroup(Eh.HEADER,w),this.addHeaderFooterGroup(Eh.FOOTER,g),_&&this.root.push(jh(_)),this.root.push(Fh({width:e,height:t,orientation:r})),this.root.push(Oh(n,i,o,s,a,u,l)),h&&this.root.push(new Ch(h)),y&&this.root.push(Ah(y)),this.root.push(Ph(c)),x&&this.root.push(bh(x)),v&&this.root.push(vc(v)),void 0!==b&&this.root.push(new Pi("w:titlePg",b)),p&&this.root.push(new Uh(p)),E&&this.root.push(new Kh(E)),this.root.push(xh({linePitch:d,charSpace:f,type:m}))}addHeaderFooterGroup(e,t){t.default&&this.root.push(Th(e,{type:_h.DEFAULT,id:t.default.View.ReferenceId})),t.first&&this.root.push(Th(e,{type:_h.FIRST,id:t.first.View.ReferenceId})),t.even&&this.root.push(Th(e,{type:_h.EVEN,id:t.even.View.ReferenceId}))}}class Kh extends We{constructor(e){super("w:sectPrChange"),this.root.push(new po({id:e.id,author:e.author,date:e.date})),this.root.push(new Gh(e))}}class Vh extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{width:"w:w",space
1:"w:space"})}}class $h extends We{constructor(e){super("w:col"),this.root.push(new Vh({width:Ri(e.width),space:void 0===e.space?void 0:Ri(e.space)}))}}class Xh extends We{constructor(){super("w:body"),Ue(this,"sections",[])}addSection(e){const t=this.sections.pop();this.root.push(this.createSectionParagraph(t)),this.sections.push(new Gh(e))}prepForXml(e){return 1===this.sections.length&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(e)}push(e){this.root.push(e)}createSectionParagraph(e){const t=new hl({}),r=new ll({});return r.push(e),t.addChildElement(r),t}}class qh extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}}class Zh extends We{constructor(e){super("w:background"),this.root.push(new qh({color:void 0===e.color?void 0:Ti(e.color),themeColor:e.themeColor,themeShade:void 0===e.themeShade?void 0:xi(e.themeShade),themeTint:void 0===e.themeTint?void 0:xi(e.themeTint)}))}}class Yh extends We{constructor(e){super("w:document"),Ue(this,"body"),this.root.push(new ch(["wpc","mc","o","r","m","v","wp14","wp","w10","w","w14","w15","wpg","wpi","wne","wps","cx","cx1","cx2","cx3","cx4","cx5","cx6","cx7","cx8","aink","am3d","w16cex","w16cid","w16","w16sdtdh","w16se"],"w14 w15 wp14")),this.body=new Xh,e.background&&this.root.push(new Zh(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}}class Jh{constructor(e){Ue(this,"document"),Ue(this,"relationships"),this.document=new Yh(e),this.relationships=new Va}get View(){return this.document}get Relationships(){return this.relationships}}class Qh extends Ke{constructor(){super(...arguments),Ue(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 ep extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class tp extends Po{constructor(){super({style:"EndnoteReference"}),this.root.push(new hu)}}class rp extends We{constructor(e){super("w:endnote"),this.root.push(new ep({type:e.type,id:e.id}));for(let t=0;t<e.children.length;t++){const r=e.children[t];0===t&&r.addRunToFront(new tp),this.root.push(r)}}}class np extends We{constructor(){super("w:continuationSeparator")}}class ip extends Po{constructor(){super({}),this.root.push(new np)}}class op extends We{constructor(){super("w:separator")}}class sp extends Po{constructor(){super({}),this.root.push(new op)}}class ap extends We{constructor(){super("w:endnotes"),this.root.push(new Qh({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 rp({id:-1,type:"separator",children:[new hl({spacing:{after:0,line:240,lineRule:ku.AUTO},children:[new sp]})]});this.root.push(e);const t=new rp({id:0,type:"continuationSeparator",children:[new hl({spacing:{after:0,line:240,lineRule:ku.AUTO},children:[new ip]})]});this.root.push(t)}createEndnote(e,t){const r=new rp({id:e,children:t});this.root.push(r)}}class up{constructor(){Ue(this,"endnotes"),Ue(this,"relationships"),this.endnotes=new ap,this.relationships=new Va}get View(){return this.endnotes}get Relationships(){return this.relationships}}class lp extends Ke{constructor(){super(...arguments),Ue(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 cp=class extends mi{constructor(e,t){super("w:ftr",t),Ue(this,"refId"),this.refId=e,t||this.root.push(new lp({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(e){this.root.push(e)}};class hp{constructor(e,t,r){Ue(this,"footer"),Ue(this,"relationships"),this.media=e,this.footer=new cp(t,r),this.relationships=new Va}add(e){this.footer.add(e)}addChildElement(e){this.footer.addChildElement(e)}get View(){return this.footer}get Relationships(){return this.relationships}get Media(){return this.media}}class pp extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{type:"w:type",id:"w:id"})}}class dp extends We{constructor(){super("w:footnoteRef")}}class fp extends Po{constructor(){super({style:"FootnoteReference"}),this.root.push(new dp)}}class mp extends We{constructor(e){super("w:footnote"),this.root.push(new pp({type:e.type,id:e.id}));for(let t=0;t<e.children.length;t++){const r=e.children[t];0===t&&r.addRunToFront(new fp),this.root.push(r)}}}class wp extends Ke{constructor(){super(...arguments),Ue(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 gp extends We{constructor(){super("w:footnotes"),this.root.push(new wp({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 mp({id:-1,type:"separator",children:[new hl({spacing:{after:0,line:240,lineRule:ku.AUTO},children:[new sp]})]});this.root.push(e);
1const t=new mp({id:0,type:"continuationSeparator",children:[new hl({spacing:{after:0,line:240,lineRule:ku.AUTO},children:[new ip]})]});this.root.push(t)}createFootNote(e,t){const r=new mp({id:e,children:t});this.root.push(r)}}class yp{constructor(){Ue(this,"footnotess"),Ue(this,"relationships"),this.footnotess=new gp,this.relationships=new Va}get View(){return this.footnotess}get Relationships(){return this.relationships}}class bp extends Ke{constructor(){super(...arguments),Ue(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 vp=class extends mi{constructor(e,t){super("w:hdr",t),Ue(this,"refId"),this.refId=e,t||this.root.push(new bp({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(e){this.root.push(e)}};class xp{constructor(e,t,r){Ue(this,"header"),Ue(this,"relationships"),this.media=e,this.header=new vp(t,r),this.relationships=new Va}add(e){return this.header.add(e),this}addChildElement(e){this.header.addChildElement(e)}get View(){return this.header}get Relationships(){return this.relationships}get Media(){return this.media}}class _p{constructor(){Ue(this,"map"),this.map=new Map}addImage(e,t){this.map.set(e,t)}get Array(){return Array.from(this.map.values())}}const Ep="",Tp={DECIMAL:"decimal",UPPER_ROMAN:"upperRoman",LOWER_ROMAN:"lowerRoman",UPPER_LETTER:"upperLetter",LOWER_LETTER:"lowerLetter",ORDINAL:"ordinal",CARDINAL_TEXT:"cardinalText",ORDINAL_TEXT:"ordinalText",HEX:"hex",CHICAGO:"chicago",IDEOGRAPH__DIGITAL:"ideographDigital",JAPANESE_COUNTING:"japaneseCounting",AIUEO:"aiueo",IROHA:"iroha",DECIMAL_FULL_WIDTH:"decimalFullWidth",DECIMAL_HALF_WIDTH:"decimalHalfWidth",JAPANESE_LEGAL:"japaneseLegal",JAPANESE_DIGITAL_TEN_THOUSAND:"japaneseDigitalTenThousand",DECIMAL_ENCLOSED_CIRCLE:"decimalEnclosedCircle",DECIMAL_FULL_WIDTH2:"decimalFullWidth2",AIUEO_FULL_WIDTH:"aiueoFullWidth",IROHA_FULL_WIDTH:"irohaFullWidth",DECIMAL_ZERO:"decimalZero",BULLET:"bullet",GANADA:"ganada",CHOSUNG:"chosung",DECIMAL_ENCLOSED_FULLSTOP:"decimalEnclosedFullstop",DECIMAL_ENCLOSED_PARENTHESES:"decimalEnclosedParen",DECIMAL_ENCLOSED_CIRCLE_CHINESE:"decimalEnclosedCircleChinese",IDEOGRAPH_ENCLOSED_CIRCLE:"ideographEnclosedCircle",IDEOGRAPH_TRADITIONAL:"ideographTraditional",IDEOGRAPH_ZODIAC:"ideographZodiac",IDEOGRAPH_ZODIAC_TRADITIONAL:"ideographZodiacTraditional",TAIWANESE_COUNTING:"taiwaneseCounting",IDEOGRAPH_LEGAL_TRADITIONAL:"ideographLegalTraditional",TAIWANESE_COUNTING_THOUSAND:"taiwaneseCountingThousand",TAIWANESE_DIGITAL:"taiwaneseDigital",CHINESE_COUNTING:"chineseCounting",CHINESE_LEGAL_
1SIMPLIFIED:"chineseLegalSimplified",CHINESE_COUNTING_THOUSAND:"chineseCountingThousand",KOREAN_DIGITAL:"koreanDigital",KOREAN_COUNTING:"koreanCounting",KOREAN_LEGAL:"koreanLegal",KOREAN_DIGITAL2:"koreanDigital2",VIETNAMESE_COUNTING:"vietnameseCounting",RUSSIAN_LOWER:"russianLower",RUSSIAN_UPPER:"russianUpper",NONE:"none",NUMBER_IN_DASH:"numberInDash",HEBREW1:"hebrew1",HEBREW2:"hebrew2",ARABIC_ALPHA:"arabicAlpha",ARABIC_ABJAD:"arabicAbjad",HINDI_VOWELS:"hindiVowels",HINDI_CONSONANTS:"hindiConsonants",HINDI_NUMBERS:"hindiNumbers",HINDI_COUNTING:"hindiCounting",THAI_LETTERS:"thaiLetters",THAI_NUMBERS:"thaiNumbers",THAI_COUNTING:"thaiCounting",BAHT_TEXT:"bahtText",DOLLAR_TEXT:"dollarText",CUSTOM:"custom"};class Sp extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{ilvl:"w:ilvl",tentative:"w15:tentative"})}}class Ap extends We{constructor(e){super("w:numFmt"),this.root.push(new $e({val:e}))}}class kp extends We{constructor(e){super("w:lvlText"),this.root.push(new $e({val:e}))}}class Rp extends We{constructor(e){super("w:lvlJc"),this.root.push(new $e({val:e}))}}const Ip={NOTHING:"nothing",SPACE:"space",TAB:"tab"};class Np extends We{constructor(e){super("w:suff"),this.root.push(new $e({val:e}))}}class Cp extends We{constructor(){super("w:isLgl")}}class Op extends We{constructor({level:e,format:t,text:r,alignment:n=Wi.START,start:i=1,style:o,suffix:s,isLegalNumberingStyle:a}){if(super("w:lvl"),Ue(this,"paragraphProperties"),Ue(this,"runProperties"),this.root.push(new Ui("w:start",wi(i))),t&&this.root.push(new Ap(t)),s&&this.root.push(new Np(s)),a&&this.root.push(new Cp),r&&this.root.push(new kp(r)),this.root.push(new Rp(n)),this.paragraphProperties=new ll(o&&o.paragraph),this.runProperties=new Io(o&&o.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 Sp({ilvl:wi(e),tentative:1}))}}class Dp extends Op{}class Pp extends Op{}class Lp extends We{constructor(e){super("w:multiLevelType"),this.root.push(new $e({val:e}))}}class Fp extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}}class Bp extends We{constructor(e,t){super("w:abstractNum"),Ue(this,"id"),this.root.push(new Fp({abstractNumId:wi(e),restartNumberingAfterBreak:0})),this.root.push(new Lp("hybridMultilevel")),this.id=e;for(const e of t)this.root.push(new Dp(e))}}class Mp extends We{constructor(e){super("w:abstractNumId"),this.root.push(new $e({val:e}))}}class Up extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{numId:"w:numId"})}}class Hp extends We{constructor(e){if(super("w:num"),Ue(this,"numId"),Ue(this,"reference"),Ue(this,"instance"),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.root.push(new Up({numId:wi(e.numId)})),this.root.push(new Mp(wi(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(const t of e.overrideLevels)this.root.push(new zp(t.num,t.start))}}class jp extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{ilvl:"w:ilvl"})}}class zp extends We{constructor(e,t){super("w:lvlOverride"),this.root.push(new jp({ilvl:e})),void 0!==t&&this.root.push(new Gp(t))}}class Wp extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{val:"w:val"})}}class Gp extends We{constructor(e){super("w:startOverride"),this.root.push(new Wp({val:e}))}}class Kp extends We{constructor(e){super("w:numbering"),Ue(this,"abstractNumberingMap",new Map),Ue(this,"concreteNumberingMap",new Map),Ue(this,"referenceConfigMap",new Map),Ue(this,"abstractNumUniqueNumericId",ws()),Ue(this,"concreteNumUniqueNumericId",gs()),this.root.push(new ch(["wpc","mc","o","r","m","v","wp14","wp","w10","w","w14","w15","wpg","wpi","wne","wps"],"w14 w15 wp14"));const t=new Bp(this.abstractNumUniqueNumericId(),[{level:0,format:Tp.BULLET,text:"â",alignment:Wi.LEFT,style:{paragraph:{indent:{left:fs(.5),hanging:fs(.25)}}}},{level:1,format:Tp.BULLET,text:"â",alignment:Wi.LEFT,style:{paragraph:{indent:{left:fs(1),hanging:fs(.25)}}}},{level:2,format:Tp.BULLET,text:"â ",alignment:Wi.LEFT,style:{paragraph:{indent:{left:2160,hanging:fs(.25)}}}},{level:3,format:Tp.BULLET,text:"â",alignment:Wi.LEFT,style:{paragraph:{indent:{left:2880,hanging:fs(.25)}}}},{level:4,format:Tp.BULLET,text:"â",alignment:Wi.LEFT,style:{paragraph:{indent:{left:3600,hanging:fs(.25)}}}},{level:5,format:Tp.BULLET,text:"â ",alignment:Wi.LEFT,style:{paragraph:{indent:{left:4320,hanging:fs(.25)}}}},{level:6,format:Tp.BULLET,text:"â",alignment:Wi.LEFT,style:{paragraph:{indent:{left:5040,hanging:fs(.25)}}}},{level:7,format:Tp.BULLET,text:"â",alignment:Wi.LEFT,style:{paragraph:{indent:{left:5760,hanging:fs(.25)}}}},{level:8,format:Tp.BULLET,text:"â",alignment:Wi.LEFT,style:{paragraph:{indent:{left:6480,hanging:fs(.25)}}}}]);this.concreteNumberingMap.set("default-bullet-numbering",new Hp({numId:1,abstractNumId:t.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",t);for(const t of e.config)this.abstractNumberingMap.set(t.reference,new Bp(this.abstractNumUniqueNumericId(),t.levels)),this.referenceConfigMap.set(t.reference,t.levels)}
1prepForXml(e){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(e)}createConcreteNumberingInstance(e,t){const r=this.abstractNumberingMap.get(e);if(!r)return;const n=`${e}-${t}`;if(this.concreteNumberingMap.has(n))return;const i=this.referenceConfigMap.get(e),o=i&&i[0].start,s={numId:this.concreteNumUniqueNumericId(),abstractNumId:r.id,reference:e,instance:t,overrideLevels:["number"==typeof o&&Number.isInteger(o)?{num:0,start:o}:{num:0,start:1}]};this.concreteNumberingMap.set(n,new Hp(s))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}}class Vp extends We{constructor(e){super("w:compat"),e.version&&this.root.push(new zi({name:"w:compatSetting",attributes:{version:{key:"w:val",value:e.version},name:{key:"w:name",value:"compatibilityMode"},uri:{key:"w:uri",value:"http://schemas.microsoft.com/office/word"}}})),e.useSingleBorderforContiguousCells&&this.root.push(new Pi("w:useSingleBorderforContiguousCells",e.useSingleBorderforContiguousCells)),e.wordPerfectJustification&&this.root.push(new Pi("w:wpJustification",e.wordPerfectJustification)),e.noTabStopForHangingIndent&&this.root.push(new Pi("w:noTabHangInd",e.noTabStopForHangingIndent)),e.noLeading&&this.root.push(new Pi("w:noLeading",e.noLeading)),e.spaceForUnderline&&this.root.push(new Pi("w:spaceForUL",e.spaceForUnderline)),e.noColumnBalance&&this.root.push(new Pi("w:noColumnBalance",e.noColumnBalance)),e.balanceSingleByteDoubleByteWidth&&this.root.push(new Pi("w:balanceSingleByteDoubleByteWidth",e.balanceSingleByteDoubleByteWidth)),e.noExtraLineSpacing&&this.root.push(new Pi("w:noExtraLineSpacing",e.noExtraLineSpacing)),e.doNotLeaveBackslashAlone&&this.root.push(new Pi("w:doNotLeaveBackslashAlone",e.doNotLeaveBackslashAlone)),e.underlineTrailingSpaces&&this.root.push(new Pi("w:ulTrailSpace",e.underlineTrailingSpaces)),e.doNotExpandShiftReturn&&this.root.push(new Pi("w:doNotExpandShiftReturn",e.doNotExpandShiftReturn)),e.spacingInWholePoints&&this.root.push(new Pi("w:spacingInWholePoints",e.spacingInWholePoints)),e.lineWrapLikeWord6&&this.root.push(new Pi("w:lineWrapLikeWord6",e.lineWrapLikeWord6)),e.printBodyTextBeforeHeader&&this.root.push(new Pi("w:printBodyTextBeforeHeader",e.printBodyTextBeforeHeader)),e.printColorsBlack&&this.root.push(new Pi("w:printColBlack",e.printColorsBlack)),e.spaceWidth&&this.root.push(new Pi("w:wpSpaceWidth",e.spaceWidth)),e.showBreaksInFrames&&this.root.push(new Pi("w:showBreaksInFrames",e.showBreaksInFrames)),e.subFontBySize&&this.root.push(new Pi("w:subFontBySize",e.subFontBySize)),e.suppressBottomSpacing&&this.root.push(new Pi("w:suppressBottomSpacing",e.suppressBottomSpacing)),e.suppressTopSpacing&&this.root.push(new Pi("w:suppressTopSpacing",e.suppressTopSpacing)),e.suppressSpacingAtTopOfPage&&this.root.push(new Pi("w:suppressSpacingAtTopOfPage",e.suppressSpacingAtTopOfPage)),e.suppressTopSpacingWP&&this.root.push(new Pi("w:suppressTopSpacingWP",e.suppressTopSpacingWP)),e.suppressSpBfAfterPgBrk&&this.root.push(new Pi("w:suppressSpBfAfterPgBrk",e.suppressSpBfAfterPgBrk)),e.swapBordersFacingPages&&this.root.push(new Pi("w:swapBordersFacingPages",e.swapBordersFacingPages)),e.convertMailMergeEsc&&this.root.push(new Pi("w:convMailMergeEsc",e.convertMailMergeEsc)),e.truncateFontHeightsLikeWP6&&this.root.push(new Pi("w:truncateFontHeightsLikeWP6",e.truncateFontHeightsLikeWP6)),e.macWordSmallCaps&&this.root.push(new Pi("w:mwSmallCaps",e.macWordSmallCaps)),e.usePrinterMetrics&&this.root.push(new Pi("w:usePrinterMetrics",e.usePrinterMetrics)),e.doNotSuppressParagraphBorders&&this.root.push(new Pi("w:doNotSuppressParagraphBorders",e.doNotSuppressParagraphBorders)),e.wrapTrailSpaces&&this.root.push(new Pi("w:wrapTrailSpaces",e.wrapTrailSpaces)),e.footnoteLayoutLikeWW8&&this.root.push(new Pi("w:footnoteLayoutLikeWW8",e.footnoteLayoutLikeWW8)),e.shapeLayoutLikeWW8&&this.root.push(new Pi("w:shapeLayoutLikeWW8",e.shapeLayoutLikeWW8)),e.alignTablesRowByRow&&this.root.push(new Pi("w:alignTablesRowByRow",e.alignTablesRowByRow)),e.forgetLastTabAlignment&&this.root.push(new Pi("w:forgetLastTabAlignment",e.forgetLastTabAlignment)),e.adjustLineHeightInTable&&this.root.push(new Pi("w:adjustLineHeightInTable",e.adjustLineHeightInTable)),e.autoSpaceLikeWord95&&this.root.push(new Pi("w:autoSpaceLikeWord95",e.autoSpaceLikeWord95)),e.noSpaceRaiseLower&&this.root.push(new Pi("w:noSpaceRaiseLower",e.noSpaceRaiseLower)),e.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new Pi("w:doNotUseHTMLParagraphAutoSpacing",e.doNotUseHTMLParagraphAutoSpacing)),e.layoutRawTableWidth&&this.root.push(new Pi("w:layoutRawTableWidth",e.layoutRawTableWidth)),e.layoutTableRowsApart&&this.root.push(new Pi("w:layoutTableRowsApart",e.layoutTableRowsApart)),e.useWord97LineBreakRules&&this.root.push(new Pi("w:useWord97LineBreakRules",e.useWord97LineBreakRules)),e.doNotBreakWrappedTables&&this.root.push(new Pi("w:doNotBreakWrappedTables",e.doNotBreakWrappedTables)),e.doNotSnapToGri
1dInCell&&this.root.push(new Pi("w:doNotSnapToGridInCell",e.doNotSnapToGridInCell)),e.selectFieldWithFirstOrLastCharacter&&this.root.push(new Pi("w:selectFldWithFirstOrLastChar",e.selectFieldWithFirstOrLastCharacter)),e.applyBreakingRules&&this.root.push(new Pi("w:applyBreakingRules",e.applyBreakingRules)),e.doNotWrapTextWithPunctuation&&this.root.push(new Pi("w:doNotWrapTextWithPunct",e.doNotWrapTextWithPunctuation)),e.doNotUseEastAsianBreakRules&&this.root.push(new Pi("w:doNotUseEastAsianBreakRules",e.doNotUseEastAsianBreakRules)),e.useWord2002TableStyleRules&&this.root.push(new Pi("w:useWord2002TableStyleRules",e.useWord2002TableStyleRules)),e.growAutofit&&this.root.push(new Pi("w:growAutofit",e.growAutofit)),e.useFELayout&&this.root.push(new Pi("w:useFELayout",e.useFELayout)),e.useNormalStyleForList&&this.root.push(new Pi("w:useNormalStyleForList",e.useNormalStyleForList)),e.doNotUseIndentAsNumberingTabStop&&this.root.push(new Pi("w:doNotUseIndentAsNumberingTabStop",e.doNotUseIndentAsNumberingTabStop)),e.useAlternateEastAsianLineBreakRules&&this.root.push(new Pi("w:useAltKinsokuLineBreakRules",e.useAlternateEastAsianLineBreakRules)),e.allowSpaceOfSameStyleInTable&&this.root.push(new Pi("w:allowSpaceOfSameStyleInTable",e.allowSpaceOfSameStyleInTable)),e.doNotSuppressIndentation&&this.root.push(new Pi("w:doNotSuppressIndentation",e.doNotSuppressIndentation)),e.doNotAutofitConstrainedTables&&this.root.push(new Pi("w:doNotAutofitConstrainedTables",e.doNotAutofitConstrainedTables)),e.autofitToFirstFixedWidthCell&&this.root.push(new Pi("w:autofitToFirstFixedWidthCell",e.autofitToFirstFixedWidthCell)),e.underlineTabInNumberingList&&this.root.push(new Pi("w:underlineTabInNumList",e.underlineTabInNumberingList)),e.displayHangulFixedWidth&&this.root.push(new Pi("w:displayHangulFixedWidth",e.displayHangulFixedWidth)),e.splitPgBreakAndParaMark&&this.root.push(new Pi("w:splitPgBreakAndParaMark",e.splitPgBreakAndParaMark)),e.doNotVerticallyAlignCellWithSp&&this.root.push(new Pi("w:doNotVertAlignCellWithSp",e.doNotVerticallyAlignCellWithSp)),e.doNotBreakConstrainedForcedTable&&this.root.push(new Pi("w:doNotBreakConstrainedForcedTable",e.doNotBreakConstrainedForcedTable)),e.ignoreVerticalAlignmentInTextboxes&&this.root.push(new Pi("w:doNotVertAlignInTxbx",e.ignoreVerticalAlignmentInTextboxes)),e.useAnsiKerningPairs&&this.root.push(new Pi("w:useAnsiKerningPairs",e.useAnsiKerningPairs)),e.cachedColumnBalance&&this.root.push(new Pi("w:cachedColBalance",e.cachedColumnBalance))}}class $p extends Ke{constructor(){super(...arguments),Ue(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 Xp extends We{constructor(e){var t,r,n,i,o,s,a,u;super("w:settings"),this.root.push(new $p({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 Pi("w:displayBackgroundShape",!0)),void 0!==e.trackRevisions&&this.root.push(new Pi("w:trackRevisions",e.trackRevisions)),void 0!==e.evenAndOddHeaders&&this.root.push(new Pi("w:evenAndOddHeaders",e.evenAndOddHeaders)),void 0!==e.updateFields&&this.root.push(new Pi("w:updateFields",e.updateFields)),void 0!==e.defaultTabStop&&this.root.push(new Ui("w:defaultTabStop",e.defaultTabStop)),void 0!==(null==(t=e.hyphenation)?void 0:t.autoHyphenation)&&this.root.push(new Pi("w:autoHyphenation",e.hyphenation.autoHyphenation)),void 0!==(null==(r=e.hyphenation)?void 0:r.hyphenationZone)&&this.root.push(new Ui("w:hyphenationZone",e.hyphenation.hyphenationZone)),void 0!==(null==(n=e.hyphenation)?void 0:n.consecutiveHyphenLimit)&&this.root.push(new Ui("w:consecutiveHyphenLimit",e.hyphenation.consecutiveHyphenLimit)),void 0!==(null==(i=e.hyphenation)?void 0:i.doNotHyphenate
1Caps)&&this.root.push(new Pi("w:doNotHyphenateCaps",e.hyphenation.doNotHyphenateCaps)),this.root.push(new Vp(Be(Fe({},null!=(o=e.compatibility)?o:{}),{version:null!=(u=null!=(a=null==(s=e.compatibility)?void 0:s.version)?a:e.compatibilityModeVersion)?u:15})))}}class qp extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{val:"w:val"})}}class Zp extends We{constructor(e){super("w:name"),this.root.push(new qp({val:e}))}}class Yp extends We{constructor(e){super("w:uiPriority"),this.root.push(new qp({val:wi(e)}))}}class Jp extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}}class Qp extends We{constructor(e,t){super("w:style"),this.root.push(new Jp(e)),t.name&&this.root.push(new Zp(t.name)),t.basedOn&&this.root.push(new Bi("w:basedOn",t.basedOn)),t.next&&this.root.push(new Bi("w:next",t.next)),t.link&&this.root.push(new Bi("w:link",t.link)),void 0!==t.uiPriority&&this.root.push(new Yp(t.uiPriority)),void 0!==t.semiHidden&&this.root.push(new Pi("w:semiHidden",t.semiHidden)),void 0!==t.unhideWhenUsed&&this.root.push(new Pi("w:unhideWhenUsed",t.unhideWhenUsed)),void 0!==t.quickFormat&&this.root.push(new Pi("w:qFormat",t.quickFormat))}}class ed extends Qp{constructor(e){super({type:"paragraph",styleId:e.id},e),Ue(this,"paragraphProperties"),Ue(this,"runProperties"),this.paragraphProperties=new ll(e.paragraph),this.runProperties=new Io(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}class td extends Qp{constructor(e){super({type:"character",styleId:e.id},Fe({uiPriority:99,unhideWhenUsed:!0},e)),Ue(this,"runProperties"),this.runProperties=new Io(e.run),this.root.push(this.runProperties)}}class rd extends ed{constructor(e){super(Fe({basedOn:"Normal",next:"Normal",quickFormat:!0},e))}}class nd extends rd{constructor(e){super(Fe({id:"Title",name:"Title"},e))}}class id extends rd{constructor(e){super(Fe({id:"Heading1",name:"Heading 1"},e))}}class od extends rd{constructor(e){super(Fe({id:"Heading2",name:"Heading 2"},e))}}class sd extends rd{constructor(e){super(Fe({id:"Heading3",name:"Heading 3"},e))}}class ad extends rd{constructor(e){super(Fe({id:"Heading4",name:"Heading 4"},e))}}class ud extends rd{constructor(e){super(Fe({id:"Heading5",name:"Heading 5"},e))}}class ld extends rd{constructor(e){super(Fe({id:"Heading6",name:"Heading 6"},e))}}class cd extends rd{constructor(e){super(Fe({id:"Strong",name:"Strong"},e))}}class hd extends ed{constructor(e){super(Fe({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},e))}}class pd extends ed{constructor(e){super(Fe({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:ku.AUTO}},run:{size:20}},e))}}class dd extends td{constructor(e){super(Fe({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}}class fd extends td{constructor(e){super(Fe({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},e))}}class md extends ed{constructor(e){super(Fe({id:"EndnoteText",name:"endnote text",link:"EndnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:ku.AUTO}},run:{size:20}},e))}}class wd extends td{constructor(e){super(Fe({id:"EndnoteReference",name:"endnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}}class gd extends td{constructor(e){super(Fe({id:"EndnoteTextChar",name:"Endnote Text Char",basedOn:"DefaultParagraphFont",link:"EndnoteText",semiHidden:!0,run:{size:20}},e))}}class yd extends td{constructor(e){super(Fe({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:So.SINGLE}}},e))}}class bd extends We{constructor(e){if(super("w:styles"),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(const t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(const t of e.paragraphStyles)this.root.push(new ed(t));if(e.characterStyles)for(const t of e.characterStyles)this.root.push(new td(t))}}class vd extends We{constructor(e){super("w:pPrDefault"),this.root.push(new ll(e))}}class xd extends We{constructor(e){super("w:rPrDefault"),this.root.push(new Io(e))}}class _d extends We{constructor(e){super("w:docDefaults"),Ue(this,"runPropertiesDefaults"),Ue(this,"paragraphPropertiesDefaults"),this.runPropertiesDefaults=new xd(e.run),this.paragraphPropertiesDefaults=new vd(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}
1class Ed{newInstance(e){const t=li.xml2js(e,{compact:!1});let r;for(const e of t.elements||[])"w:styles"===e.name&&(r=e);if(void 0===r)throw new Error("can not find styles element");const n=r.elements||[];return{initialStyles:new di(r.attributes),importedStyles:n.map(e=>ci(e))}}}class Td{newInstance(e={}){var t;return{initialStyles:new ch(["mc","r","w","w14","w15"],"w14 w15"),importedStyles:[new _d(null!=(t=e.document)?t:{}),new nd(Fe({run:{size:56}},e.title)),new id(Fe({run:{color:"2E74B5",size:32}},e.heading1)),new od(Fe({run:{color:"2E74B5",size:26}},e.heading2)),new sd(Fe({run:{color:"1F4D78",size:24}},e.heading3)),new ad(Fe({run:{color:"2E74B5",italics:!0}},e.heading4)),new ud(Fe({run:{color:"2E74B5"}},e.heading5)),new ld(Fe({run:{color:"1F4D78"}},e.heading6)),new cd(Fe({run:{bold:!0}},e.strong)),new hd(e.listParagraph||{}),new yd(e.hyperlink||{}),new dd(e.footnoteReference||{}),new pd(e.footnoteText||{}),new fd(e.footnoteTextChar||{}),new wd(e.endnoteReference||{}),new md(e.endnoteText||{}),new gd(e.endnoteTextChar||{})]}}}class Sd{constructor(e){var t,r,n,i,o,s,a,u,l,c,h,p,d;if(Ue(this,"currentRelationshipId",1),Ue(this,"documentWrapper"),Ue(this,"headers",[]),Ue(this,"footers",[]),Ue(this,"coreProperties"),Ue(this,"numbering"),Ue(this,"media"),Ue(this,"fileRelationships"),Ue(this,"footnotesWrapper"),Ue(this,"endnotesWrapper"),Ue(this,"settings"),Ue(this,"contentTypes"),Ue(this,"customProperties"),Ue(this,"appProperties"),Ue(this,"styles"),Ue(this,"comments"),Ue(this,"fontWrapper"),this.coreProperties=new hh(Be(Fe({},e),{creator:null!=(t=e.creator)?t:"Un-named",revision:null!=(r=e.revision)?r:1,lastModifiedBy:null!=(n=e.lastModifiedBy)?n:"Un-named"})),this.numbering=new Kp(e.numbering?e.numbering:{config:[]}),this.comments=new eu(null!=(i=e.comments)?i:{children:[]}),this.fileRelationships=new Va,this.customProperties=new yh(null!=(o=e.customProperties)?o:[]),this.appProperties=new ih,this.footnotesWrapper=new yp,this.endnotesWrapper=new up,this.contentTypes=new uh,this.documentWrapper=new Jh({background:e.background}),this.settings=new Xp({compatibilityModeVersion:e.compatabilityModeVersion,compatibility:e.compatibility,evenAndOddHeaders:!!e.evenAndOddHeaderAndFooters,trackRevisions:null==(s=e.features)?void 0:s.trackRevisions,updateFields:null==(a=e.features)?void 0:a.updateFields,defaultTabStop:e.defaultTabStop,hyphenation:{autoHyphenation:null==(u=e.hyphenation)?void 0:u.autoHyphenation,hyphenationZone:null==(l=e.hyphenation)?void 0:l.hyphenationZone,consecutiveHyphenLimit:null==(c=e.hyphenation)?void 0:c.consecutiveHyphenLimit,doNotHyphenateCaps:null==(h=e.hyphenation)?void 0:h.doNotHyphenateCaps}}),this.media=new _p,void 0!==e.externalStyles){const t=(new Td).newInstance(null==(p=e.styles)?void 0:p.default),r=(new Ed).newInstance(e.externalStyles);this.styles=new bd(Be(Fe({},r),{importedStyles:[...t.importedStyles,...r.importedStyles]}))}else if(e.styles){const t=(new Td).newInstance(e.styles.default);this.styles=new bd(Fe(Fe({},t),e.styles))}else{const e=new Td;this.styles=new bd(e.newInstance())}this.addDefaultRelationships();for(const t of e.sections)this.addSection(t);if(e.footnotes)for(const t in e.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(t),e.footnotes[t].children);if(e.endnotes)for(const t in e.endnotes)this.endnotesWrapper.View.createEndnote(parseFloat(t),e.endnotes[t].children);this.fontWrapper=new il(null!=(d=e.fonts)?d:[])}addSection({headers:e={},footers:t={},children:r,properties:n}){this.documentWrapper.View.Body.addSection(Be(Fe({},n),{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:t.default?this.createFooter(t.default):void 0,first:t.first?this.createFooter(t.first):void 0,even:t.even?this.createFooter(t.even):void 0}}));for(const e of r)this.documentWrapper.View.add(e)}createHeader(e){const t=new xp(this.media,this.currentRelationshipId++);for(const r of e.options.children)t.add(r);return this.addHeaderToDocument(t),t}createFooter(e){const t=new hp(this.media,this.currentRelationshipId++);for(const r of e.options.children)t.add(r);return this.addFooterToDocument(t),t}
1addHeaderToDocument(e,t=_h.DEFAULT){this.headers.push({header:e,type:t}),this.documentWrapper.Relationships.addRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(e,t=_h.DEFAULT){this.footers.push({footer:e,type:t}),this.documentWrapper.Relationships.addRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.addRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.addRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.addRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.addRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes","endnotes.xml"),this.documentWrapper.Relationships.addRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.documentWrapper.Relationships.addRelationship(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(e=>e.header)}get Footers(){return this.footers.map(e=>e.footer)}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Endnotes(){return this.endnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get FontTable(){return this.fontWrapper}}class Ad extends We{constructor(e={}){super("w:instrText"),Ue(this,"properties"),this.properties=e,this.root.push(new oo({space:io.PRESERVE}));let t="TOC";this.properties.captionLabel&&(t=`${t} \\a "${this.properties.captionLabel}"`),this.properties.entriesFromBookmark&&(t=`${t} \\b "${this.properties.entriesFromBookmark}"`),this.properties.captionLabelIncludingNumbers&&(t=`${t} \\c "${this.properties.captionLabelIncludingNumbers}"`),this.properties.sequenceAndPageNumbersSeparator&&(t=`${t} \\d "${this.properties.sequenceAndPageNumbersSeparator}"`),this.properties.tcFieldIdentifier&&(t=`${t} \\f "${this.properties.tcFieldIdentifier}"`),this.properties.hyperlink&&(t=`${t} \\h`),this.properties.tcFieldLevelRange&&(t=`${t} \\l "${this.properties.tcFieldLevelRange}"`),this.properties.pageNumbersEntryLevelsRange&&(t=`${t} \\n "${this.properties.pageNumbersEntryLevelsRange}"`),this.properties.headingStyleRange&&(t=`${t} \\o "${this.properties.headingStyleRange}"`),this.properties.entryAndPageNumberSeparator&&(t=`${t} \\p "${this.properties.entryAndPageNumberSeparator}"`),this.properties.seqFieldIdentifierForPrefix&&(t=`${t} \\s "${this.properties.seqFieldIdentifierForPrefix}"`),this.properties.stylesWithLevels&&this.properties.stylesWithLevels.length&&(t=`${t} \\t "${this.properties.stylesWithLevels.map(e=>`${e.styleName},${e.level}`).join(",")}"`),this.properties.useAppliedParagraphOutlineLevel&&(t=`${t} \\u`),this.properties.preserveTabInEntries&&(t=`${t} \\w`),this.properties.preserveNewLineInEntries&&(t=`${t} \\x`),this.properties.hideTabAndPageNumbersInWebView&&(t=`${t} \\z`),this.root.push(t)}}class kd extends We{constructor(){super("w:sdtContent")}}class Rd extends We{constructor(e){super("w:sdtPr"),e&&this.root.push(new Bi("w:alias",e))}}class Id extends Uu{constructor(e="Table of Contents",t={}){var r=t,{contentChildren:n=[],cachedEntries:i=[],beginDirty:o=!0}=r,s=Me(r,["contentChildren","cachedEntries","beginDirty"]);super("w:sdt"),this.root.push(new Rd(e));const a=new kd,u=[new Po({children:[Ji(o),new Ad(s),Qi()]})],l=[new Po({children:[eo()]})];if(void 0!==i&&i.length>0){const{stylesWithLevels:e}=s,t=i.map((t,r)=>{var n,o;const a=this.buildCachedContentParagraphChild(t,s),c=null!=(o=null==(n=null==e?void 0:e.find(e=>e.level===t.level))?void 0:n.styleName)?o:`TOC${t.level}`,h=0===r?[...u,a]:r===i.length-1?[a,...l]:[a];return new hl({style:c,tabStops:this.getTabStopsForLevel(t.level),children:h})});let r=t;i.length<=1&&(r=[...t,new hl({children:l})]);for(const e of r)a.addChildElement(e)}else{const e=new hl({children:u});a.addChildElement(e);for(const e of n)a.addChildElement(e);const t=new hl({children:l});a.addChildElement(t)}this.root.push(a)}getTabStopsForLevel(e,t=9025){return[{type:"clear",position:t+1-240*(e-1)}
1,{type:"right",position:t,leader:"dot"}]}buildCachedContentRun(e,t){var r,n;return new Po({style:(null==t?void 0:t.hyperlink)&&void 0!==e.href?"IndexLink":void 0,children:[new Oo({text:e.title}),new wu,new Oo({text:null!=(n=null==(r=e.page)?void 0:r.toString())?n:""})]})}buildCachedContentParagraphChild(e,t){const r=this.buildCachedContentRun(e,t);return(null==t?void 0:t.hyperlink)&&void 0!==e.href?new Wu({anchor:e.href,children:[r]}):r}}class Nd{constructor(e,t){Ue(this,"styleName"),Ue(this,"level"),this.styleName=e,this.level=t}}class Cd{constructor(e={children:[]}){Ue(this,"options"),this.options=e}}class Od{constructor(e={children:[]}){Ue(this,"options"),this.options=e}}class Dd extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"w:id"})}}class Pd extends We{constructor(e){super("w:footnoteReference"),this.root.push(new Dd({id:e}))}}class Ld extends Po{constructor(e){super({style:"FootnoteReference"}),this.root.push(new Pd(e))}}class Fd extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{id:"w:id"})}}class Bd extends We{constructor(e){super("w:endnoteReference"),this.root.push(new Fd({id:e}))}}class Md extends Po{constructor(e){super({style:"EndnoteReference"}),this.root.push(new Bd(e))}}class Ud extends Ke{constructor(){super(...arguments),Ue(this,"xmlKeys",{val:"w14:val",symbolfont:"w14:font"})}}class Hd extends We{constructor(e,t,r){super(e),this.root.push(new Ud(r?{val:vi(t),symbolfont:r}:{val:t}))}}class jd extends We{constructor(e){var t,r,n,i,o,s,a,u;let l,c;super("w14:checkbox"),Ue(this,"DEFAULT_UNCHECKED_SYMBOL","2610"),Ue(this,"DEFAULT_CHECKED_SYMBOL","2612"),Ue(this,"DEFAULT_FONT","MS Gothic"),this.root.push(new Hd("w14:checked",(null==e?void 0:e.checked)?"1":"0")),l=(null==(t=null==e?void 0:e.checkedState)?void 0:t.value)?null==(r=null==e?void 0:e.checkedState)?void 0:r.value:this.DEFAULT_CHECKED_SYMBOL,c=(null==(n=null==e?void 0:e.checkedState)?void 0:n.font)?null==(i=null==e?void 0:e.checkedState)?void 0:i.font:this.DEFAULT_FONT,this.root.push(new Hd("w14:checkedState",l,c)),l=(null==(o=null==e?void 0:e.uncheckedState)?void 0:o.value)?null==(s=null==e?void 0:e.uncheckedState)?void 0:s.value:this.DEFAULT_UNCHECKED_SYMBOL,c=(null==(a=null==e?void 0:e.uncheckedState)?void 0:a.font)?null==(u=null==e?void 0:e.uncheckedState)?void 0:u.font:this.DEFAULT_FONT,this.root.push(new Hd("w14:uncheckedState",l,c))}}class zd extends We{constructor(e){var t,r,n,i;super("w:sdt"),Ue(this,"DEFAULT_UNCHECKED_SYMBOL","2610"),Ue(this,"DEFAULT_CHECKED_SYMBOL","2612"),Ue(this,"DEFAULT_FONT","MS Gothic");const o=new Rd(null==e?void 0:e.alias);o.addChildElement(new jd(e)),this.root.push(o);const s=new kd,a=null==(t=null==e?void 0:e.checkedState)?void 0:t.font,u=null==(r=null==e?void 0:e.checkedState)?void 0:r.value,l=null==(n=null==e?void 0:e.uncheckedState)?void 0:n.font,c=null==(i=null==e?void 0:e.uncheckedState)?void 0:i.value;let h,p;(null==e?void 0:e.checked)?(h=a||this.DEFAULT_FONT,p=u||this.DEFAULT_CHECKED_SYMBOL):(h=l||this.DEFAULT_FONT,p=c||this.DEFAULT_UNCHECKED_SYMBOL);const d=new Mo({char:p,symbolfont:h});s.addChildElement(d),this.root.push(s)}}const Wd=({children:e=[]})=>new zi({name:"w:txbxContent",children:e}),Gd=({style:e,children:t,inset:r})=>new zi({name:"v:textbox",attributes:{style:{key:"style",value:e},insetMode:{key:"insetmode",value:r?"custom":"auto"},inset:{key:"inset",value:r?`${r.left}, ${r.top}, ${r.right}, ${r.bottom}`:void 0}},children:[Wd({children:t})]}),Kd={flip:"flip",height:"height",left:"left",marginBottom:"margin-bottom",marginLeft:"margin-left",marginRight:"margin-right",marginTop:"margin-top",positionHorizontal:"mso-position-horizontal",positionHorizontalRelative:"mso-position-horizontal-relative",positionVertical:"mso-position-vertical",positionVerticalRelative:"mso-position-vertical-relative",wrapDistanceBottom:"mso-wrap-distance-bottom",wrapDistanceLeft:"mso-wrap-distance-left",wrapDistanceRight:"mso-wrap-distance-right",wrapDistanceTop:"mso-wrap-distance-top",wrapEdited:"mso-wrap-edited",wrapStyle:"mso-wrap-style",position:"position",rotation:"rotation",top:"top",visibility:"visibility",width:"width",zIndex:"z-index"},Vd=e=>e?Object.entries(e).map(([e,t])=>`${Kd[e]}:${t}`).join(";"):void 0,$d=({id:e,children:t,type:r="#_x0000_t202",style:n})=>new zi({name:"v:shape",attributes:{id:{key:"id",value:e},type:{key:"type",value:r},style:{key:"style",value:Vd(n)}},children:[Gd({style:"mso-fit-shape-to-text:t;",children:t})]});class Xd extends Uu{constructor(e){var t=e,{style:r,children:n}=t,i=Me(t,["style","children"]);super("w:p"),this.root.push(new ll(i)),this.root.push((({shape:e})=>new zi({name:"w:pict",children:[e]}))({shape:$d({children:n,id:vs(),style:r})}))}}var qd,Zd=ge(),Yd={exports:{}},Jd=(qd||(qd=1,Yd.exports=function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){if(!a&&Re)return Re(s);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[s]={exports:{}};t[s][0].call(l.exports,function(e){return i(t[s][1][e]||e)},l,l.exports,e,t,r,n)}return r[s].exports}for(var o=Re,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(e,t,r){var n=e("./utils"),i=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 6,028 bytes, line 1
1+/=";r.encode=function(e){for(var t,r,i,s,a,u,l=[],c=0,h=e.length,p=h,d="string"!==n.getTypeOf(e);c<e.length;)p=h-c,i=d?(t=e[c++],r=c<h?e[c++]:0,c<h?e[c++]:0):(t=e.charCodeAt(c++),r=c<h?e.charCodeAt(c++):0,c<h?e.charCodeAt(c++):0),s=(3&t)<<4|r>>4,a=1<p?(15&r)<<2|i>>6:64,u=2<p?63&i:64,l.push(o.charAt(t>>2)+o.charAt(s)+o.charAt(a)+o.charAt(u));return l.join("")},r.decode=function(e){var t,r,n,s,a,u,l=0,c=0,h="data:";if(e.substr(0,5)===h)throw new Error("Invalid base64 input, it looks like a data url.");var p,d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&d--,e.charAt(e.length-2)===o.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(p=i.uint8array?new Uint8Array(0|d):new Array(0|d);l<e.length;)t=o.indexOf(e.charAt(l++))<<2|(s=o.indexOf(e.charAt(l++)))>>4,r=(15&s)<<4|(a=o.indexOf(e.charAt(l++)))>>2,n=(3&a)<<6|(u=o.indexOf(e.charAt(l++))),p[c++]=t,64!==a&&(p[c++]=r),64!==u&&(p[c++]=n);return p}},{"./support":30,"./utils":32}],2:[function(e,t,r){function n(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}var i=e("./external"),o=e("./stream/DataWorker"),s=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");n.prototype={getContentWorker:function(){var e=new o(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new o(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},n.createWorkerFrom=function(e,t,r){return e.pipe(new s).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=n},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){var n=e("./utils"),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r){var n=i,o=0+r;e^=-1;for(var s=0;s<o;s++)e=e>>>8^n[255&(e^t[s])];return-1^e}(0|t,e,e.length):function(e,t,r){var n=i,o=0+r;e^=-1;for(var s=0;s<o;s++)e=e>>>8^n[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,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(e,t,r){var n;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){function n(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,o=e("pako"),s=e("./utils"),a=e("./stream/GenericWorker"),u=i?"uint8array":"array";r.magic="\b\0",s.inherits(n,a),n.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(u,e.data),!1)},n.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},n.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},n.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new n("Deflate",e)},r.uncompressWorker=function(){return new n("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){function n(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function i(e,t,r,i,o,a){var h,p,d=e.file,f=e.compression,m=a!==u.utf8encode,w=s.transformTo("string",a(d.name)),g=s.transformTo("string",u.utf8encode(d.name)),y=d.comment,b=s.transformTo("string",a(y)),v=s.transformTo("string",u.utf8encode(y)),x=g.length!==d.name.length,_=v.length!==y.length,E="",T="",S="",A=d.dir,k=d.date,R={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(R.crc32=e.crc32,R.compressedSize=e.compressedSize,R.uncompressedSize=e.uncompressedSize);var I=0;t&&(I|=8),m||!x&&!_||(I|=2048);var N,C,O=0,D=0;A&&(O|=16),"UNIX"===o?(D=798,O|=(C=N=d.unixPermissions,N||(C=A?16893:33204),(65535&C)<<16)):(D=20,O|=function(e){return 63&(e||0)}(d.dosPermissions)),h=k.getUTCHours(),h<<=6,h|=k.getUTCMinutes(),h<<=5,h|=k.getUTCSeconds()/2,p=k.getUTCFullYear()-1980,p<<=4,p|=k.getUTCMonth()+1,p<<=5,p|=k.getUTCDate(),x&&(T=n(1,1)+n(l(w),4)+g,E+="up"+n(T.length,2)+T),_&&(S=n(1,1)+n(l(b),4)+v,E+="uc"+n(S.length,2)+S);var P="";return P+="\n\0",P+=n(I,2),P+=f.magic,P+=n(h,2),P+=n(p,2),P+=n(R.crc32,4),P+=n(R.compressedSize,4),P+=n(R.uncompressedSize,4),P+=n(w.length,2),P+=n(E.length,2),{fileRecord:c.LOCAL_FILE_HEADER+P+w+E,dirRecord:c.CENTRAL_FILE_HEADER+n(D,2)+P+n(b.length,2)+"\0\0\0\0"+n(O,4)+n(i,4)+w+E+b}}function o(e,t,r,n){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}var s=e("../utils"),a=e("../stream/GenericWorker"),u=e("../utf8"),l=e("../crc32"),c=e("../signature");s.inherits(o,a),o.prototype.push=function(e){var t=e.meta.percent||0,r
vendor: 4,486 bytes, line 1
1=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},o.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},o.prototype.closedSource=function(e){this.accumulate=!1;var t,r=this.streamFiles&&!e.file.dir,o=i(e,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(o.dirRecord),r)this.push({data:(t=e,c.DATA_DESCRIPTOR+n(t.crc32,4)+n(t.compressedSize,4)+n(t.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:o.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},o.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r,i,o,a,u=(r=this.dirRecords.length,i=this.bytesWritten-e,o=e,a=s.transformTo("string",(0,this.encodeFileName)(this.zipComment)),c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(r,2)+n(r,2)+n(i,4)+n(o,4)+n(a.length,2)+a);this.push({data:u,meta:{percent:100}})},o.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},o.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},o.prototype.error=function(e){var t=this._sources;if(!a.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},o.prototype.lock=function(){a.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=o},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){var n=e("../compressions"),i=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var o=new i(t.streamFiles,r,t.platform,t.encodeFileName),s=0;try{e.forEach(function(e,r){s++;var i=function(e,t){var r=e||t,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),a=r.dir,u=r.date;r._compressWorker(i,r.options.compressionOptions||t.compressionOptions||{}).withStreamInfo("file",{name:e,dir:a,date:u,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(o)}),o.entriesCount=s}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,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 e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){function n(e){return new o.Promise(function(t,r){var n=e.decompressed.getContentWorker().pipe(new u);n.on("error",function(e){r(e)}).on("end",function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}var i=e("./utils"),o=e("./external"),s=e("./utf8"),a=e("./zipEntries"),u=e("./stream/Crc32Probe"),l=e("./nodejsUtils");t.exports=function(e,t){var r=this;return t=i.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),l.isNode&&l.isStream(e)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip f
1ile",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var r=new a(t);return r.load(e),r}).then(function(e){var r=[o.Promise.resolve(e)],i=e.files;if(t.checkCRC32)for(var s=0;s<i.length;s++)r.push(n(i[s]));return o.Promise.all(r)}).then(function(e){for(var n=e.shift(),o=n.files,s=0;s<o.length;s++){var a=o[s],u=a.fileNameStr,l=i.resolve(a.fileNameStr);r.file(l,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:t.createFolders}),a.dir||(r.file(l).unsafeOriginalName=u)}return n.zipComment.length&&(r.comment=n.zipComment),r})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){function n(e,t){o.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}var i=e("../utils"),o=e("../stream/GenericWorker");i.inherits(n,o),n.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},n.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){function n(e,t,r){i.call(this,t),this._helper=e;var n=this;e.on("data",function(e,t){n.push(e)||n._helper.pause(),r&&r(t)}).on("error",function(e){n.emit("error",e)}).on("end",function(){n.push(null)})}var i=e("readable-stream").Readable;e("../utils").inherits(n,i),n.prototype._read=function(){this._helper.resume()},t.exports=n},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){function n(e,t,r){var n,i=s.getTypeOf(t),o=s.extend(r||{},l);o.date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),"string"==typeof o.unixPermissions&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(e=w(e)),o.createFolders&&(n=m(e))&&g.call(this,n,!0),r&&void 0!==r.binary||(o.binary=!("string"===i&&!1===o.binary&&!1===o.base64)),(t instanceof c&&0===t.uncompressedSize||o.dir||!t||0===t.length)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",i="string");var u;u=t instanceof c||t instanceof a?t:d.isNode&&d.isStream(t)?new f(e,t):s.prepareContent(e,t,o.binary,o.optimizedBinaryString,o.base64);var p=new h(e,u,o);this.files[e]=p}function i(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var o=e("./utf8"),s=e("./utils"),a=e("./stream/GenericWorker"),u=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),h=e("./zipObject"),p=e("./generate"),d=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),m=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},w=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=w(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];
1return this.forEach(function(r,n){e(r,n)&&t.push(n)}),t},file:function(e,t,r){if(1!==arguments.length)return n.call(this,e=this.root+e,t,r),this;if(i(e)){var o=e;return this.filter(function(e,t){return!t.dir&&o.test(e)})}var s=this.files[this.root+e];return s&&!s.dir?s:null},folder:function(e){if(!e)return this;if(i(e))return this.filter(function(t,r){return r.dir&&e.test(t)});var t=g.call(this,this.root+e),r=this.clone();return r.root=t.name,r},remove:function(e){var t=this.files[e=this.root+e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter(function(t,r){return r.name.slice(0,e.length)===e}),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(e){var t,r={};try{if((r=s.extend(e||{},{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.");s.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS"),t=p.generateWorker(this,r,r.comment||this.comment||"")}catch(e){(t=new a("error")).error(e)}return new u(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.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(e,t,r){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){function n(e){i.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}var i=e("./DataReader");e("../utils").inherits(n,i),n.prototype.byteAt=function(e){return this.data[this.zero+e]},n.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===r&&this.data[o+2]===n&&this.data[o+3]===i)return o-this.zero;return-1},n.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&r===o[1]&&n===o[2]&&i===o[3]},n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){function n(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}var i=e("../utils");n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=n},{"../utils":32}],19:[function(e,t,r){function n(e){i.call(this,e)}var i=e("./Uint8ArrayReader");e("../utils").inherits(n,i),n.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){function n(e){i.call(this,e)}var i=e("./DataReader");e("../utils").inherits(n,i),n.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},n.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},n.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},n.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t}
vendor: 11,203 bytes, line 1
1,t.exports=n},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){function n(e){i.call(this,e)}var i=e("./ArrayReader");e("../utils").inherits(n,i),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){var n=e("../utils"),i=e("../support"),o=e("./ArrayReader"),s=e("./StringReader"),a=e("./NodeBufferReader"),u=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new a(e):i.uint8array?new u(n.transformTo("uint8array",e)):new o(n.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){r.LOCAL_FILE_HEADER="PK��",r.CENTRAL_FILE_HEADER="PK��",r.CENTRAL_DIRECTORY_END="PK��",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK��",r.ZIP64_CENTRAL_DIRECTORY_END="PK��",r.DATA_DESCRIPTOR="PK�\b"},{}],24:[function(e,t,r){function n(e){i.call(this,"ConvertWorker to "+e),this.destType=e}var i=e("./GenericWorker"),o=e("../utils");o.inherits(n,i),n.prototype.processChunk=function(e){this.push({data:o.transformTo(this.destType,e.data),meta:e.meta})},t.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){function n(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}var i=e("./GenericWorker"),o=e("../crc32");e("../utils").inherits(n,i),n.prototype.processChunk=function(e){this.streamInfo.crc32=o(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){function n(e){o.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}var i=e("../utils"),o=e("./GenericWorker");i.inherits(n,o),n.prototype.processChunk=function(e){e&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+e.data.length),o.prototype.processChunk.call(this,e)},t.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){function n(e){o.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}var i=e("../utils"),o=e("./GenericWorker");i.inherits(n,o),n.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){function n(e){this.name=e||"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(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),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 e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},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 e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,t,r){function n(e,t,r){var n=t;switch(t){case"blob":case"arraybuffer":n="uint8array";break;case"base64":n="string"}try{this._internalType=n,this._outputType=t,this._mimeType=r,i.checkSupport(n),this._worker=e.pipe(new o(n)),e.lock()}catch(e){this._worker=new s("error"),this._worker.error(e)}}var i=e("../utils"),o=e("./ConvertWorker"),s=e("./GenericWorker"),a=e("../base64"),u=e("../support"),l=e("../external"),c=null;if(u.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}n.prototype={accumulate:function(e){return function(e,t){return new l.Promise(function(r,n){var o=[],s=e._internalType,u=e._outputType,l=e._mimeType;e.on("data",function(e,r){o.push(e),t&&t(r)}).on("error",function(e){o=[],n(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),r);case"base64":return a.encode(t);default:return i.transformTo(e,t)}}(u,function(e,t){var r,n=0,i=null,o=0;for(r=0;r<t.length;r++)o+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(o),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(s,o),l);r(e)}catch(e){n(e)}o=[]}).resume()})}(this,e)},on:function(e,t){var r=this;return this._worker.on(e,"data"===e?function(e){t.call(r,e.data,e.meta)}:function(){i.delay(t,arguments,r)}),this},resume:function(){return i.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(i.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=n},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,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(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),r.blob=0===i.getBlob("application/zip").size}catch(e){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(e){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){function n(){u.call(this,"utf-8 decode"),this.leftOver=null}function i(){u.call(this,"utf-8 encode")}for(var o=e("./utils"),s=e("./support"),a=e("./nodejsUtils"),u=e("./stream/GenericWorker"),l=new Array(256),c=0;c<256;c++)l[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;l[254]=l[254]=1,r.utf8encode=function(e){return s.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var t,r,n,i,o,a=e.length,u=0;for(i=0;i<a;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=s.uint8array?new Uint8Array(u):new Array(u),i=o=0;o<u;i++)55296==(64512&(r=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(n=e.charCodeAt(i+1)))&&(r=65536+(r-55296<<10)+(n-56320),i++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t}(e)},r.utf8decode=function(e){return s.nodebuffer?o.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,n,i,s=e.length,a=new Array(2*s);for(t=r=0;t<s;)if((n=e[t++])<128)a[r++]=n;else if(4<(i=l[n]))a[r++]=65533,t+=i-1;else{for(n&=2===i?31:3===i?15:7;1<i&&t<s;)n=n<<6|63&e[t++],i--;1<i?a[r++]=65533:n<65536?a[r++]=n:(a[r++]=55296|(n-=65536)>>10&1023,a[r++]=56320|1023&n)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),o.applyFromCharCode(a)}(e=o.transformTo(s.uint8array?"uint8array":"array",e))},o.inherits(n,u),n.prototype.processChunk=function(e){var t=o.transformTo(s.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var n=t;(t=new Uint8Array(n.length+this.leftOver.length)).set(this.leftOver,0),t.set(n,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var i=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+l[e[r]]>t?r:t}(t),a=t;i!==t.length&&(s.uint8array?(a=t.subarray(0,i),this.leftOver=t.subarray(i,t.length)):(a=t.slice(0,i),this.leftOver=t.slice(i,t.length))),this.push({data:r.utf8decode(a),meta:e.meta})},n.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=n,o.inherits(i,u),i.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=i},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){function n(e){return e}function i(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}function o(e){var t=65536,n=r.getTypeOf(e),i=!0;if("uint8array"===n?i=h.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=h.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return h.stringifyByChunk(e,n,t)}catch(e){t=Math.floor(t/2)}return h.stringifyByChar(e)}function s(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}var a=e("./support"),u=e("./base64"),l=e("./nodejsUtils"),c=e("./external");
vendor: 6,305 bytes, line 1
1e("setimmediate"),r.newBlob=function(e,t){r.checkSupport("blob");try{return new Blob([e],{type:t})}catch(r){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(t)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(e,t,r){var n=[],i=0,o=e.length;if(o<=r)return String.fromCharCode.apply(null,e);for(;i<o;)n.push(String.fromCharCode.apply(null,"array"===t||"nodebuffer"===t?e.slice(i,Math.min(i+r,o)):e.subarray(i,Math.min(i+r,o)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&1===String.fromCharCode.apply(null,l.allocBuffer(1)).length}catch(e){return!1}}()}};r.applyFromCharCode=o;var p={};p.string={string:n,array:function(e){return i(e,new Array(e.length))},arraybuffer:function(e){return p.string.uint8array(e).buffer},uint8array:function(e){return i(e,new Uint8Array(e.length))},nodebuffer:function(e){return i(e,l.allocBuffer(e.length))}},p.array={string:o,array:n,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return l.newBufferFrom(e)}},p.arraybuffer={string:function(e){return o(new Uint8Array(e))},array:function(e){return s(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:n,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return l.newBufferFrom(new Uint8Array(e))}},p.uint8array={string:o,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:n,nodebuffer:function(e){return l.newBufferFrom(e)}},p.nodebuffer={string:o,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return p.nodebuffer.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:n},r.transformTo=function(e,t){if(t=t||"",!e)return t;r.checkSupport(e);var n=r.getTypeOf(t);return p[n][e](t)},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":a.nodebuffer&&l.isBuffer(e)?"nodebuffer":a.uint8array&&e instanceof Uint8Array?"uint8array":a.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!a[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){setImmediate(function(){e.apply(r||null,t||[])})},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,n,o,s){return c.Promise.resolve(t).then(function(e){return a.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new c.Promise(function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)}):e}).then(function(t){var l,h=r.getTypeOf(t);return h?("arraybuffer"===h?t=r.transformTo("uint8array",t):"string"===h&&(s?t=u.decode(t):n&&!0!==o&&(t=i(l=t,a.uint8array?new Uint8Array(l.length):new Array(l.length)))),t):c.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){function n(e){this.files=[],this.loadOptions=e}var i=e("./reader/readerFor"),o=e("./utils"),s=e("./signature"),a=e("./zipEntry"),u=e("./support");n.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(t)+", expected "+o.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;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 e=this.reader.readData(this.zipCommentLength),t=o.transformTo(u.uint8array?"uint8array":"array",e);this.zipComment=this.loadOptions.decodeFileName(t)},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 e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,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 e,t;for(e=0;e<this.files.length;e++)this.reader.setIndex((t=this.files[e]).localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;
vendor: 4,643 bytes, line 1
1for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(e=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);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 e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,s.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(e);var t=e;if(this.checkSignature(s.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,(e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.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(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,s.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=i(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=n},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){function n(e,t){this.options=e,this.loadOptions=t}var i=e("./reader/readerFor"),o=e("./utils"),s=e("./compressedObject"),a=e("./crc32"),u=e("./utf8"),l=e("./compressions"),c=e("./support");n.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.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===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];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 s(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=i(this.extraFields[1].value);
vendor: 2,524 bytes, line 1
1this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=o.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var i=o.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=i(e.value);return 1!==t.readInt(1)||a(this.fileName)!==t.readInt(4)?null:u.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=i(e.value);return 1!==t.readInt(1)||a(this.fileComment)!==t.readInt(4)?null:u.utf8decode(t.readData(e.length-5))}return null}},t.exports=n},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var i=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),s=e("./utf8"),a=e("./compressedObject"),u=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!n&&(t=t.pipe(new s.Utf8EncodeWorker)),!o&&n&&(t=t.pipe(new s.Utf8DecodeWorker))}catch(e){(t=new u("error")).error(e)}return new i(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)}
vendor: 8,808 bytes, line 1
1,nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new s.Utf8EncodeWorker)),a.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof u?this._data:new o(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],c=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<l.length;h++)n.prototype[l[h]]=c;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){function r(){var e,t;i=!0;for(var r=c.length;r;){for(t=c,c=[],e=-1;++e<r;)t[e]();r=c.length}i=!1}var n,i,o=e.MutationObserver||e.WebKitMutationObserver;if(o){var s=0,a=new o(r),u=e.document.createTextNode("");a.observe(u,{characterData:!0}),n=function(){u.data=s=++s%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){r(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(r,0)};else{var l=new e.MessageChannel;l.port1.onmessage=r,n=function(){l.port2.postMessage(0)}}var c=[];t.exports=function(e){1!==c.push(e)||i||n()}}).call(this,void 0!==Je?Je:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){function n(){}function i(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=f,this.queue=[],this.outcome=void 0,e!==n&&u(this,e)}function o(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function s(e,t,r){c(function(){var n;try{n=t(r)}catch(t){return h.reject(e,t)}n===e?h.reject(e,new TypeError("Cannot resolve promise with itself")):h.resolve(e,n)})}function a(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function u(e,t){function r(t){i||(i=!0,h.reject(e,t))}function n(t){i||(i=!0,h.resolve(e,t))}var i=!1,o=l(function(){t(n,r)});"error"===o.status&&r(o.value)}function l(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}var c=e("immediate"),h={},p=["REJECTED"],d=["FULFILLED"],f=["PENDING"];(t.exports=i).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})},i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,t){if("function"!=typeof e&&this.state===d||"function"!=typeof t&&this.state===p)return this;var r=new this.constructor(n);return this.state!==f?s(r,this.state===d?e:t,this.outcome):this.queue.push(new o(r,e,t)),r},o.prototype.callFulfilled=function(e){h.resolve(this.promise,e)},o.prototype.otherCallFulfilled=function(e){s(this.promise,this.onFulfilled,e)},o.prototype.callRejected=function(e){h.reject(this.promise,e)},o.prototype.otherCallRejected=function(e){s(this.promise,this.onRejected,e)},h.resolve=function(e,t){var r=l(a,t);if("error"===r.status)return h.reject(e,r.value);var n=r.value;if(n)u(e,n);else{e.state=d,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},h.reject=function(e,t){e.state=p,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},i.resolve=function(e){return e instanceof this?e:h.resolve(new this(n),e)},i.reject=function(e){var t=new this(n);return h.reject(t,e)},i.all=function(e){function t(e,t){r.resolve(e).then(function(e){s[t]=e,++a!==i||o||(o=!0,h.resolve(l,s))},function(e){o||(o=!0,h.reject(l,e))})}var r=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var i=e.length,o=!1;if(!i)return this.resolve([]);for(var s=new Array(i),a=0,u=-1,l=new this(n);++u<i;)t(e[u],u);return l},i.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,r=!1;if(!t)return this.resolve([]);for(var i=-1,o=new this(n);++i<t;)this.resolve(e[i]).then(function(e){r||(r=!0,h.resolve(o,e))},function(e){r||(r=!0,h.reject(o,e))});return o}},{immediate:36}],38:[function(e,t,r){var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){function n(e){if(!(this instanceof n))return new n(e);this.options=s.assign({level:p,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=o.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==h)throw new Error(u[r]);if(t.header&&o.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(i="string"==typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=o.deflateSetDictionary(this.strm,i))!==h)throw new Error(u[r]);this._dict_set=!0}}function i(e,t){var r=new n(t);if(r.push(e,!0),r.err)throw r.msg||u[r.err];return r.result}var o=e("./zlib/deflate"),s=e("./utils/common"),a=e("./utils/strings"),u=e("./zlib/messages"),l=e("./zlib/zstream"),c=Object.prototype.toString,h=0,p=-1,d=0,f=8;n.prototype.push=function(e,t){var r,n,i=this.strm,u=this.options.chunkSize;if(this.ended)return!1;n=t===~~t?t:!0===t?4:0,i.input="string"==typeof e?a.string2buf(e):"[object ArrayBuffer]"===c.call(e)?new Uint8Array(e):e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new s.Buf8(u),i.next_out=0,i.avail_out=u),1!==(r=o.deflate(i,n))&&r!==h)return this.onEnd(r),!(this.ended=!0);0!==i.avail_out&&(0!==i.avail_in||4!==n&&2!==n)||this.onData("string"===this.options.to?a.buf2binstring(s.shrinkBuf(i.output,i.next_out)):s.shrinkBuf(i.output,i.next_out))}while((0<i.avail_in||0===i.avail_out)&&1!==r);return 4===n?(r=o.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===h):2!==n||(this.onEnd(h),!(i.avail_out=0))},n.prototype.onData=function(e){this.chunks.push(e)},n.prototype.onEnd=function(e){e===h&&(this.result="string"===this.options.to?this.chunks.join(""):s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=n,r.deflate=i,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,i(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,i(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){function n(e){if(!(this instanceof n))return new n(e);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=o.inflateInit2(this.strm,t.windowBits);if(r!==u.Z_OK)throw new Error(l[r]);this.header=new h,o.inflateGetHeader(this.strm,this.header)}function i(e,t){var r=new n(t);if(r.push(e,!0),r.err)throw r.msg||l[r.err];return r.result}var o=e("./zlib/inflate"),s=e("./utils/common"),a=e("./utils/strings"),u=e("./zlib/constants"),l=e("./zlib/messages"),c=e("./zlib/zstream"),h=e("./zlib/gzheader"),p=Object.prototype.toString;n.prototype.push=function(e,t){var r,n,i,l,c,h,d=this.strm,f=this.options.chunkSize,m=this.options.dictionary,w=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?u.Z_FINISH:u.Z_NO_FLUSH,d.input="string"==typeof e?a.binstring2buf(e):"[object ArrayBuffer]"===p.call(e)?new Uint8Array(e):e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new s.Buf8(f),d.next_out=0,d.avail_out=f),(r=o.inflate(d,u.Z_NO_FLUSH))===u.Z_NEED_DICT&&m&&(h="string"==typeof m?a.string2buf(m):"[object ArrayBuffer]"===p.call(m)?new Uint8Array(m):m,r=o.inflateSetDictionary(this.strm,h)),r
vendor: 4,282 bytes, line 1
1===u.Z_BUF_ERROR&&!0===w&&(r=u.Z_OK,w=!1),r!==u.Z_STREAM_END&&r!==u.Z_OK)return this.onEnd(r),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&r!==u.Z_STREAM_END&&(0!==d.avail_in||n!==u.Z_FINISH&&n!==u.Z_SYNC_FLUSH)||("string"===this.options.to?(i=a.utf8border(d.output,d.next_out),l=d.next_out-i,c=a.buf2string(d.output,i),d.next_out=l,d.avail_out=f-l,l&&s.arraySet(d.output,d.output,i,l,0),this.onData(c)):this.onData(s.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(w=!0)}while((0<d.avail_in||0===d.avail_out)&&r!==u.Z_STREAM_END);return r===u.Z_STREAM_END&&(n=u.Z_FINISH),n===u.Z_FINISH?(r=o.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===u.Z_OK):n!==u.Z_SYNC_FLUSH||(this.onEnd(u.Z_OK),!(d.avail_out=0))},n.prototype.onData=function(e){this.chunks.push(e)},n.prototype.onEnd=function(e){e===u.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=n,r.inflate=i,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,i(e,t)},r.ungzip=i},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){var t,r,n,i,o,s;for(t=n=0,r=e.length;t<r;t++)n+=e[t].length;for(s=new Uint8Array(n),t=i=0,r=e.length;t<r;t++)s.set(o=e[t],i),i+=o.length;return s}},o={arraySet:function(e,t,r,n,i){for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,i)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,o))},r.setTyped(n)},{}],42:[function(e,t,r){function n(e,t){if(t<65537&&(e.subarray&&s||!e.subarray&&o))return String.fromCharCode.apply(null,i.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}var i=e("./common"),o=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){s=!1}for(var a=new i.Buf8(256),u=0;u<256;u++)a[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;a[254]=a[254]=1,r.string2buf=function(e){var t,r,n,o,s,a=e.length,u=0;for(o=0;o<a;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),u+=r<128?1:r<2048?2:r<65536?3:4;for(t=new i.Buf8(u),o=s=0;s<u;o++)55296==(64512&(r=e.charCodeAt(o)))&&o+1<a&&56320==(64512&(n=e.charCodeAt(o+1)))&&(r=65536+(r-55296<<10)+(n-56320),o++),r<128?t[s++]=r:(r<2048?t[s++]=192|r>>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t},r.buf2binstring=function(e){return n(e,e.length)},r.binstring2buf=function(e){for(var t=new i.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,i,o,s,u=t||e.length,l=new Array(2*u);for(r=i=0;r<u;)if((o=e[r++])<128)l[i++]=o;else if(4<(s=a[o]))l[i++]=65533,r+=s-1;else{for(o&=2===s?31:3===s?15:7;1<s&&r<u;)o=o<<6|63&e[r++],s--;1<s?l[i++]=65533:o<65536?l[i++]=o:(l[i++]=55296|(o-=65536)>>10&1023,l[i++]=56320|1023&o)}return n(l,i)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){t.exports=function(e,t,r,n){for(var i=65535&e,o=e>>>16&65535,s=0;0!==r;){for(r-=s=2e3<r?2e3:r;o=o+(i=i+t[n++]|0)|0,--s;);i%=65521,o%=65521}return i|o<<16}},{}],44:[function(e,t,r){t.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_ER
vendor: 4,833 bytes, line 1
1ROR:-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(e,t,r){var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var o=n,s=i+r;e^=-1;for(var a=i;a<s;a++)e=e>>>8^o[255&(e^t[a])];return-1^e}},{}],46:[function(e,t,r){function n(e,t){return e.msg=T[t],t}function i(e){return(e<<1)-(4<e?9:0)}function o(e){for(var t=e.length;0<=--t;)e[t]=0}function s(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(v.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function a(e,t){x._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,s(e.strm)}function u(e,t){e.pending_buf[e.pending++]=t}function l(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function c(e,t){var r,n,i=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,u=e.strstart>e.w_size-j?e.strstart-(e.w_size-j):0,l=e.window,c=e.w_mask,h=e.prev,p=e.strstart+H,d=l[o+s-1],f=l[o+s];e.prev_length>=e.good_match&&(i>>=2),a>e.lookahead&&(a=e.lookahead);do{if(l[(r=t)+s]===f&&l[r+s-1]===d&&l[r]===l[o]&&l[++r]===l[o+1]){o+=2,r++;do{}while(l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&l[++o]===l[++r]&&o<p);if(n=H-(p-o),o=p-H,s<n){if(e.match_start=t,a<=(s=n))break;d=l[o+s-1],f=l[o+s]}}}while((t=h[t&c])>u&&0!=--i);return s<=e.lookahead?s:e.lookahead}function h(e){var t,r,n,i,o,s,a,u,l,c,h=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=h+(h-j)){for(v.arraySet(e.window,e.window,h,h,0),e.match_start-=h,e.strstart-=h,e.block_start-=h,t=r=e.hash_size;n=e.head[--t],e.head[t]=h<=n?n-h:0,--r;);for(t=r=h;n=e.prev[--t],e.prev[t]=h<=n?n-h:0,--r;);i+=h}if(0===e.strm.avail_in)break;if(a=e.window,u=e.strstart+e.lookahead,c=void 0,(l=i)<(c=(s=e.strm).avail_in)&&(c=l),r=0===c?0:(s.avail_in-=c,v.arraySet(a,s.input,s.next_in,c,u),1===s.state.wrap?s.adler=_(s.adler,a,c,u):2===s.state.wrap&&(s.adler=E(s.adler,a,c,u)),s.next_in+=c,s.total_in+=c,c),e.lookahead+=r,e.lookahead+e.insert>=U)for(e.ins_h=e.window[o=e.strstart-e.insert],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+U-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<U)););}while(e.lookahead<j&&0!==e.strm.avail_in)}function p(e,t){for(var r,n;;){if(e.lookahead<j){if(h(e),e.lookahead<j&&t===S)return G;if(0===e.lookahead)break}if(r=0,e.lookahead>=U&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+U-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-j&&(e.match_length=c(e,r)),e.match_length>=U)if(n=x._tr_tally(e,e.strstart-e.match_start,e.match_length-U),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=U){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+U-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=x._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(a(e,!1),0===e.strm.avail_out))return G}return e.insert=e.strstart<U-1?e.strstart:U-1,t===A?(a(e,!0),0===e.strm.avail_out?V:X):e.last_lit&&(a(e,!1),0===e.strm.avail_out)?G:K}function d(e,t){for(var r,n,i;;){if(e.lookahead<j){if(h(e),e.lookahead<j&&t===S)return G;if(0===e.lookahead)break}if(r=0,e.lookahead>=U&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+U-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=U-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-j&&(e.match_length=c(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===U&&4096<e.strstart-e.match_start)&&(e.match_length=U-1)),e.prev_length>=U&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-U,n=x._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-U),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+U-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=U-1,e.strstart++,n&&(a(e,!1),0===e.strm.avail_out))return G}
vendor: 7,021 bytes, line 1
1else if(e.match_available){if((n=x._tr_tally(e,0,e.window[e.strstart-1]))&&a(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return G}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=x._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<U-1?e.strstart:U-1,t===A?(a(e,!0),0===e.strm.avail_out?V:X):e.last_lit&&(a(e,!1),0===e.strm.avail_out)?G:K}function f(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function m(){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=O,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 v.Buf16(2*B),this.dyn_dtree=new v.Buf16(2*(2*L+1)),this.bl_tree=new v.Buf16(2*(2*F+1)),o(this.dyn_ltree),o(this.dyn_dtree),o(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new v.Buf16(M+1),this.heap=new v.Buf16(2*P+1),o(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new v.Buf16(2*P+1),o(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 w(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=C,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?z:W,e.adler=2===t.wrap?0:1,t.last_flush=S,x._tr_init(t),k):n(e,R)}function g(e){var t,r=w(e);return r===k&&((t=e.state).window_size=2*t.w_size,o(t.head),t.max_lazy_match=b[t.level].max_lazy,t.good_match=b[t.level].good_length,t.nice_match=b[t.level].nice_length,t.max_chain_length=b[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=U-1,t.match_available=0,t.ins_h=0),r}function y(e,t,r,i,o,s){if(!e)return R;var a=1;if(t===I&&(t=6),i<0?(a=0,i=-i):15<i&&(a=2,i-=16),o<1||D<o||r!==O||i<8||15<i||t<0||9<t||s<0||N<s)return n(e,R);8===i&&(i=9);var u=new m;return(e.state=u).strm=e,u.wrap=a,u.gzhead=null,u.w_bits=i,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+U-1)/U),u.window=new v.Buf8(2*u.w_size),u.head=new v.Buf16(u.hash_size),u.prev=new v.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new v.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=s,u.method=r,g(e)}var b,v=e("../utils/common"),x=e("./trees"),_=e("./adler32"),E=e("./crc32"),T=e("./messages"),S=0,A=4,k=0,R=-2,I=-1,N=4,C=2,O=8,D=9,P=286,L=30,F=19,B=2*P+1,M=15,U=3,H=258,j=H+U+1,z=42,W=113,G=1,K=2,V=3,X=4;b=[new f(0,0,0,0,function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(h(e),0===e.lookahead&&t===S)return G;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,a(e,!1),0===e.strm.avail_out))return G;if(e.strstart-e.block_start>=e.w_size-j&&(a(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===A?(a(e,!0),0===e.strm.avail_out?V:X):(e.strstart>e.block_start&&a(e,!1),G)}),new f(4,4,8,4,p),new f(4,5,16,8,p),new f(4,6,32,32,p),new f(4,4,16,16,d),new f(8,16,32,32,d),new f(8,16,128,128,d),new f(8,32,128,256,d),new f(32,128,258,1024,d),new f(32,258,258,4096,d)],r.deflateInit=function(e,t){return y(e,t,O,15,8,0)},r.deflateInit2=y,r.deflateReset=g,r.deflateResetKeep=w,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?R:(e.state.gzhead=t,k):R},r.deflate=function(e,t){var r,c,p,d;if(!e||!e.state||5<t||t<0)return e?n(e,R):R;if(c=e.state,!e.output||!e.input&&0!==e.avail_in||666===c.status&&t!==A)return n(e,0===e.avail_out?-5:R);if(c.strm=e,r=c.last_flush,c.last_flush=t,c.status===z)if(2===c.wrap)e.adler=0,u(c,31),u(c,139),u(c,8),c.gzhead?(u(c,(c.gzhead.text?1:0)+(c.gzhead.hcrc?2:0)+(c.gzhead.extra?4:0)+(c.gzhead.name?8:0)+(c.gzhead.comment?16:0)),u(c,255&c.gzhead.time),u(c,c.gzhead.time>>8&255),u(c,c.gzhead.time>>16&255),u(c,c.gzhead.time>>24&255),u(c,9===c.level?2:2<=c.strategy||c.level<2?4:0),u(c,255&c.gzhead.os),c.gzhead.extra&&c.gzhead.extra.length&&(u(c,255&c.gzhead.extra.length),u(c,c.gzhead.extra.length>>8&255)),c.gzhead.hcrc&&(e.adler=E(e.adler,c.pending_buf,c.pending,0)),c.gzindex=0,c.status=69):(u(c,0),u(c,0),u(c,0),u(c,0),u(c,0),u(c,9===c.level?2:2<=c.strategy||c.level<2?4:0),u(c,3),c.status=W);else{var f=O+(c.w_bits-8<<4)<<8;f|=(2<=c.strategy||c.level<2?0:c.level<6?1:6===c.level?2:3)<<6,0!==c.strstart&&(f|=32),f+=31-f%31,c.status=W,l(c,f),0!==c.strstart&&(l(c,e.adler>>>16),l(c,65535&e.adler)),e.adler=1}if(69===c.status)if(c.gzhead.extra){for(p=c.pending;c.gzindex<(65535&c.gzhead.extra.length)&&(c.pending!==c.pending_buf_size||(c.gzhead.hcrc&&c.pending>p&&(e.adler=E(e.adler,c.pending_buf,c.pending-p,p)),s(e),p=c.pending,c.pending!==c.pending_buf_size));)u(c,255&c.gzhead.extra[c.gzindex]),c.gzindex++;c.gzhead.hcrc&&c.pending>p&&(e.adler=E(e.adler,c.pending_buf,c.pending-p,p)),c.gzindex===c.gzhead.extra.length&&(c.gzindex=0,c.status=73)}else c.status=73;if(73===c.status)if(c.gzhead.name){p=c.pending;do{if(c.pending===c.pending_buf_size&&(c.gzhead.hcrc&&c.pending>p&&(e.adler=E(e.adler,c.pending_buf,c.pending-p,p)),s(e),p=c.pending,c.pending===c.pending_buf_size)){d=1;break}d=c.gzindex<c.gzhead.name.length?255&c.gzhead.name.charCodeAt(c.gzindex++):0,u(c,d)}while(0!==d);c.gzhead.hcrc&&c.pending>p&&(e.adler=E(e.adler,c.pending_buf,c.pending-p,p)),0===d&&(c.gzindex=0,c.status=91)}else c.status=91;if(91===c.status)if(c.gzhead.comment){p=c.pending;do{if(c.pending===c.pending_buf_size&&(c.gzhead.hcrc&&c.pending>p&&(e.adler=E(e.adler,c.pending_buf,c.pending-p,p)),s(e),p=c.pending,c.pending===c.pending_buf_size)){d=1;break}d=c.gzindex<c.gzhead.comment.length?255&c.gzhead.comment.charCodeAt(c.gzindex++):0,u(c,d)}while(0!==d);c.gzhead.hcrc&&c.pending>p&&(e.adler=E(e.adler,c.pending_buf,c.pending-p,p)),0===d&&(c.status=103)}else c.status=103;if(103===c.status&&(c.gzhead.hcrc?(c.pending+2>c.pending_buf_size&&s(e),c.pending+2<=c.pending_buf_size&&(u(c,255&e.adler),u(c,e.adler>>8&255),e.adler=0,c.status=W)):c.status=W),0!==c.pending){if(s(e),0===e.avail_out)return c.last_flush=-1,k}else if(0===e.avail_in&&i(t)<=i(r)&&t!==A)return n(e,-5);if(666===c.status&&0!==e.avail_in)return n(e,-5);if(0!==e.avail_in||0!==c.lookahead||t!==S&&666!==c.status){var m=2===c.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(h(e),0===e.lookahead)){if(t===S)return G;break}
vendor: 17,162 bytes, line 1
1if(e.match_length=0,r=x._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(a(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===A?(a(e,!0),0===e.strm.avail_out?V:X):e.last_lit&&(a(e,!1),0===e.strm.avail_out)?G:K}(c,t):3===c.strategy?function(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=H){if(h(e),e.lookahead<=H&&t===S)return G;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=U&&0<e.strstart&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){o=e.strstart+H;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);e.match_length=H-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=U?(r=x._tr_tally(e,1,e.match_length-U),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=x._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(a(e,!1),0===e.strm.avail_out))return G}return e.insert=0,t===A?(a(e,!0),0===e.strm.avail_out?V:X):e.last_lit&&(a(e,!1),0===e.strm.avail_out)?G:K}(c,t):b[c.level].func(c,t);if(m!==V&&m!==X||(c.status=666),m===G||m===V)return 0===e.avail_out&&(c.last_flush=-1),k;if(m===K&&(1===t?x._tr_align(c):5!==t&&(x._tr_stored_block(c,0,0,!1),3===t&&(o(c.head),0===c.lookahead&&(c.strstart=0,c.block_start=0,c.insert=0))),s(e),0===e.avail_out))return c.last_flush=-1,k}return t!==A?k:c.wrap<=0?1:(2===c.wrap?(u(c,255&e.adler),u(c,e.adler>>8&255),u(c,e.adler>>16&255),u(c,e.adler>>24&255),u(c,255&e.total_in),u(c,e.total_in>>8&255),u(c,e.total_in>>16&255),u(c,e.total_in>>24&255)):(l(c,e.adler>>>16),l(c,65535&e.adler)),s(e),0<c.wrap&&(c.wrap=-c.wrap),0!==c.pending?k:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==z&&69!==t&&73!==t&&91!==t&&103!==t&&t!==W&&666!==t?n(e,R):(e.state=null,t===W?n(e,-3):k):R},r.deflateSetDictionary=function(e,t){var r,n,i,s,a,u,l,c,p=t.length;if(!e||!e.state)return R;if(2===(s=(r=e.state).wrap)||1===s&&r.status!==z||r.lookahead)return R;for(1===s&&(e.adler=_(e.adler,t,p,0)),r.wrap=0,p>=r.w_size&&(0===s&&(o(r.head),r.strstart=0,r.block_start=0,r.insert=0),c=new v.Buf8(r.w_size),v.arraySet(c,t,p-r.w_size,r.w_size,0),t=c,p=r.w_size),a=e.avail_in,u=e.next_in,l=e.input,e.avail_in=p,e.next_in=0,e.input=t,h(r);r.lookahead>=U;){for(n=r.strstart,i=r.lookahead-(U-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+U-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=U-1,h(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=U-1,r.match_available=0,e.next_in=u,e.input=l,e.avail_in=a,r.wrap=s,k},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){t.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(e,t,r){t.exports=function(e,t){var r,n,i,o,s,a,u,l,c,h,p,d,f,m,w,g,y,b,v,x,_,E,T,S,A;S=e.input,i=(n=e.next_in)+(e.avail_in-5),A=e.output,s=(o=e.next_out)-(t-e.avail_out),a=o+(e.avail_out-257),u=(r=e.state).dmax,l=r.wsize,c=r.whave,h=r.wnext,p=r.window,d=r.hold,f=r.bits,m=r.lencode,w=r.distcode,g=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;e:do{f<15&&(d+=S[n++]<<f,d+=S[n++]<<(f+=8),f+=8),b=m[d&g];t:for(;;){if(d>>>=v=b>>>24,f-=v,0==(v=b>>>16&255))A[o++]=65535&b;else{if(!(16&v)){if(!(64&v)){b=m[(65535&b)+(d&(1<<v)-1)];continue t}if(32&v){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}x=65535&b,(v&=15)&&(f<v&&(d+=S[n++]<<f,f+=8),x+=d&(1<<v)-1,d>>>=v,f-=v),f<15&&(d+=S[n++]<<f,d+=S[n++]<<(f+=8),f+=8),b=w[d&y];r:for(;;){if(d>>>=v=b>>>24,f-=v,!(16&(v=b>>>16&255))){if(!(64&v)){b=w[(65535&b)+(d&(1<<v)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(_=65535&b,f<(v&=15)&&(d+=S[n++]<<f,(f+=8)<v&&(d+=S[n++]<<f,f+=8)),u<(_+=d&(1<<v)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=v,f-=v,(v=o-s)<_){if(c<(v=_-v)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(T=p,(E=0)===h){if(E+=l-v,v<x){for(x-=v;A[o++]=p[E++],--v;);E=o-_,T=A}}else if(h<v){if(E+=l+h-v,(v-=h)<x){for(x-=v;A[o++]=p[E++],--v;);if(E=0,h<x){for(x-=v=h;A[o++]=p[E++],--v;);E=o-_,T=A}}}else if(E+=h-v,v<x){for(x-=v;A[o++]=p[E++],--v;);E=o-_,T=A}for(;2<x;)A[o++]=T[E++],A[o++]=T[E++],A[o++]=T[E++],x-=3;x&&(A[o++]=T[E++],1<x&&(A[o++]=T[E++]))}else{for(E=o-_;A[o++]=A[E++],A[o++]=A[E++],A[o++]=A[E++],2<(x-=3););x&&(A[o++]=A[E++],1<x&&(A[o++]=A[E++]))}break}}break}}while(n<i&&o<a);n-=x=f>>3,d&=(1<<(f-=x<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=o<a?a-o+257:257-(o-a),r.hold=d,r.bits=f}},{}],49:[function(e,t,r){function n(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function i(){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 d.Buf16(320),this.work=new d.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function o(e){var t;return e&&e.state?(e.total_in=e.total_out=(t=e.state).total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=_,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new d.Buf32(E),t.distcode=t.distdyn=new d.Buf32(T),t.sane=1,t.back=-1,v):x}function s(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,o(e)):x}function a(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?x:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,s(e))):x}function u(e,t){var r,n;return e?(n=new i,(e.state=n).window=null,(r=a(e,t))!==v&&(e.state=null),r):x}function l(e){if(S){var t;for(h=new d.Buf32(512),p=new d.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(g(y,e.lens,0,288,h,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;g(b,e.lens,0,32,p,0,e.work,{bits:5}),S=!1}e.lencode=h,e.lenbits=9,e.distcode=p,e.distbits=5}function c(e,t,r,n){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new d.Buf8(o.wsize)),n>=o.wsize?(d.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(n<(i=o.wsize-o.wnext)&&(i=n),d.arraySet(o.window,t,r-n,i,o.wnext),(n-=i)?(d.arraySet(o.window,t,r-n,n,0),o.wnext=n,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}var h,p,d=e("../utils/common"),f=e("./adler32"),m=e("./crc32"),w=e("./inffast"),g=e("./inftrees"),y=1,b=2,v=0,x=-2,_=1,E=852,T=592,S=!0;r.inflateReset=s,r.inflateReset2=a,r.inflateResetKeep=o,r.inflateInit=function(e){return u(e,15)},r.inflateInit2=u,r.inflate=function(e,t){var r,i,o,s,a,u,h,p,E,T,S,A,k,R,I,N,C,O,D,P,L,F,B,M,U=0,H=new d.Buf8(4),j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return x;12===(r=e.state).mode&&(r.mode=13),a=e.next_out,o=e.output,s=e.next_in,i=e.input,p=r.hold,E=r.bits,T=u=e.avail_in,S=h=e.avail_out,F=v;e:for(;;)switch(r.mode){case _:if(0===r.wrap){r.mode=13;break}for(;E<16;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if(2&r.wrap&&35615===p){H[r.check=0]=255&p,H[1]=p>>>8&255,r.check=m(r.check,H,2,0),E=p=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&p)<<8)+(p>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&p)){e.msg="unknown compression method",r.mode=30;break}if(E-=4,L=8+(15&(p>>>=4)),0===r.wbits)r.wbits=L;else if(L>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<L,e.adler=r.check=1,r.mode=512&p?10:12,E=p=0;break;case 2:for(;E<16;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if(r.flags=p,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=p>>8&1),512&r.flags&&(H[0]=255&p,H[1]=p>>>8&255,r.check=m(r.check,H,2,0)),E=p=0,r.mode=3;case 3:for(;E<32;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}r.head&&(r.head.time=p),512&r.flags&&(H[0]=255&p,H[1]=p>>>8&255,H[2]=p>>>16&255,H[3]=p>>>24&255,r.check=m(r.check,H,4,0)),E=p=0,r.mode=4;case 4:for(;E<16;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}r.head&&(r.head.xflags=255&p,r.head.os=p>>8),512&r.flags&&(H[0]=255&p,H[1]=p>>>8&255,r.check=m(r.check,H,2,0)),E=p=0,r.mode=5;case 5:if(1024&r.flags){for(;E<16;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}r.length=p,r.head&&(r.head.extra_len=p),512&r.flags&&(H[0]=255&p,H[1]=p>>>8&255,r.check=m(r.check,H,2,0)),E=p=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(u<(A=r.length)&&(A=u),A&&(r.head&&(L=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),d.arraySet(r.head.extra,i,s,A,L)),512&r.flags&&(r.check=m(r.check,i,A,s)),u-=A,s+=A,r.length-=A),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===u)break e;for(A=0;L=i[s+A++],r.head&&L&&r.length<65536&&(r.head.name+=String.fromCharCode(L)),L&&A<u;);if(512&r.flags&&(r.check=m(r.check,i,A,s)),u-=A,s+=A,L)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===u)break e;for(A=0;L=i[s+A++],r.head&&L&&r.length<65536&&(r.head.comment+=String.fromCharCode(L)),L&&A<u;);if(512&r.flags&&(r.check=m(r.check,i,A,s)),u-=A,s+=A,L)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;E<16;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if(p!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}E=p=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;E<32;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}e.adler=r.check=n(p),E=p=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=a,e.avail_out=h,e.next_in=s,e.avail_in=u,r.hold=p,r.bits=E,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){p>>>=7&E,E-=7&E,r.mode=27;break}for(;E<3;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}switch(r.last=1&p,E-=1,3&(p>>>=1)){case 0:r.mode=14;break;case 1:if(l(r),r.mode=20,6!==t)break;p>>>=2,E-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}p>>>=2,E-=2;break;case 14:for(p>>>=7&E,E-=7&E;E<32;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if((65535&p)!=(p>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&p,E=p=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(A=r.length){if(u<A&&(A=u),h<A&&(A=h),0===A)break e;d.arraySet(o,i,s,A,a),u-=A,s+=A,h-=A,a+=A,r.length-=A;break}r.mode=12;break;case 17:for(;E<14;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if(r.nlen=257+(31&p),E-=5,r.ndist=1+(31&(p>>>=5)),E-=5,r.ncode=4+(15&(p>>>=5)),p>>>=4,E-=4,286<r.nlen||30<r.ndist){e.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(;E<3;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}r.lens[j[r.have++]]=7&p,p>>>=3,E-=3}for(;r.have<19;)r.lens[j[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,F=g(0,r.lens,0,19,r.lencode,0,r.work,B={bits:r.lenbits}),r.lenbits=B.bits,F){e.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(;N=(U=r.lencode[p&(1<<r.lenbits)-1])>>>16&255,C=65535&U,!((I=U>>>24)<=E);){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if(C<16)p>>>=I,E-=I,r.lens[r.have++]=C;else{if(16===C){for(M=I+2;E<M;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if(p>>>=I,E-=I,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}L=r.lens[r.have-1],A=3+(3&p),p>>>=2,E-=2}else if(17===C){for(M=I+3;E<M;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}E-=I,L=0,A=3+(7&(p>>>=I)),p>>>=3,E-=3}else{for(M=I+7;E<M;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}E-=I,L=0,A=11+(127&(p>>>=I)),p>>>=7,E-=7}if(r.have+A>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;A--;)r.lens[r.have++]=L}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,F=g(y,r.lens,0,r.nlen,r.lencode,0,r.work,B={bits:r.lenbits}),r.lenbits=B.bits,F){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,F=g(b,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,B={bits:r.distbits}),r.distbits=B.bits,F){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=u&&258<=h){e.next_out=a,e.avail_out=h,e.next_in=s,e.avail_in=u,r.hold=p,r.bits=E,w(e,S),a=e.next_out,o=e.output,h=e.avail_out,s=e.next_in,i=e.input,u=e.avail_in,p=r.hold,E=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;N=(U=r.lencode[p&(1<<r.lenbits)-1])>>>16&255,C=65535&U,!((I=U>>>24)<=E);){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if(N&&!(240&N)){for(O=I,D=N,P=C;N=(U=r.lencode[P+((p&(1<<O+D)-1)>>O)])>>>16&255,C=65535&U,!(O+(I=U>>>24)<=E);){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}p>>>=O,E-=O,r.back+=O}if(p>>>=I,E-=I,r.back+=I,r.length=C,0===N){r.mode=26;break}if(32&N){r.back=-1,r.mode=12;break}if(64&N){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&N,r.mode=22;case 22:if(r.extra){for(M=r.extra;E<M;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}r.length+=p&(1<<r.extra)-1,p>>>=r.extra,E-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;N=(U=r.distcode[p&(1<<r.distbits)-1])>>>16&255,C=65535&U,!((I=U>>>24)<=E);){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if(!(240&N)){for(O=I,D=N,P=C;N=(U=r.distcode[P+((p&(1<<O+D)-1)>>O)])>>>16&255,C=65535&U,!(O+(I=U>>>24)<=E);){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}p>>>=O,E-=O,r.back+=O}if(p>>>=I,E-=I,r.back+=I,64&N){e.msg="invalid distance code",r.mode=30;break}r.offset=C,r.extra=15&N,r.mode=24;case 24:if(r.extra){for(M=r.extra;E<M;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}r.offset+=p&(1<<r.extra)-1,p>>>=r.extra,E-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===h)break e;if(r.offset>(A=S-h)){if((A=r.offset-A)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}k=A>r.wnext?r.wsize-(A-=r.wnext):r.wnext-A,A>r.length&&(A=r.length),R=r.window}else R=o,k=a-r.offset,A=r.length;for(h<A&&(A=h),h-=A,r.length-=A;o[a++]=R[k++],--A;);0===r.length&&(r.mode=21);break;case 26:if(0===h)break e;o[a++]=r.length,h--,r.mode=21;break;case 27:if(r.wrap){for(;E<32;){if(0===u)break e;u--,p|=i[s++]<<E,E+=8}if(e.total_out+=S-=h,r.total+=S,S&&(e.adler=r.check=r.flags?m(r.check,o,S,a-S):f(r.check,o,S,a-S)),S=h,(r.flags?p:n(p))!==r.check){e.msg="incorrect data check",r.mode=30;break}E=p=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;E<32;){if(0===u)break e;u--,p+=i[s++]<<E,E+=8}if(p!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}E=p=0}r.mode=29;case 29:F=1;break e;case 30:F=-3;break e;case 31:return-4;default:return x}return e.next_out=a,e.avail_out=h,e.next_in=s,e.avail_in=u,r.hold=p,r.bits=E,(r.wsize||S!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&c(e,e.output,e.next_out,S-e.avail_out)?(r.mode=31,-4):(S-=e.avail_out,e.total_in+=T-=e.avail_in,e.total_out+=S,r.total+=S,r.wrap&&S&&(e.adler=r.check=r.flags?m(r.check,o,S,e.next_out-S):f(r.check,o,S,e.next_out-S)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==T&&0===S||4===t)&&F===v&&(F=-5),F)},r.inflateEnd=function(e){if(!e||!e.state)return x;var t=e.state;return t.window&&(t.window=null),e.state=null,v},r.inflateGetHeader=function(e,t){var r;return e&&e.state&&2&(r=e.state).wrap?((r.head=t).done=!1,v):x},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?x:11===r.mode&&f(1,t,n,0)!==r.check?-3:c(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,v):x},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){var n=e("../utils/common"),i=[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],o=[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];t.exports=function(e,t,r,u,l,c,h,p){var d,f,m,w,g,y,b,v,x,_=p.bits,E=0,T=0,S=0,A=0,k=0,R=0,I=0,N=0,C=0,O=0,D=null,P=0,L=new n.Buf16(16),F=new n.Buf16(16),B=null,M=0;for(E=0;E<=15;E++)L[E]=0;for(T=0;T<u;T++)L[t[r+T]]++;for(k=_,A=15;1<=A&&0===L[A];A--);if(A<k&&(k=A),0===A)return l[c++]=20971520,l[c++]=20971520,p.bits=1,0;for(S=1;S<A&&0===L[S];S++);for(k<S&&(k=S),E=N=1;E<=15;E++)if(N<<=1,(N-=L[E])<0)return-1;if(0<N&&(0===e||1!==A))return-1;for(F[1]=0,E=1;E<15;E++)F[E+1]=F[E]+L[E];for(T=0;T<u;T++)0!==t[r+T]&&(h[F[t[r+T]]++]=T);if(y=0===e?(D=B=h,19):1===e?(D=i,P-=257,B=o,M-=257,256):(D=s,B=a,-1),E=S,g=c,I=T=O=0,m=-1,w=(C=1<<(R=k))-1,1===e&&852<C||2===e&&592<C)return 1;for(;;){for(b=E-I,x=h[T]<y?(v=0,h[T]):h[T]>
vendor: 7,480 bytes, line 1
1y?(v=B[M+h[T]],D[P+h[T]]):(v=96,0),d=1<<E-I,S=f=1<<R;l[g+(O>>I)+(f-=d)]=b<<24|v<<16|x,0!==f;);for(d=1<<E-1;O&d;)d>>=1;if(0!==d?(O&=d-1,O+=d):O=0,T++,0==--L[E]){if(E===A)break;E=t[r+h[T]]}if(k<E&&(O&w)!==m){for(0===I&&(I=k),g+=S,N=1<<(R=E-I);R+I<A&&!((N-=L[R+I])<=0);)R++,N<<=1;if(C+=1<<R,1===e&&852<C||2===e&&592<C)return 1;l[m=O&w]=k<<24|R<<16|g-c}}return 0!==O&&(l[g+O]=E-I<<24|64<<16),p.bits=k,0}},{"../utils/common":41}],51:[function(e,t,r){t.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(e,t,r){function n(e){for(var t=e.length;0<=--t;)e[t]=0}function i(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function o(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function s(e){return e<256?H[e]:H[256+(e>>>7)]}function a(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function u(e,t,r){e.bi_valid>I-r?(e.bi_buf|=t<<e.bi_valid&65535,a(e,e.bi_buf),e.bi_buf=t>>I-e.bi_valid,e.bi_valid+=r-I):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function l(e,t,r){u(e,r[2*t],r[2*t+1])}function c(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function h(e,t,r){var n,i,o=new Array(R+1),s=0;for(n=1;n<=R;n++)o[n]=s=s+r[n-1]<<1;for(i=0;i<=t;i++){var a=e[2*i+1];0!==a&&(e[2*i]=c(o[a]++,a))}}function p(e){var t;for(t=0;t<T;t++)e.dyn_ltree[2*t]=0;for(t=0;t<S;t++)e.dyn_dtree[2*t]=0;for(t=0;t<A;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*N]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function d(e){8<e.bi_valid?a(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function f(e,t,r,n){var i=2*t,o=2*r;return e[i]<e[o]||e[i]===e[o]&&n[t]<=n[r]}function m(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&f(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!f(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function w(e,t,r){var n,i,o,a,c=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*c]<<8|e.pending_buf[e.d_buf+2*c+1],i=e.pending_buf[e.l_buf+c],c++,0===n?l(e,i,t):(l(e,(o=j[i])+E+1,t),0!==(a=P[o])&&u(e,i-=z[o],a),l(e,o=s(--n),r),0!==(a=L[o])&&u(e,n-=V[o],a)),c<e.last_lit;);l(e,N,t)}function g(e,t){var r,n,i,o=t.dyn_tree,s=t.stat_desc.static_tree,a=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=k,r=0;r<u;r++)0!==o[2*r]?(e.heap[++e.heap_len]=l=r,e.depth[r]=0):o[2*r+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,a&&(e.static_len-=s[2*i+1]);for(t.max_code=l,r=e.heap_len>>1;1<=r;r--)m(e,o,r);for(i=u;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],m(e,o,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,o[2*i]=o[2*r]+o[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,o[2*r+1]=o[2*n+1]=i,e.heap[1]=i++,m(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,o,s,a,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,h=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(o=0;o<=R;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<k;r++)f<(o=u[2*u[2*(n=e.heap[r])+1]+1]+1)&&(o=f,m++),u[2*n+1]=o,l<n||(e.bl_count[o]++,s=0,d<=n&&(s=p[n-d]),e.opt_len+=(a=u[2*n])*(o+s),h&&(e.static_len+=a*(c[2*n+1]+s)));if(0!==m){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,m-=2}while(0<m);for(o=f;0!==o;o--)for(n=e.bl_count[o];0!==n;)l<(i=e.heap[--r])||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),n--)}}(e,t),h(o,l,e.bl_count)}function y(e,t,r){var n,i,o=-1,s=t[1],a=0,u=7,l=4;for(0===s&&(u=138,l=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=s,s=t[2*(n+1)+1],++a<u&&i===s||(a<l?e.bl_tree[2*i]+=a:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*C]++):a<=10?e.bl_tree[2*O]++:e.bl_tree[2*D]++,o=i,l=(a=0)===s?(u=138,3):i===s?(u=6,3):(u=7,4))}function b(e,t,r){var n,i,o=-1,s=t[1],a=0,c=7,h=4;for(0===s&&(c=138,h=3),n=0;n<=r;n++)if(i=s,s=t[2*(n+1)+1],!(++a<c&&i===s)){if(a<h)for(;l(e,i,e.bl_tree),0!=--a;);else 0!==i?(i!==o&&(l(e,i,e.bl_tree),a--),l(e,C,e.bl_tree),u(e,a-3,2)):a<=10?(l(e,O,e.bl_tree),u(e,a-3,3)):(l(e,D,e.bl_tree),u(e,a-11,7));o=i,h=(a=0)===s?(c=138,3):i===s?(c=6,3):(c=7,4)}}function v(e,t,r,n){var i,o,s;u(e,(_<<1)+(n?1:0),3),o=t,s=r,d(i=e),a(i,s),a(i,~s),x.arraySet(i.pending_buf,i.window,o,s,i.pending),i.pending+=s}var x=e("../utils/common"),_=0,E=256,T=E+1+29,S=30,A=19,k=2*T+1,R=15,I=16,N=256,C=16,O=17,D=18,P=[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],L=[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],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],M=new Array(2*(T+2));n(M);var U=new Array(2*S);n(U);var H=new Array(512);n(H);var j=new Array(256);n(j);var z=new Array(29);n(z);var W,G,K,V=new Array(S);n(V);var X=!1;r._tr_init=function(e){X||(function(){var e,t,r,n,o,s=new Array(R+1);for(n=r=0;n<28;n++)for(z[n]=r,e=0;e<1<<P[n];e++)j[r++]=n;for(j[r-1]=n,n=o=0;n<16;n++)for(V[n]=o,e=0;e<1<<L[n];e++)H[o++]=n;for(o>>=7;n<S;n++)for(V[n]=o<<7,e=0;e<1<<L[n]-7;e++)H[256+o++]=n;for(t=0;t<=R;t++)s[t]=0;for(e=0;e<=143;)M[2*e+1]=8,e++,s[8]++;for(;e<=255;)M[2*e+1]=9,e++,s[9]++;for(;e<=279;)M[2*e+1]=7,e++,s[7]++;for(;e<=287;)M[2*e+1]=8,e++,s[8]++;for(h(M,T+1,s),e=0;e<S;e++)U[2*e+1]=5,U[2*e]=c(e,5);W=new i(M,P,E+1,T,R),G=new i(U,L,0,S,R),K=new i(new Array(0),F,0,A,7)}(),X=!0),e.l_desc=new o(e.dyn_ltree,W),e.d_desc=new o(e.dyn_dtree,G),e.bl_desc=new o(e.bl_tree,K),e.bi_buf=0,e.bi_valid=0,p(e)},r._tr_stored_block=v,r._tr_flush_block=function(e,t,r,n){var i,o,s=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<E;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),g(e,e.l_desc),g(e,e.d_desc),s=function(e){var t;for(y(e,e.dyn_ltree,e.l_desc.max_code),y(e,e.dyn_dtree,e.d_desc.max_code),g(e,e.bl_desc),t=A-1;3<=t&&0===e.bl_tree[2*B[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),(o=e.static_len+3+7>>>3)<=(i=e.opt_len+3+7>>>3)&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?v(e,t,r,n):4===e.strategy||o===i?(u(e,2+(n?1:0),3),w(e,M,U)):(u(e,4+(n?1:0),3),function(e,t,r,n){var i;for(u(e,t-257,5),u(e,r-1,5),u(e,n-4,4),i=0;i<n;i++)u(e,e.bl_tree[2*B[i]+1],3);b(e,e.dyn_ltree,t-1),b(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),w(e,e.dyn_ltree,e.dyn_dtree)),p(e),n&&d(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(j[r]+E+1)]++,e.dyn_dtree[2*s(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){var t;u(e,2,3),l(e,N,M),16===(t=e).bi_valid?(a(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,r){t.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(e,t,r){(function(e){!function(e){function t(e){delete l[e]}function r(e){if(c)setTimeout(r,0,e);else{var n=l[e];
1if(n){c=!0;try{!function(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(undefined,r)}}(n)}finally{t(e),c=!1}}}}function n(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&r(+t.data.slice(a.length))}if(!e.setImmediate){var i,o,s,a,u=1,l={},c=!1,h=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,i="[object process]"==={}.toString.call(e.process)?function(e){ut.nextTick(function(){r(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(a="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),function(t){e.postMessage(a+t,"*")}):e.MessageChannel?((s=new MessageChannel).port1.onmessage=function(e){r(e.data)},function(e){s.port2.postMessage(e)}):h&&"onreadystatechange"in h.createElement("script")?(o=h.documentElement,function(e){var t=h.createElement("script");t.onreadystatechange=function(){r(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):function(e){setTimeout(r,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];return l[u]={callback:e,args:t},i(u),u++},p.clearImmediate=t}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,void 0!==Je?Je:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)),Yd.exports);const Qd=n(Jd);var ef,tf,rf,nf={exports:{}},of=function(){function e(t,n,i){function o(e){Object.keys(e).forEach(function(t){h.push(function(e,t){return e+'="'+r(t)+'"'}(t,e[t]))})}i=i||0;var s,a,u=(s=n,new Array(i||0).join(s||"")),l=t;if("object"==typeof t&&(l=t[a=Object.keys(t)[0]])&&l._elem)return l._elem.name=a,l._elem.icount=i,l._elem.indent=n,l._elem.indents=u,l._elem.interrupt=l,l._elem;var c,h=[],p=[];switch(typeof l){case"object":if(null===l)break;l._attr&&o(l._attr),l._cdata&&p.push(("<![CDATA["+l._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),l.forEach&&(c=!1,p.push(""),l.forEach(function(t){"object"==typeof t?"_attr"==Object.keys(t)[0]?o(t._attr):p.push(e(t,n,i+1)):(p.pop(),c=!0,p.push(r(t)))}),c||p.push(""));break;default:p.push(r(l))}return{name:a,interrupt:!1,attributes:h,content:p,icount:i,indents:u,indent:n}}function t(e,r,n){function i(){for(;r.content.length;){var i=r.content.shift();if(void 0!==i){if(o(i))return;t(e,i)}}e(!1,(s>1?r.indents:"")+(r.name?"</"+r.name+">":"")+(r.indent&&!n?"\n":"")),n&&n()}function o(t){return!!t.interrupt&&(t.interrupt.append=e,t.interrupt.end=i,t.interrupt=!1,e(!0),!0)}if("object"!=typeof r)return e(!1,r);var s=r.interrupt?1:r.content.length;if(e(!1,r.indents+(r.name?"<"+r.name:"")+(r.attributes.length?" "+r.attributes.join(" "):"")+(s?r.name?">":"":r.name?"/>":"")+(r.indent&&s>1?"\n":"")),!s)return e(!1,r.indent?"\n":"");o(r)||i()}if(rf)return nf.exports;rf=1;var r=function(){if(tf)return ef;tf=1;var e={"&":"&",'"':""","'":"'","<":"<",">":">"};return ef=function(t){return t&&t.replace?t.replace(/([&"<>'])/g,function(t,r){return e[r]}):t}}(),n=ge().Stream;return nf.exports=function(r,i){function o(e){m?ut.nextTick(e):e()}function s(e,t){if(void 0!==t&&(p+=t),e&&!d&&(h=h||new n,d=!0),e&&d){var r=p;o(function(){h.emit("data",r)}),p=""}}function a(r,n){t(s,e(r,f,f?1:0),n)}function u(){if(h){var e=p;o(function(){h.emit("data",e),h.emit("end"),h.readable=!1,h.emit("close")})}}"object"!=typeof i&&(i={indent:i});var l,c,h=i.stream?new n:null,p="",d=!1,f=i.indent?!0===i.indent?" ":i.indent:"",m=!0;return o(function(){m=!1}),i.declaration&&(c={version:"1.0",encoding:(l=i.declaration).encoding||"UTF-8"},l.standalone&&(c.standalone=l.standalone),a({"?xml":{_attr:c}}),p=p.replace("/>","?>")),r&&r.forEach?r.forEach(function(e,t){var n;t+1===r.length&&(n=u),a(e,n)}):a(r,u),h?(h.readable=!0,h):p},nf.exports.element=nf.exports.Element=function(){return{_elem:e(Array.prototype.slice.call(arguments)),push:function(r){if(!this.append)throw new Error("not assigned to a parent!");var n=this,i=this._elem.indent;t(this.append,e(r,i,this._elem.icount+(i?1:0)),function(){n.append(!0)})},close:function(e){void 0!==e&&this.push(e),this.end&&this.end()}}},nf.exports}();const sf=n(of),af=(e,t)=>
1{const r=t.replace(/-/g,"");if(32!==r.length)throw new Error(`Error: Cannot extract GUID from font filename: ${t}`);const n=r.replace(/(..)/g,"$1 ").trim().split(" ").map(e=>parseInt(e,16));n.reverse();const i=e.slice(0,32).map((e,t)=>e^n[t%n.length]),o=new Uint8Array(0+i.length+Math.max(0,e.length-32));return o.set(e.slice(0,0)),o.set(i,0),o.set(e.slice(32),0+i.length),o};class uf{format(e,t={stack:[]}){const r=e.prepForXml(t);if(r)return r;throw Error("XMLComponent did not format correctly")}}class lf{replace(e,t,r){let n=e;return t.forEach((e,t)=>{n=n.replace(new RegExp(`{${e.fileName}}`,"g"),(r+t).toString())}),n}getMediaData(e,t){return t.Array.filter(t=>e.search(`{${t.fileName}}`)>0)}}class cf{replace(e,t){let r=e;for(const e of t)r=r.replace(new RegExp(`{${e.reference}-${e.instance}}`,"g"),e.numId.toString());return r}}const hf={NONE:"",WITH_2_BLANKS:" ",WITH_4_BLANKS:" ",WITH_TAB:"\t"},pf=e=>!0===e?hf.WITH_2_BLANKS:!1===e?void 0:e,df=class e{static pack(e,t,r){return He(this,arguments,function*(e,t,r,n=[]){return this.compiler.compile(e,pf(r),n).generateAsync({type:t,mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toString(t,r,n=[]){return e.pack(t,"string",r,n)}static toBuffer(t,r,n=[]){return e.pack(t,"nodebuffer",r,n)}static toBase64String(t,r,n=[]){return e.pack(t,"base64",r,n)}static toBlob(t,r,n=[]){return e.pack(t,"blob",r,n)}static toArrayBuffer(t,r,n=[]){return e.pack(t,"arraybuffer",r,n)}static toStream(e,t,r=[]){const n=new Zd.Stream;return this.compiler.compile(e,pf(t),r).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then(e=>{n.emit("data",e),n.emit("end")}),n}};Ue(df,"compiler",new class{constructor(){Ue(this,"formatter"),Ue(this,"imageReplacer"),Ue(this,"numberingReplacer"),this.formatter=new uf,this.imageReplacer=new lf,this.numberingReplacer=new cf}compile(e,t,r=[]){const n=new Qd,i=this.xmlifyFile(e,t),o=new Map(Object.entries(i));for(const[,e]of o)if(Array.isArray(e))for(const t of e)n.file(t.path,Ts(t.data));else n.file(e.path,Ts(e.data));for(const e of r)n.file(e.path,Ts(e.data));for(const t of e.Media.Array)"svg"!==t.type?n.file(`word/media/${t.fileName}`,t.data):(n.file(`word/media/${t.fileName}`,t.data),n.file(`word/media/${t.fallback.fileName}`,t.fallback.data));for(const{data:t,name:r,fontKey:i}of e.FontTable.fontOptionsWithKey){const[e]=r.split(".");n.file(`word/fonts/${e}.odttf`,af(t,i))}return n}xmlifyFile(e,t){const r=e.Document.Relationships.RelationshipCount+1,n=sf(this.formatter.format(e.Document.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),i=e.Comments.Relationships.RelationshipCount+1,o=sf(this.formatter.format(e.Comments,{viewWrapper:{View:e.Comments,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),s=e.FootNotes.Relationships.RelationshipCount+1,a=sf(this.formatter.format(e.FootNotes.View,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),u=this.imageReplacer.getMediaData(n,e.Media),l=this.imageReplacer.getMediaData(o,e.Media),c=this.imageReplacer.getMediaData(a,e.Media);return{Relationships:{data:(()=>(u.forEach((t,n)=>{e.Document.Relationships.addRelationship(r+n,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)}),e.Document.Relationships.addRelationship(e.Document.Relationships.RelationshipCount+1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable","fontTable.xml"),sf(this.formatter.format(e.Document.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})))(),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{const t=this.imageReplacer.replace(n,u,r);return this.numberingReplacer.replace(t,e.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{const r=sf(this.formatter.format(e.Styles,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(r,e.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:sf(this.formatter.format(e.CoreProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:sf(this.formatter.format(e.Numbering,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:sf(this.formatter.format(e.FileRelationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((r,n)=>{const i=sf(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});
1return this.imageReplacer.getMediaData(i,e.Media).forEach((e,t)=>{r.Relationships.addRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:sf(this.formatter.format(r.Relationships,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${n+1}.xml.rels`}}),FooterRelationships:e.Footers.map((r,n)=>{const i=sf(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(i,e.Media).forEach((e,t)=>{r.Relationships.addRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:sf(this.formatter.format(r.Relationships,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${n+1}.xml.rels`}}),Headers:e.Headers.map((r,n)=>{const i=sf(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,e.Media),s=this.imageReplacer.replace(i,o,0);return{data:this.numberingReplacer.replace(s,e.Numbering.ConcreteNumbering),path:`word/header${n+1}.xml`}}),Footers:e.Footers.map((r,n)=>{const i=sf(this.formatter.format(r.View,{viewWrapper:r,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(i,e.Media),s=this.imageReplacer.replace(i,o,0);return{data:this.numberingReplacer.replace(s,e.Numbering.ConcreteNumbering),path:`word/footer${n+1}.xml`}}),ContentTypes:{data:sf(this.formatter.format(e.ContentTypes,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:sf(this.formatter.format(e.CustomProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:sf(this.formatter.format(e.AppProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:(()=>{const t=this.imageReplacer.replace(a,c,s);return this.numberingReplacer.replace(t,e.Numbering.ConcreteNumbering)})(),path:"word/footnotes.xml"},FootNotesRelationships:{data:(()=>(c.forEach((t,r)=>{e.FootNotes.Relationships.addRelationship(s+r,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)}),sf(this.formatter.format(e.FootNotes.Relationships,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})))(),path:"word/_rels/footnotes.xml.rels"},Endnotes:{data:sf(this.formatter.format(e.Endnotes.View,{viewWrapper:e.Endnotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/endnotes.xml"},EndnotesRelationships:{data:sf(this.formatter.format(e.Endnotes.Relationships,{viewWrapper:e.Endnotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/endnotes.xml.rels"},Settings:{data:sf(this.formatter.format(e.Settings,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:(()=>{const t=this.imageReplacer.replace(o,l,i);return this.numberingReplacer.replace(t,e.Numbering.ConcreteNumbering)})(),path:"word/comments.xml"},CommentsRelationships:{data:(()=>(l.forEach((t,r)=>{e.Comments.Relationships.addRelationship(i+r,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)}),sf(this.formatter.format(e.Comments.Relationships,{viewWrapper:{View:e.Comments,Relationships:e.Comments.Relationships},file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})))(),path:"word/_rels/comments.xml.rels"},FontTable:{data:sf(this.formatter.format(e.FontTable.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:(()=>sf(this.formatter.format(e.FontTable.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}))(),path:"word/_rels/fontTable.xml.rels"}}}});let ff=df;const mf=new uf,wf=e=>li.xml2js(e,{compact:!1,captureSpacesBetweenElements:!0}),gf=e=>{var t;return null!=(t=wf(sf(mf.format(new Oo({text:e})))).elements[0].elements)?t:[]},yf=e=>Be(Fe({},e),{attributes:{"xml:space":"preserve"}}),bf=(e,t)=>{var r,n;return null!=(n=null==(r=e.elements)?void 0:r.filter(e=>e.name===t)[0].elements)?n:[]},vf=(e,t,r)=>{const n=bf(e,"Types");n.some(e=>{var n,i;return"element"===e.type&&"Default"===e.name&&(null==(n=null==e?void 0:e.attributes)?void 0:n.ContentType)===t&&(null==(i=null==e?void 0:e.attributes)?void 0:i.Extension)===r})||n.push({attributes:{ContentType:t,Extension:r},name:"Default",type:"element"})},xf=e=>bf(e,"Relationships").map(e=>{var t,r,n;return(e=>{const t=parseInt(e.substring(3),10);return isNaN(t)?0:t})(null!=(n=null==(r=null==(t=e.attributes)?void 0:t.Id)?void 0:r.toString())?n:"")}).reduce((e,t)=>
1Math.max(e,t),0)+1,_f=(e,t,r,n,i)=>{const o=bf(e,"Relationships");return o.push({attributes:{Id:`rId${t}`,Type:r,Target:n,TargetMode:i},name:"Relationship",type:"element"}),o};class Ef extends Error{constructor(e){super(`Token ${e} not found`),this.name="TokenNotFoundError"}}const Tf=(e,t)=>{var r,n,i,o;for(let s=0;s<(null!=(r=e.elements)?r:[]).length;s++){const r=e.elements[s];if("element"===r.type&&"w:r"===r.name){const e=(null!=(n=r.elements)?n:[]).filter(e=>"element"===e.type&&"w:t"===e.name);for(const r of e)if((null==(i=r.elements)?void 0:i[0])&&(null==(o=r.elements[0].text)?void 0:o.includes(t)))return s}}throw new Ef(t)},Sf=(e,t)=>{var r,n;let i=-1;const o=null!=(n=null==(r=e.elements)?void 0:r.map((e,r)=>{var n,o,s;if(-1!==i)return e;if("element"===e.type&&"w:t"===e.name){const a=(null!=(s=null==(o=null==(n=e.elements)?void 0:n[0])?void 0:o.text)?s:"").split(t),u=a.map(t=>Be(Fe(Fe({},e),yf(e)),{elements:gf(t)}));return a.length>1&&(i=r),u}return e}).flat())?n:[];return{left:Be(Fe({},JSON.parse(JSON.stringify(e))),{elements:o.slice(0,i+1)}),right:Be(Fe({},JSON.parse(JSON.stringify(e))),{elements:o.slice(i+1)})}},Af=({paragraphElement:e,renderedParagraph:t,originalText:r,replacementText:n})=>{const i=t.text.indexOf(r),o=i+r.length-1;let s=0;for(const r of t.runs)for(const{text:t,index:a,start:u,end:l}of r.parts)switch(s){case 0:if(i>=u&&i<=l){const c=i-u,h=Math.min(o,l)-u,p=r.text.substring(c,h+1);if(""===p)continue;const d=t.replace(p,n);kf(e.elements[r.index].elements[a],d),s=1;continue}break;case 1:if(o<=l){const n=t.substring(o-u+1);kf(e.elements[r.index].elements[a],n),e.elements[r.index].elements[a]=yf(e.elements[r.index].elements[a]),s=2}else kf(e.elements[r.index].elements[a],"")}return e},kf=(e,t)=>(e.elements=gf(t),e),Rf=e=>{if("w:p"!==e.element.name)throw new Error(`Invalid node type: ${e.element.name}`);if(!e.element.elements)return{text:"",runs:[],index:-1,pathToParagraph:[]};let t=0;const r=e.element.elements.map((e,t)=>({element:e,i:t})).filter(({element:e})=>"w:r"===e.name).map(({element:e,i:r})=>{const n=If(e,r,t);return t+=n.text.length,n}).filter(e=>!!e);return{text:r.reduce((e,t)=>e+t.text,""),runs:r,index:e.index,pathToParagraph:Nf(e)}},If=(e,t,r)=>{if(!e.elements)return{text:"",parts:[],index:-1,start:r,end:r};let n=r;const i=e.elements.map((e,t)=>{var r,i,o,s;return"w:t"===e.name&&e.elements&&e.elements.length>0?{text:null!=(i=null==(r=e.elements[0].text)?void 0:r.toString())?i:"",index:t,start:n,end:(n+=(null!=(s=null==(o=e.elements[0].text)?void 0:o.toString())?s:"").length-1,n)}:void 0}).filter(e=>!!e).map(e=>e);return{text:i.reduce((e,t)=>e+t.text,""),parts:i,index:t,start:r,end:n}},Nf=e=>e.parent?[...Nf(e.parent),e.index]:[e.index],Cf=e=>{var t,r;return null!=(r=null==(t=e.element.elements)?void 0:t.map((t,r)=>({element:t,index:r,parent:e})))?r:[]},Of=e=>{let t=[];const r=[...Cf({element:e,index:0,parent:void 0})];let n;for(;r.length>0;)n=r.shift(),"w:p"===n.element.name&&(t=[...t,Rf(n)]),r.push(...Cf(n));return t},Df=new uf,Pf=({json:e,patch:t,patchText:r,context:n,keepOriginalStyles:i=!0})=>{const o=(s=r,Of(e).filter(e=>e.text.includes(s)));var s;if(0===o.length)return{element:e,didFindOccurrence:!1};for(const s of o){const o=t.children.map(e=>wf(sf(Df.format(e,n)))).map(e=>e.elements[0]);switch(t.type){case Mf.DOCUMENT:{const t=Ff(e,s.pathToParagraph),r=Bf(s.pathToParagraph);t.elements.splice(r,1,...o);break}default:{const t=Lf(e,s.pathToParagraph);Af({paragraphElement:t,renderedParagraph:s,originalText:r,replacementText:"ɵ"});const n=Tf(t,"ɵ"),a=t.elements[n],{left:u,right:l}=Sf(a,"ɵ");let c=o,h=l;if(i){const e=a.elements.filter(e=>"element"===e.type&&"w:rPr"===e.name);c=o.map(t=>{var r;return Be(Fe({},t),{elements:[...e,...null!=(r=t.elements)?r:[]]})}),h=Be(Fe({},l),{elements:[...e,...l.elements]})}t.elements.splice(n,1,u,...c,h);break}}}return{element:e,didFindOccurrence:!0}},Lf=(e,t)=>{let r=e;for(let e=1;e<t.length;e++)r=r.elements[t[e]];return r},Ff=(e,t)=>Lf(e,t.slice(0,t.length-1)),Bf=e=>e[e.length-1],Mf={DOCUMENT:"file",PARAGRAPH:"paragraph"},Uf=new lf,Hf=new Uint8Array([255,254]),jf=new Uint8Array([254,255]),zf=(e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0},Wf=e=>He(null,[e],function*({outputType:e,data:t,patches:r,keepOriginalStyles:n,placeholderDelimiters:i={start:"{{",end:"}}"},recursive:o=!0}){var s,a,u;const l=t instanceof Qd?t:yield Qd.loadAsync(t),c=new Map,h={Media:new _p},p=new Map,d=[],f=[];let m=!1;const w=new Map;for(const[e,t]of Object.entries(l.files)){const a=yield t.async("uint8array"),u=a.slice(0,2);if(zf(u,Hf)||zf(u,jf)){w.set(e,a);continue}if(!e.endsWith(".xml")&&!e.endsWith(".rels")){w.set(e,a);continue}const l=wf(yield t.async("text"));if("word/document.xml"===e){const e=null==(s=l.elements)?void 0:s.find(e=>"w:document"===e.name);
1if(e&&e.attributes){for(const t of["mc","wp","r","w15","m"])e.attributes[`xmlns:${t}`]=lh[t];e.attributes["mc:Ignorable"]=`${e.attributes["mc:Ignorable"]||""} w15`.trim()}}if(e.startsWith("word/")&&!e.endsWith(".xml.rels")){const t={file:h,viewWrapper:{Relationships:{addRelationship:(t,r,n,i)=>{f.push({key:e,hyperlink:{id:t,link:n}})}}},stack:[]};if(c.set(e,t),!(null==i?void 0:i.start.trim())||!(null==i?void 0:i.end.trim()))throw new Error("Both start and end delimiters must be non-empty strings.");const{start:s,end:a}=i;for(const[i,u]of Object.entries(r)){const r=`${s}${i}${a}`;for(;;){const{didFindOccurrence:i}=Pf({json:l,patch:Be(Fe({},u),{children:u.children.map(t=>{if(t instanceof Gu){const r=new zu(t.options.children,vs());return f.push({key:e,hyperlink:{id:r.linkId,link:t.options.link}}),r}return t})}),patchText:r,context:t,keepOriginalStyles:n});if(!o||!i)break}}const u=Uf.getMediaData(JSON.stringify(l),t.file.Media);u.length>0&&(m=!0,d.push({key:e,mediaDatas:u}))}p.set(e,l)}for(const{key:e,mediaDatas:t}of d){const r=`word/_rels/${e.split("/").pop()}.rels`,n=null!=(a=p.get(r))?a:Kf();p.set(r,n);const i=xf(n),o=Uf.replace(JSON.stringify(p.get(e)),t,i);p.set(e,JSON.parse(o));for(let e=0;e<t.length;e++){const{fileName:r}=t[e];_f(n,i+e,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${r}`)}}for(const{key:e,hyperlink:t}of f){const r=`word/_rels/${e.split("/").pop()}.rels`,n=null!=(u=p.get(r))?u:Kf();p.set(r,n),_f(n,t.id,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",t.link,Ka)}if(m){const e=p.get("[Content_Types].xml");if(!e)throw new Error("Could not find content types file");vf(e,"image/png","png"),vf(e,"image/jpeg","jpeg"),vf(e,"image/jpeg","jpg"),vf(e,"image/bmp","bmp"),vf(e,"image/gif","gif"),vf(e,"image/svg+xml","svg")}const g=new Qd;for(const[e,t]of p){const r=Gf(t);g.file(e,Ts(r))}for(const[e,t]of w)g.file(e,t);for(const{data:e,fileName:t}of h.Media.Array)g.file(`word/media/${t}`,e);return g.generateAsync({type:e,mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})}),Gf=e=>li.js2xml(e,{attributeValueFn:e=>String(e).replace(/&(?!amp;|lt;|gt;|quot;|apos;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}),Kf=()=>({declaration:{attributes:{version:"1.0",encoding:"UTF-8",standalone:"yes"}},elements:[{type:"element",name:"Relationships",attributes:{xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},elements:[]}]}),Vf=e=>He(null,[e],function*({data:e}){const t=e instanceof Qd?e:yield Qd.loadAsync(e),r=new Set;for(const[e,n]of Object.entries(t.files))if((e.endsWith(".xml")||e.endsWith(".rels"))&&e.startsWith("word/")&&!e.endsWith(".xml.rels")){const e=wf(yield n.async("text"));Of(e).forEach(e=>$f(e.text).forEach(e=>r.add(e)))}return Array.from(r)}),$f=e=>{var t;const r=new RegExp("(?<=\\{\\{).+?(?=\\}\\})","gs");return null!=(t=e.match(r))?t:[]}}}]);
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.