PageSourceSearch

https://guidesly.com/48c79778-28797fe7618f8026054a.js

js guidesly.com collected 2026-09-24 18:54:15 UTC 196,918 bytes, 2 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};t.SENTRY_RELEASE={id:"b17438cbc46409cb72cfd17f30c1abdfb448d534"};var e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="c4abc33c-cc75-49ee-8be0-f4fb69b8c191",t._sentryDebugIdIdentifier="sentry-dbid-c4abc33c-cc75-49ee-8be0-f4fb69b8c191")}catch(t){}}(),(self.webpackChunkguidesly_marketplace=self.webpackChunkguidesly_marketplace||[]).push([[9964],{55562:function(t,e,n){n.d(e,{A:function(){return ca},L:function(){return is}});var i=n(96685),r=n(83386),o=n(5598),s=n(6852),a=n(63567),h=n(89697),l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function u(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var n=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var i=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,i.get?i:{enumerable:!0,get:function(){return t[e]}})}),n}var d={exports:{}},f={},p="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function g(){throw new Error("setTimeout has not been defined")}function m(){throw new Error("clearTimeout has not been defined")}var y=g,b=m;function w(t){if(y===setTimeout)return setTimeout(t,0);if((y===g||!y)&&setTimeout)return y=setTimeout,setTimeout(t,0);try{return y(t,0)}catch(e){try{return y.call(null,t,0)}catch(e){return y.call(this,t,0)}}}"function"==typeof p.setTimeout&&(y=setTimeout),"function"==typeof p.clearTimeout&&(b=clearTimeout);var _,v=[],S=!1,C=-1;function x(){S&&_&&(S=!1,_.length?v=_.concat(v):C=-1,v.length&&A())}function A(){if(!S){var t=w(x);S=!0;for(var e=v.length;e;){for(_=v,v=[];++C<e;)_&&_[C].run();C=-1,e=v.length}_=null,S=!1,function(t){if(b===clearTimeout)return clearTimeout(t);if((b===m||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(t);try{return b(t)}catch(e){try{return b.call(null,t)}catch(e){return b.call(this,t)}}}(t)}}function T(t,e){this.fun=t,this.array=e}T.prototype.run=function(){this.fun.apply(null,this.array)};function E(){}var k=E,P=E,R=E,M=E,O=E,D=E,L=E;var F=p.performance||{},B=F.now||F.mozNow||F.msNow||F.oNow||F.webkitNow||function(){return(new Date).getTime()};var I=new Date;var j,U={nextTick:function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];v.push(new T(t,e)),1!==v.length||S||w(A)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:k,addListener:P,once:R,off:M,removeListener:O,removeAllListeners:D,emit:L,binding:function(t){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(t){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(t){var e=.001*B.call(F),n=Math.floor(e),i=Math.floor(e%1*1e9);return t&&(n-=t[0],(i-=t[1])<0&&(n--,i+=1e9)),[n,i]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-I)/1e3}};function z(){}function $(){$.init.call(this)}function W(t){return void 0===t._maxListeners?$.defaultMaxListeners:t._maxListeners}function N(t,e,n,i){var r,o,s;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((o=t._events)?(o.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),o=t._events),s=o[e]):(o=t._events=new z,t._eventsCount=0),s){if("function"==typeof s?s=o[e]=i?[n,s]:[s,n]:i?s.unshift(n):s.push(n),!s.warned&&(r=W(t))&&r>0&&s.length>r){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+e+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=s.length,console.warn}}else s=o[e]=n,++t._eventsCount;return t}function H(t,e,n){var i=!1;function r(){t.removeListener(e,r),i||(i=!0,n.apply(t,arguments))}return r.listener=n,r}function Y(t){var e=this._events;if(e){var n=e[t];if("function"==typeof n)return 1;if(n)return n.length}return 0}function G(t,e){for(var n=new Array(e);e--;)n[e]=t[e];return n}z.prototype=Object.create(null),$.EventEmitter=$,$.usingDomains=!1,$.prototype.domain=void 0,$.prototype._events=void 0,$.prototype._maxListeners=void 0,$.defaultMaxListeners=10,$.init=function(){this.domain=null,$.usingDomains&&(!j.active||this instanceof j.Domain||(this.domain=j.active)),this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new z,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},$.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=t,this},$.prototype.getMaxListeners=function(){return W(this)},$.prototype.emit=function(t){var e,n,i,r,o,s,a,h="error"===t;if(s=this._events)h=h&&null==s.error;else if(!h)return!1;if(a=this.domain,h){if(e=arguments[1],!a){if(e instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}return e||(e=new Error('Uncaught, unspecified "error" event')),e.domainEmitter=this,e.domain=a,e.domainThrown=!1,a.emit("error",e),!1}if(!(n=s[t]))return!1;var c="function"==typeof n;switch(i=arguments.length){case 1:!function(t,e,n){if(e)t.call(n);else for(var i=t.length,r=G(t,i),o=0;o<i;++o)r[o].call(n)}(n,c,this);break;case 2:!function(t,e,n,i){if(e)t.call(n,i);else for(var r=t.length,o=G(t,r),s=0;s<r;++s)o[s].call(n,i)}(n,c,this,arguments[1]);break;case 3:!function(t,e,n,i,r){if(e)t.call(n,i,r);else for(var o=t.length,s=G(t,o),a=0;a<o;++a)s[a].call(n,i,r)}(n,c,this,arguments[1],arguments[2]);break;case 4:!function(t,e,n,i,r,o){if(e)t.call(n,i,r,o);else for(var s=t.length,a=G(t,s),h=0;h<s;++h)a[h].call(n,i,r,o)}(n,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(r=new Array(i-1),o=1;o<i;o++)r[o-1]=arguments[o];
vendor: 30,724 bytes, line 1
1!function(t,e,n,i){if(e)t.apply(n,i);else for(var r=t.length,o=G(t,r),s=0;s<r;++s)o[s].apply(n,i)}(n,c,this,r)}return!0},$.prototype.addListener=function(t,e){return N(this,t,e,!1)},$.prototype.on=$.prototype.addListener,$.prototype.prependListener=function(t,e){return N(this,t,e,!0)},$.prototype.once=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.on(t,H(this,t,e)),this},$.prototype.prependOnceListener=function(t,e){if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');return this.prependListener(t,H(this,t,e)),this},$.prototype.removeListener=function(t,e){var n,i,r,o,s;if("function"!=typeof e)throw new TypeError('"listener" argument must be a function');if(!(i=this._events))return this;if(!(n=i[t]))return this;if(n===e||n.listener&&n.listener===e)0===--this._eventsCount?this._events=new z:(delete i[t],i.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!=typeof n){for(r=-1,o=n.length;o-- >0;)if(n[o]===e||n[o].listener&&n[o].listener===e){s=n[o].listener,r=o;break}if(r<0)return this;if(1===n.length){if(n[0]=void 0,0===--this._eventsCount)return this._events=new z,this;delete i[t]}else!function(t,e){for(var n=e,i=n+1,r=t.length;i<r;n+=1,i+=1)t[n]=t[i];t.pop()}(n,r);i.removeListener&&this.emit("removeListener",t,s||e)}return this},$.prototype.off=function(t,e){return this.removeListener(t,e)},$.prototype.removeAllListeners=function(t){var e,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new z,this._eventsCount=0):n[t]&&(0===--this._eventsCount?this._events=new z:delete n[t]),this;if(0===arguments.length){for(var i,r=Object.keys(n),o=0;o<r.length;++o)"removeListener"!==(i=r[o])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=new z,this._eventsCount=0,this}if("function"==typeof(e=n[t]))this.removeListener(t,e);else if(e)do{this.removeListener(t,e[e.length-1])}while(e[0]);return this},$.prototype.listeners=function(t){var e,n=this._events;return n&&(e=n[t])?"function"==typeof e?[e.listener||e]:function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(e):[]},$.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):Y.call(t,e)},$.prototype.listenerCount=Y,$.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var q=u(Object.freeze({__proto__:null,EventEmitter:$,default:$})),K=q.EventEmitter,X=[],V=[],J="undefined"!=typeof Uint8Array?Uint8Array:Array,Z=!1;function Q(){Z=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)X[e]=t[e],V[t.charCodeAt(e)]=e;V["-".charCodeAt(0)]=62,V["_".charCodeAt(0)]=63}function tt(t){return X[t>>18&63]+X[t>>12&63]+X[t>>6&63]+X[63&t]}function et(t,e,n){for(var i,r=[],o=e;o<n;o+=3)i=(t[o]<<16)+(t[o+1]<<8)+t[o+2],r.push(tt(i));return r.join("")}function nt(t){var e;Z||Q();for(var n=t.length,i=n%3,r="",o=[],s=16383,a=0,h=n-i;a<h;a+=s)o.push(et(t,a,a+s>h?h:a+s));return 1===i?(e=t[n-1],r+=X[e>>2],r+=X[e<<4&63],r+="=="):2===i&&(e=(t[n-2]<<8)+t[n-1],r+=X[e>>10],r+=X[e>>4&63],r+=X[e<<2&63],r+="="),o.push(r),o.join("")}function it(t,e,n,i,r){var o,s,a=8*r-i-1,h=(1<<a)-1,l=h>>1,c=-7,u=n?r-1:0,d=n?-1:1,f=t[e+u];for(u+=d,o=f&(1<<-c)-1,f>>=-c,c+=a;c>0;o=256*o+t[e+u],u+=d,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=i;c>0;s=256*s+t[e+u],u+=d,c-=8);if(0===o)o=1-l;else{if(o===h)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,i),o-=l}return(f?-1:1)*s*Math.pow(2,o-i)}function rt(t,e,n,i,r,o){var s,a,h,l=8*o-r-1,c=(1<<l)-1,u=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,p=i?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(h=Math.pow(2,-s))<1&&(s--,h*=2),(e+=s+u>=1?d/h:d*Math.pow(2,1-u))*h>=2&&(s++,h/=2),s+u>=c?(a=0,s=c):s+u>=1?(a=(e*h-1)*Math.pow(2,r),s+=u):(a=e*Math.pow(2,u-1)*Math.pow(2,r),s=0));r>=8;t[n+f]=255&a,f+=p,a/=256,r-=8);for(s=s<<r|a,l+=r;l>0;t[n+f]=255&s,f+=p,s/=256,l-=8);t[n+f-p]|=128*g}var ot={}.toString,st=Array.isArray||function(t){return"[object Array]"==ot.call(t)};ct.TYPED_ARRAY_SUPPORT=void 0===p.TYPED_ARRAY_SUPPORT||p.TYPED_ARRAY_SUPPORT;var at=ht();function ht(){return ct.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function lt(t,e){if(ht()<e)throw new RangeError("Invalid typed array length");return ct.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=ct.prototype:(null===t&&(t=new ct(e)),t.length=e),t}function ct(t,e,n){if(!(ct.TYPED_ARRAY_SUPPORT||this instanceof ct))return new ct(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return ft(this,t)}return ut(this,t,e,n)}function ut(t,e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,i){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i);ct.TYPED_ARRAY_SUPPORT?(t=e).__proto__=ct.prototype:t=pt(t,e);return t}(t,e,n,i):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!ct.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|yt(e,n);t=lt(t,i);var r=t.write(e,n);r!==i&&(t=t.slice(0,r));return t}(t,e,n):function(t,e){if(mt(e)){var n=0|gt(e.length);return 0===(t=lt(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(i=e.length)!=i?lt(t,0):pt(t,e);if("Buffer"===e.type&&st(e.data))return pt(t,e.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function dt(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function ft(t,e){if(dt(e),t=lt(t,e<0?0:0|gt(e)),!ct.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function pt(t,e){var n=e.length<0?0:0|gt(e.length);t=lt(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function gt(t){if(t>=ht())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ht().toString(16)+" bytes");return 0|t}function mt(t){return!(null==t||!t._isBuffer)}function yt(t,e){if(mt(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Ht(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Yt(t).length;default:if(i)return Ht(t).length;e=(""+e).toLowerCase(),i=!0}}function bt(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return Dt(this,e,n);case"utf8":case"utf-8":return Pt(this,e,n);case"ascii":return Mt(this,e,n);case"latin1":case"binary":return Ot(this,e,n);case"base64":return kt(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lt(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function wt(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function _t(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=ct.from(e,i)),mt(e))return 0===e.length?-1:vt(t,e,n,i,r);if("number"==typeof e)return e&=255,ct.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):vt(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function vt(t,e,n,i,r){var o,s=1,a=t.length,h=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;s=2,a/=2,h/=2,n/=2}function l(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(r){var c=-1;for(o=n;o<a;o++)if(l(t,o)===l(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===h)return c*s}else-1!==c&&(o-=o-c),c=-1}else for(n+h>a&&(n=a-h),o=n;o>=0;o--){for(var u=!0,d=0;d<h;d++)if(l(t,o+d)!==l(e,d)){u=!1;break}if(u)return o}return-1}function St(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s<i;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function Ct(t,e,n,i){return Gt(Ht(e,t.length-n),t,n,i)}function xt(t,e,n,i){return Gt(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,i)}function At(t,e,n,i){return xt(t,e,n,i)}function Tt(t,e,n,i){return Gt(Yt(e),t,n,i)}function Et(t,e,n,i){return Gt(function(t,e){for(var n,i,r,o=[],s=0;s<t.length&&!((e-=2)<0);++s)i=(n=t.charCodeAt(s))>>8,r=n%256,o.push(r),o.push(i);return o}(e,t.length-n),t,n,i)}function kt(t,e,n){return 0===e&&n===t.length?nt(t):nt(t.slice(e,n))}function Pt(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r<n;){var o,s,a,h,l=t[r],c=null,u=l>239?4:l>223?3:l>191?2:1;if(r+u<=n)switch(u){case 1:l<128&&(c=l);break;case 2:128==(192&(o=t[r+1]))&&(h=(31&l)<<6|63&o)>127&&(c=h);break;case 3:o=t[r+1],s=t[r+2],128==(192&o)&&128==(192&s)&&(h=(15&l)<<12|(63&o)<<6|63&s)>2047&&(h<55296||h>57343)&&(c=h);break;case 4:o=t[r+1],s=t[r+2],a=t[r+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(h=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&h<1114112&&(c=h)}null===c?(c=65533,u=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=u}return function(t){var e=t.length;if(e<=Rt)return String.fromCharCode.apply(String,t);var n="",i=0;for(;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=Rt));return n}(i)}ct.poolSize=8192,ct._augment=function(t){return t.__proto__=ct.prototype,t},ct.from=function(t,e,n){return ut(null,t,e,n)},ct.TYPED_ARRAY_SUPPORT&&(ct.prototype.__proto__=Uint8Array.prototype,ct.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&ct[Symbol.species]),ct.alloc=function(t,e,n){return function(t,e,n,i){return dt(e),e<=0?lt(t,e):void 0!==n?"string"==typeof i?lt(t,e).fill(n,i):lt(t,e).fill(n):lt(t,e)}(null,t,e,n)},ct.allocUnsafe=function(t){return ft(null,t)},ct.allocUnsafeSlow=function(t){return ft(null,t)},ct.isBuffer=qt,ct.compare=function(t,e){if(!mt(t)||!mt(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,o=Math.min(n,i);r<o;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},ct.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},ct.concat=function(t,e){if(!st(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return ct.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=ct.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var o=t[n];if(!mt(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,r),r+=o.length}return i},ct.byteLength=yt,ct.prototype._isBuffer=!0,ct.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)wt(this,e,e+1);return this},ct.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)wt(this,e,e+3),wt(this,e+1,e+2);return this},ct.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)wt(this,e,e+7),wt(this,e+1,e+6),wt(this,e+2,e+5),wt(this,e+3,e+4);return this},ct.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?Pt(this,0,t):bt.apply(this,arguments)},ct.prototype.equals=function(t){if(!mt(t))throw new TypeError("Argument must be a Buffer");return this===t||0===ct.compare(this,t)},ct.prototype.inspect=function(){var t="";return this.length>0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),"<Buffer "+t+">"},ct.prototype.compare=function(t,e,n,i,r){if(!mt(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(r>>>=0)-(i>>>=0),s=(n>>>=0)-(e>>>=0),a=Math.min(o,s),h=this.slice(i,r),l=t.slice(e,n),c=0;c<a;++c)if(h[c]!==l[c]){o=h[c],s=l[c];break}return o<s?-1:s<o?1:0},ct.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},ct.prototype.indexOf=function(t,e,n){return _t(this,t,e,n,!0)},ct.prototype.lastIndexOf=function(t,e,n){return _t(this,t,e,n,!1)},ct.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return St(this,t,e,n);case"utf8":case"utf-8":return Ct(this,t,e,n);case"ascii":return xt(this,t,e,n);case"latin1":case"binary":return At(this,t,e,n);case"base64":return Tt(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Et(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},ct.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Rt=4096;function Mt(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function Ot(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function Dt(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=e;o<n;++o)r+=Nt(t[o]);return r}function Lt(t,e,n){for(var i=t.slice(e,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function Ft(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function Bt(t,e,n,i,r,o){if(!mt(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<o)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function It(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-n,2);r<o;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function jt(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-n,4);r<o;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function Ut(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function zt(t,e,n,i,r){return r||Ut(t,0,n,4),rt(t,e,n,i,23,4),n+4}function $t(t,e,n,i,r){return r||Ut(t,0,n,8),rt(t,e,n,i,52,8),n+8}ct.prototype.slice=function(t,e){var n,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),ct.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=ct.prototype;else{var r=e-t;n=new ct(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+t]}return n},ct.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||Ft(t,e,this.length);for(var i=this[t],r=1,o=0;++o<e&&(r*=256);)i+=this[t+o]*r;return i},ct.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||Ft(t,e,this.length);for(var i=this[t+--e],r=1;e>0&&(r*=256);)i+=this[t+--e]*r;return i},ct.prototype.readUInt8=function(t,e){return e||Ft(t,1,this.length),this[t]},ct.prototype.readUInt16LE=function(t,e){return e||Ft(t,2,this.length),this[t]|this[t+1]<<8},ct.prototype.readUInt16BE=function(t,e){return e||Ft(t,2,this.length),this[t]<<8|this[t+1]},ct.prototype.readUInt32LE=function(t,e){return e||Ft(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},ct.prototype.readUInt32BE=function(t,e){return e||Ft(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},ct.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||Ft(t,e,this.length);for(var i=this[t],r=1,o=0;++o<e&&(r*=256);)i+=this[t+o]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*e)),i},ct.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||Ft(t,e,this.length);for(var i=e,r=1,o=this[t+--i];i>0&&(r*=256);)o+=this[t+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},ct.prototype.readInt8=function(t,e){return e||Ft(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},ct.prototype.readInt16LE=function(t,e){e||Ft(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},ct.prototype.readInt16BE=function(t,e){e||Ft(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},ct.prototype.readInt32LE=function(t,e){return e||Ft(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},ct.prototype.readInt32BE=function(t,e){return e||Ft(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},ct.prototype.readFloatLE=function(t,e){return e||Ft(t,4,this.length),it(this,t,!0,23,4)},ct.prototype.readFloatBE=function(t,e){return e||Ft(t,4,this.length),it(this,t,!1,23,4)},ct.prototype.readDoubleLE=function(t,e){return e||Ft(t,8,this.length),it(this,t,!0,52,8)},ct.prototype.readDoubleBE=function(t,e){return e||Ft(t,8,this.length),it(this,t,!1,52,8)},ct.prototype.writeUIntLE=function(t,e,n,i){(t=+t,e|=0,n|=0,i)||Bt(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[e]=255&t;++o<n&&(r*=256);)this[e+o]=t/r&255;return e+n},ct.prototype.writeUIntBE=function(t,e,n,i){(t=+t,e|=0,n|=0,i)||Bt(this,t,e,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[e+r]=255&t;--r>=0&&(o*=256);)this[e+r]=t/o&255;return e+n},ct.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,1,255,0),ct.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},ct.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,2,65535,0),ct.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):It(this,t,e,!0),e+2},ct.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,2,65535,0),ct.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):It(this,t,e,!1),e+2},ct.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,4,4294967295,0),ct.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):jt(this,t,e,!0),e+4},ct.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,4,4294967295,0),ct.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):jt(this,t,e,!1),e+4},ct.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);Bt(this,t,e,n,r-1,-r)}var o=0,s=1,a=0;for(this[e]=255&t;++o<n&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s|0)-a&255;return e+n},ct.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);Bt(this,t,e,n,r-1,-r)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s|0)-a&255;return e+n},ct.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,1,127,-128),ct.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},ct.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,2,32767,-32768),ct.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):It(this,t,e,!0),e+2},ct.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,2,32767,-32768),ct.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):It(this,t,e,!1),e+2},ct.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,4,2147483647,-2147483648),ct.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):jt(this,t,e,!0),e+4},ct.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||Bt(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),ct.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):jt(this,t,e,!1),e+4},ct.prototype.writeFloatLE=function(t,e,n){return zt(this,t,e,!0,n)},ct.prototype.writeFloatBE=function(t,e,n){return zt(this,t,e,!1,n)},ct.prototype.writeDoubleLE=function(t,e,n){return $t(this,t,e,!0,n)},ct.prototype.writeDoubleBE=function(t,e,n){return $t(this,t,e,!1,n)},ct.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var r,o=i-n;if(this===t&&n<e&&e<i)for(r=o-1;r>=0;--r)t[r+e]=this[r+n];else if(o<1e3||!ct.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},ct.prototype.fill=function(t,e,n,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!ct.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=mt(t)?t:Ht(new ct(t,i).toString()),a=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%a]}return this};var Wt=/[^+\/0-9A-Za-z-_]/g;function Nt(t){return t<16?"0"+t.toString(16):t.toString(16)}function Ht(t,e){var n;e=e||1/0;for(var i=t.length,r=null,o=[],s=0;s<i;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Yt(t){return function(t){var e,n,i,r,o,s;Z||Q();var a=t.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===t[a-2]?2:"="===t[a-1]?1:0,s=new J(3*a/4-o),i=o>0?a-4:a;var h=0;for(e=0,n=0;e<i;e+=4,n+=3)r=V[t.charCodeAt(e)]<<18|V[t.charCodeAt(e+1)]<<12|V[t.charCodeAt(e+2)]<<6|V[t.charCodeAt(e+3)],s[h++]=r>>16&255,s[h++]=r>>8&255,s[h++]=255&r;return 2===o?(r=V[t.charCodeAt(e)]<<2|V[t.charCodeAt(e+1)]>>4,s[h++]=255&r):1===o&&(r=V[t.charCodeAt(e)]<<10|V[t.charCodeAt(e+1)]<<4|V[t.charCodeAt(e+2)]>>2,s[h++]=r>>8&255,s[h++]=255&r),s}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(Wt,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Gt(t,e,n,i){for(var r=0;r<i&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function qt(t){return null!=t&&(!!t._isBuffer||Kt(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&Kt(t.slice(0,0))}(t))}function Kt(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var Xt,Vt=u(Object.freeze({__proto__:null,Buffer:ct,INSPECT_MAX_BYTES:50,SlowBuffer:function(t){return+t!=t&&(t=0),ct.alloc(+t)},isBuffer:qt,kMaxLength:at}));Xt="function"==typeof Object.create?function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t};var Jt=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},i=0;i<e.length;i++)n[e[i]]=Object.getOwnPropertyDescriptor(t,e[i]);return n},Zt=/%[sdj%]/g;function Qt(t){if(!ge(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(re(arguments[n]));return e.join(" ")}n=1;for(var i=arguments,r=i.length,o=String(t).replace(Zt,function(t){if("%%"===t)return"%";if(n>=r)return t;switch(t){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(t){return"[Circular]"}default:return t}}),s=i[n];n<r;s=i[++n])de(s)||!we(s)?o+=" "+s:o+=" "+re(s);return o}function te(t,e){if(ye(p.process))return function(){return te(t,e).apply(this,arguments)};if(!0===U.noDeprecation)return t;var n=!1;return function(){if(!n){if(U.throwDeprecation)throw new Error(e);U.traceDeprecation,n=!0}return t.apply(this,arguments)}}var ee,ne={};function ie(t){if(ye(ee)&&(ee=U.env.NODE_DEBUG||""),t=t.toUpperCase(),!ne[t])if(new RegExp("\\b"+t+"\\b","i").test(ee)){ne[t]=function(){Qt.apply(null,arguments)}}else ne[t]=function(){};return ne[t]}function re(t,e){var n={seen:[],stylize:se};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),ue(e)?n.showHidden=e:e&&Ee(n,e),ye(n.showHidden)&&(n.showHidden=!1),ye(n.depth)&&(n.depth=2),ye(n.colors)&&(n.colors=!1),ye(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=oe),ae(n,t,n.depth)}function oe(t,e){var n=re.styles[e];return n?"�["+re.colors[n][0]+"m"+t+"�["+re.colors[n][1]+"m":t}function se(t,e){return t}function ae(t,e,n){if(t.customInspect&&e&&Se(e.inspect)&&e.inspect!==re&&(!e.constructor||e.constructor.prototype!==e)){var i=e.inspect(n,t);return ge(i)||(i=ae(t,i,n)),i}var r=function(t,e){if(ye(e))return t.stylize("undefined","undefined");if(ge(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(pe(e))return t.stylize(""+e,"number");if(ue(e))return t.stylize(""+e,"boolean");if(de(e))return t.stylize("null","null")}(t,e);if(r)return r;var o=Object.keys(e),s=function(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(e)),ve(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return he(e);if(0===o.length){if(Se(e)){var a=e.name?": "+e.name:"";return t.stylize("[Function"+a+"]","special")}if(be(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(_e(e))return t.stylize(Date.prototype.toString.call(e),"date");if(ve(e))return he(e)}var h,l="",c=!1,u=["{","}"];(ce(e)&&(c=!0,u=["[","]"]),Se(e))&&(l=" [Function"+(e.name?": "+e.name:"")+"]");return be(e)&&(l=" "+RegExp.prototype.toString.call(e)),_e(e)&&(l=" "+Date.prototype.toUTCString.call(e)),ve(e)&&(l=" "+he(e)),0!==o.length||c&&0!=e.length?n<0?be(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special"):(t.seen.push(e),h=c?function(t,e,n,i,r){for(var o=[],s=0,a=e.length;s<a;++s)ke(e,String(s))?o.push(le(t,e,n,i,String(s),!0)):o.push("");return r.forEach(function(r){r.match(/^\d+$/)||o.push(le(t,e,n,i,r,!0))}),o}(t,e,n,s,o):o.map(function(i){return le(t,e,n,s,i,c)}),t.seen.pop(),function(t,e,n){var i=t.reduce(function(t,e){return e.indexOf("\n"),t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(i>60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(h,l,u)):u[0]+l+u[1]}function he(t){return"["+Error.prototype.toString.call(t)+"]"}function le(t,e,n,i,r,o){var s,a,h;if((h=Object.getOwnPropertyDescriptor(e,r)||{value:e[r]}).get?a=h.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):h.set&&(a=t.stylize("[Setter]","special")),ke(i,r)||(s="["+r+"]"),a||(t.seen.indexOf(h.value)<0?(a=de(n)?ae(t,h.value,null):ae(t,h.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map(function(t){return"  "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return"   "+t}).join("\n")):a=t.stylize("[Circular]","special")),ye(s)){if(o&&r.match(/^\d+$/))return a;(s=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function ce(t){return Array.isArray(t)}function ue(t){return"boolean"==typeof t}function de(t){return null===t}function fe(t){return null==t}function pe(t){return"number"==typeof t}function ge(t){return"string"==typeof t}function me(t){return"symbol"==typeof t}function ye(t){return void 0===t}function be(t){return we(t)&&"[object RegExp]"===Ae(t)}function we(t){return"object"==typeof t&&null!==t}function _e(t){return we(t)&&"[object Date]"===Ae(t)}function ve(t){return we(t)&&("[object Error]"===Ae(t)||t instanceof Error)}function Se(t){return"function"==typeof t}function Ce(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function xe(t){return ct.isBuffer(t)}function Ae(t){return Object.prototype.toString.call(t)}re.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]},re.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Te(){}function Ee(t,e){if(!e||!we(e))return t;for(var n=Object.keys(e),i=n.length;i--;)t[n[i]]=e[n[i]];return t}function ke(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Pe="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function Re(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(Pe&&t[Pe]){var e;if("function"!=typeof(e=t[Pe]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,Pe,{value:e,enumerable:!1,writable:!1,
vendor: 4,557 bytes, line 1
1configurable:!0}),e}function e(){for(var e,n,i=new Promise(function(t,i){e=t,n=i}),r=[],o=0;o<arguments.length;o++)r.push(arguments[o]);r.push(function(t,i){t?n(t):e(i)});try{t.apply(this,r)}catch(t){n(t)}return i}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Pe&&Object.defineProperty(e,Pe,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,Jt(t))}function Me(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}function Oe(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],n=0;n<arguments.length;n++)e.push(arguments[n]);var i=e.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var r=this,o=function(){return i.apply(r,arguments)};t.apply(this,e).then(function(t){U.nextTick(o.bind(null,null,t))},function(t){U.nextTick(Me.bind(null,t,o))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,Jt(t)),e}Re.custom=Pe;var De,Le,Fe={inherits:Xt,_extend:Ee,log:Te,isBuffer:xe,isPrimitive:Ce,isFunction:Se,isError:ve,isDate:_e,isObject:we,isRegExp:be,isUndefined:ye,isSymbol:me,isString:ge,isNumber:pe,isNullOrUndefined:fe,isNull:de,isBoolean:ue,isArray:ce,inspect:re,deprecate:te,format:Qt,debuglog:ie,promisify:Re,callbackify:Oe},Be=u(Object.freeze({__proto__:null,_extend:Ee,callbackify:Oe,debuglog:ie,default:Fe,deprecate:te,format:Qt,inherits:Xt,inspect:re,isArray:ce,isBoolean:ue,isBuffer:xe,isDate:_e,isError:ve,isFunction:Se,isNull:de,isNullOrUndefined:fe,isNumber:pe,isObject:we,isPrimitive:Ce,isRegExp:be,isString:ge,isSymbol:me,isUndefined:ye,log:Te,promisify:Re}));function Ie(t,e){Ue(t,e),je(t)}function je(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function Ue(t,e){t.emit("error",e)}var ze={destroy:function(t,e){var n=this,i=this._readableState&&this._readableState.destroyed,r=this._writableState&&this._writableState.destroyed;return i||r?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,U.nextTick(Ue,this,t)):U.nextTick(Ue,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,function(t){!e&&t?n._writableState?n._writableState.errorEmitted?U.nextTick(je,n):(n._writableState.errorEmitted=!0,U.nextTick(Ie,n,t)):U.nextTick(Ie,n,t):e?(U.nextTick(je,n),e(t)):U.nextTick(je,n)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var n=t._readableState,i=t._writableState;n&&n.autoDestroy||i&&i.autoDestroy?t.destroy(e):t.emit("error",e)}},$e={};var We={};function Ne(t,e,n){n||(n=Error);var i=function(t){var n,i;function r(n,i,r){return t.call(this,function(t,n,i){return"string"==typeof e?e:e(t,n,i)}(n,i,r))||this}return i=t,(n=r).prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i,r}(n);i.prototype.name=n.name,i.prototype.code=t,We[t]=i}function He(t,e){if(Array.isArray(t)){var n=t.length;return t=t.map(function(t){return String(t)}),n>2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}Ne("ERR_INVALID_OPT_VALUE",function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'},TypeError),Ne("ERR_INVALID_ARG_TYPE",function(t,e,n){var i,r,o;if("string"==typeof e&&(r="not ",e.substr(0,r.length)===r)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))o="The ".concat(t," ").concat(i," ").concat(He(e,"type"));else{var s=function(t,e,n){return"number"!=typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}(t,".")?"property":"argument";o='The "'.concat(t,'" ').concat(s," ").concat(i," ").concat(He(e,"type"))}return o+=". Received type ".concat(typeof n)},TypeError),Ne("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),Ne("ERR_METHOD_NOT_IMPLEMENT
1ED",function(t){return"The "+t+" method is not implemented"}),Ne("ERR_STREAM_PREMATURE_CLOSE","Premature close"),Ne("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),Ne("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),Ne("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),Ne("ERR_STREAM_WRITE_AFTER_END","write after end"),Ne("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),Ne("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),Ne("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),$e.codes=We;var Ye=$e.codes.ERR_INVALID_OPT_VALUE;var Ge={getHighWaterMark:function(t,e,n,i){var r=function(t,e,n){return null!=t.highWaterMark?t.highWaterMark:e?t[n]:null}(e,i,n);if(null!=r){if(!isFinite(r)||Math.floor(r)!==r||r<0)throw new Ye(i?n:"highWaterMark",r);return Math.floor(r)}return t.objectMode?16:16384}},qe="function"==typeof Object.create?function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t},Ke=u(Object.freeze({__proto__:null,default:qe})),Xe=ct.isEncoding||function(t){switch(t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ve(t){switch(this.encoding=(t||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!Xe(t))throw new Error("Unknown encoding: "+t)}(t),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=Ze;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Qe;break;default:return void(this.write=Je)}this.charBuffer=new ct(6),this.charReceived=0,this.charLength=0}function Je(t){return t.toString(this.encoding)}function Ze(t){this.charReceived=t.length%2,this.charLength=this.charReceived?2:0}function Qe(t){this.charReceived=t.length%3,this.charLength=this.charReceived?3:0}Ve.prototype.write=function(t){for(var e="";this.charLength;){var n=t.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";if(t=t.slice(n,t.length),!((r=(e=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(e.length-1))>=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===t.length)return e;break}this.charLength+=this.surrogateSize,e=""}this.detectIncompleteChar(t);var i=t.length;this.charLength&&(t.copy(this.charBuffer,0,t.length-this.charReceived,i),i-=this.charReceived);var r;i=(e+=t.toString(this.encoding,0,i)).length-1;if((r=e.charCodeAt(i))>=55296&&r<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),t.copy(this.charBuffer,0,0,o),e.substring(0,i)}return e},Ve.prototype.detectIncompleteChar=function(t){for(var e=t.length>=3?3:t.length;e>0;e--){var n=t[t.length-e];if(1==e&&n>>5==6){this.charLength=2;break}if(e<=2&&n>>4==14){this.charLength=3;break}if(e<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=e},Ve.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var n=this.charReceived,i=this.charBuffer,r=this.encoding;e+=i.slice(0,n).toString(r)}return e};var tn=u(Object.freeze({__proto__:null,StringDecoder:Ve})),en=$e.codes.ERR_STREAM_PREMATURE_CLOSE;function nn(){}var rn,on,sn,an,hn=function t(e,n,i){if("function"==typeof n)return t(e,null,n);n||(n={}),i=function(t){var e=!1;return function(){if(!e){e=!0;for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];t.apply(this,i)}}}(i||nn);var r=n.readable||!1!==n.readable&&e.readable,o=n.writable||!1!==n.writable&&e.writable,s=function(){e.writable||h()},a=e._writableState&&e._writableState.finished,h=function(){o=!1,a=!0,r||i.call(e)},l=e._readableState&&e._readableState.endEmitted,c=function(){r=!1,l=!0,o||i.call(e)},u=function(t){i.call(e,t)},d=function(){var t;return r&&!l?(e._readableState&&e._readableState.ended||(t=new en),i.call(e,t)):o&&!a?(e._writableState&&e._writableState.ended||(t=new en),i.call(e,t)):void 0},f=function(){e.req.on("finish",h)};return!function(t){return t.setHeader&&"function"==typeof t.abort}
1(e)?o&&!e._writableState&&(e.on("end",s),e.on("close",s)):(e.on("complete",h),e.on("abort",d),e.req?f():e.on("request",f)),e.on("end",c),e.on("finish",h),!1!==n.error&&e.on("error",u),e.on("close",d),function(){e.removeListener("complete",h),e.removeListener("abort",d),e.removeListener("request",f),e.req&&e.req.removeListener("finish",h),e.removeListener("end",s),e.removeListener("close",s),e.removeListener("finish",h),e.removeListener("end",c),e.removeListener("error",u),e.removeListener("close",d)}};function ln(){if(on)return rn;var t;function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}on=1;var n=hn,i=Symbol("lastResolve"),r=Symbol("lastReject"),o=Symbol("error"),s=Symbol("ended"),a=Symbol("lastPromise"),h=Symbol("handlePromise"),l=Symbol("stream");function c(t,e){return{value:t,done:e}}function u(t){var e=t[i];if(null!==e){var n=t[l].read();null!==n&&(t[a]=null,t[i]=null,t[r]=null,e(c(n,!1)))}}function d(t){U.nextTick(u,t)}var f=Object.getPrototypeOf(function(){}),p=Object.setPrototypeOf((e(t={get stream(){return this[l]},next:function(){var t=this,e=this[o];if(null!==e)return Promise.reject(e);if(this[s])return Promise.resolve(c(void 0,!0));if(this[l].destroyed)return new Promise(function(e,n){U.nextTick(function(){t[o]?n(t[o]):e(c(void 0,!0))})});var n,i=this[a];if(i)n=new Promise(function(t,e){return function(n,i){t.then(function(){e[s]?n(c(void 0,!0)):e[h](n,i)},i)}}(i,this));else{var r=this[l].read();if(null!==r)return Promise.resolve(c(r,!1));n=new Promise(this[h])}return this[a]=n,n}},Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var t=this;return new Promise(function(e,n){t[l].destroy(null,function(t){t?n(t):e(c(void 0,!0))})})}),t),f);return rn=function(t){var u,f=Object.create(p,(e(u={},l,{value:t,writable:!0}),e(u,i,{value:null,writable:!0}),e(u,r,{value:null,writable:!0}),e(u,o,{value:null,writable:!0}),e(u,s,{value:t._readableState.endEmitted,writable:!0}),e(u,h,{value:function(t,e){var n=f[l].read();n?(f[a]=null,f[i]=null,f[r]=null,t(c(n,!1))):(f[i]=t,f[r]=e)},writable:!0}),u));return f[a]=null,n(t,function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=f[r];return null!==e&&(f[a]=null,f[i]=null,f[r]=null,e(t)),void(f[o]=t)}var n=f[i];null!==n&&(f[a]=null,f[i]=null,f[r]=null,n(c(void 0,!0))),f[s]=!0}),t.on("readable",d.bind(null,f)),f},rn}const cn=f;cn.Readable=Mn,Mn.ReadableState=Rn,q.EventEmitter;var un=function(t,e){return t.listeners(e).length},dn=K,fn=Vt.Buffer,pn=l.Uint8Array||function(){};var gn,mn=Be;gn=mn&&mn.debuglog?mn.debuglog("stream"):function(){};var yn,bn,wn,_n=function(){if(Le)return De;function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n(t,e,n){return e&&function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(t.prototype,e),t}Le=1;var i=Vt.Buffer,r=Be.inspect,o=r&&r.custom||"inspect";function s(t,e,n){i.prototype.copy.call(t,e,n)}return De=function(){function a(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),this.head=null,this.tail=null,this.length=0}return n(a,[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n}},{key:"concat",value:function(t){if(0===this.length)return i.alloc(0);for(var e=i.allocUnsafe(t>>>0),n=this.head,r=0;n;)s(n.data,e,r),r+=n.data.length,n=n.next;return e}},{key:"consume",value:function(t,e){var n;return t<this.head.data.length?(n=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):n=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var e=this.head,n=1,i=e.data;for(t-=i.length;e=e.next;){var r=e.data,o=t>r.length?r.length:t;
vendor: 4,289 bytes, line 1
1if(o===r.length?i+=r:i+=r.slice(0,t),0===(t-=o)){o===r.length?(++n,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e,e.data=r.slice(o));break}++n}return this.length-=n,i}},{key:"_getBuffer",value:function(t){var e=i.allocUnsafe(t),n=this.head,r=1;for(n.data.copy(e),t-=n.data.length;n=n.next;){var o=n.data,s=t>o.length?o.length:t;if(o.copy(e,e.length-t,0,s),0===(t-=s)){s===o.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(s));break}++r}return this.length-=r,e}},{key:o,value:function(n,i){return r(this,function(n){for(var i=1;i<arguments.length;i++){var r=null!=arguments[i]?arguments[i]:{};i%2?t(Object(r),!0).forEach(function(t){e(n,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(r,t))})}return n}({},i,{depth:0,customInspect:!1}))}}]),a}(),De}(),vn=ze,Sn=Ge.getHighWaterMark,Cn=$e.codes,xn=Cn.ERR_INVALID_ARG_TYPE,An=Cn.ERR_STREAM_PUSH_AFTER_EOF,Tn=Cn.ERR_METHOD_NOT_IMPLEMENTED,En=Cn.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;Ke(Mn,dn);var kn=vn.errorOrDestroy,Pn=["error","close","destroy","pause","resume"];function Rn(t,e,n){t=t||{},"boolean"!=typeof n&&(n=e instanceof cn.Duplex),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=Sn(this,t,"readableHighWaterMark",n),this.buffer=new _n,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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(yn||(yn=tn.StringDecoder),this.decoder=new yn(t.encoding),this.encoding=t.encoding)}function Mn(t){if(!(this instanceof Mn))return new Mn(t);var e=this instanceof cn.Duplex;this._readableState=new Rn(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),dn.call(this)}function On(t,e,n,i,r){gn("readableAddChunk",e);var o,s=t._readableState;if(null===e)s.reading=!1,function(t,e){if(gn("onEofChunk"),e.ended)return;if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,e.sync?Bn(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,In(t)))}(t,s);else if(r||(o=function(t,e){var n;i=e,fn.isBuffer(i)||i instanceof pn||"string"==typeof e||void 0===e||t.objectMode||(n=new xn("chunk",["string","Buffer","Uint8Array"],e));var i;return n}(s,e)),o)kn(t,o);else if(s.objectMode||e&&e.length>0)if("string"==typeof e||s.objectMode||Object.getPrototypeOf(e)===fn.prototype||(e=function(t){return fn.from(t)}(e)),i)s.endEmitted?kn(t,new En):Dn(t,s,e,!0);else if(s.ended)kn(t,new An);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(e=s.decoder.write(e),s.objectMode||0!==e.length?Dn(t,s,e,!1):jn(t,s)):Dn(t,s,e,!1)}else i||(s.reading=!1,jn(t,s));return!s.ended&&(s.length<s.highWaterMark||0===s.length)}function Dn(t,e,n,i){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",n)):(e.length+=e.objectMode?1:n.length,i?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&Bn(t)),jn(t,e)}Object.defineProperty(Mn.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),Mn.prototype.destroy=vn.destroy,Mn.prototype._undestroy=vn.undestroy,Mn.prototype._destroy=function(t,e){e(t)},Mn.prototype.push=function(t,e){var n,i=this._readableState;return i.objectMode?n=!0:"string"==typeof t&&((e=e||i.defaultEncoding)!==i.encoding&&(t=fn.from(t,e),e=""),n=!0),On(this,t,e,!1,n)},Mn.prototype.unshift=function(t){return On(this,t,null,!0,!1)},Mn.prototype.isPaused=function(){return!1===this._readableState.flowing},Mn.prototype.setEncoding=function(t){yn||(yn=tn.StringDecoder);var e=new yn(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;
vendor: 5,739 bytes, line 1
1for(var n=this._readableState.buffer.head,i="";null!==n;)i+=e.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var Ln=1073741824;function Fn(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=Ln?t=Ln:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function Bn(t){var e=t._readableState;gn("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(gn("emitReadable",e.flowing),e.emittedReadable=!0,U.nextTick(In,t))}function In(t){var e=t._readableState;gn("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,Nn(t)}function jn(t,e){e.readingMore||(e.readingMore=!0,U.nextTick(Un,t,e))}function Un(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var n=e.length;if(gn("maybeReadMore read 0"),t.read(0),n===e.length)break}e.readingMore=!1}function zn(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function $n(t){gn("readable nexttick read 0"),t.read(0)}function Wn(t,e){gn("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),Nn(t),e.flowing&&!e.reading&&t.read(0)}function Nn(t){var e=t._readableState;for(gn("flow",e.flowing);e.flowing&&null!==t.read(););}function Hn(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):n=e.buffer.consume(t,e.decoder),n);var n}function Yn(t){var e=t._readableState;gn("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,U.nextTick(Gn,e,t))}function Gn(t,e){if(gn("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var n=e._writableState;(!n||n.autoDestroy&&n.finished)&&e.destroy()}}function qn(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1}Mn.prototype.read=function(t){gn("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return gn("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?Yn(this):Bn(this),null;if(0===(t=Fn(t,e))&&e.ended)return 0===e.length&&Yn(this),null;var i,r=e.needReadable;return gn("need readable",r),(0===e.length||e.length-t<e.highWaterMark)&&gn("length less than watermark",r=!0),e.ended||e.reading?gn("reading or ended",r=!1):r&&(gn("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=Fn(n,e))),null===(i=t>0?Hn(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&Yn(this)),null!==i&&this.emit("data",i),i},Mn.prototype._read=function(t){kn(this,new Tn("_read()"))},Mn.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,gn("pipe count=%d opts=%j",i.pipesCount,e);var r=(!e||!1!==e.end)&&t!==U.stdout&&t!==U.stderr?s:f;function o(e,r){gn("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,gn("cleanup"),t.removeListener("close",u),t.removeListener("finish",d),t.removeListener("drain",a),t.removeListener("error",c),t.removeListener("unpipe",o),n.removeListener("end",s),n.removeListener("end",f),n.removeListener("data",l),h=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||a())}function s(){gn("onend"),t.end()}i.endEmitted?U.nextTick(r):n.once("end",r),t.on("unpipe",o);var a=function(t){return function(){var e=t._readableState;gn("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&un(t,"data")&&(e.flowing=!0,Nn(t))}}(n);t.on("drain",a);var h=!1;function l(e){gn("ondata");var r=t.write(e);gn("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==qn(i.pipes,t))&&!h&&(gn("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function c(e){gn("onerror",e),f(),t.removeListener("error",c),0===un(t,"error")&&kn(t,e)}function u(){t.removeListener("finish",d),f()}function d(){gn("onfinish"),t.removeListener("close",u),f()}function f(){gn("unpipe"),n.unpipe(t)}return n.on("data",l),function(t,e,n){if("function"==typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",c),t.once("close",u),t.once("finish",d),t.emit("pipe",n),i.flowing||(gn("pipe resume"),n.resume()),t},Mn.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var i=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var o=0;o<r;o++)i[o].emit("unpipe",this,{hasUnpiped:!1});return this}var s=qn(e.pipes,t);return-1===s||(e.pipes.splice(s,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},Mn.prototype.on=function(t,e){var n=dn.prototype.on.call(this,t,e),i=this._readableState;return"data"===t?(i.readableListening=this.listenerCount("readable")>
10,!1!==i.flowing&&this.resume()):"readable"===t&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,gn("on readable",i.length,i.reading),i.length?Bn(this):i.reading||U.nextTick($n,this))),n},Mn.prototype.addListener=Mn.prototype.on,Mn.prototype.removeListener=function(t,e){var n=dn.prototype.removeListener.call(this,t,e);return"readable"===t&&U.nextTick(zn,this),n},Mn.prototype.removeAllListeners=function(t){var e=dn.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||U.nextTick(zn,this),e},Mn.prototype.resume=function(){var t=this._readableState;return t.flowing||(gn("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,U.nextTick(Wn,t,e))}(this,t)),t.paused=!1,this},Mn.prototype.pause=function(){return gn("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(gn("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},Mn.prototype.wrap=function(t){var e=this,n=this._readableState,i=!1;for(var r in t.on("end",function(){if(gn("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)}),t.on("data",function(r){(gn("wrapped data"),n.decoder&&(r=n.decoder.write(r)),n.objectMode&&null==r)||(n.objectMode||r&&r.length)&&(e.push(r)||(i=!0,t.pause()))}),t)void 0===this[r]&&"function"==typeof t[r]&&(this[r]=function(e){return function(){return t[e].apply(t,arguments)}}(r));for(var o=0;o<Pn.length;o++)t.on(Pn[o],this.emit.bind(this,Pn[o]));return this._read=function(e){gn("wrapped _read",e),i&&(i=!1,t.resume())},this},"function"==typeof Symbol&&(Mn.prototype[Symbol.asyncIterator]=function(){return void 0===bn&&(bn=ln()),bn(this)}),Object.defineProperty(Mn.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Mn.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Mn.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),Mn._fromList=Hn,Object.defineProperty(Mn.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(Mn.from=function(t,e){return void 0===wn&&(wn=an?sn:(an=1,sn=function(){throw new Error("Readable.from is not available in the browser")})),wn(Mn,t,e)});var Kn=function(t,e){if(Xn("noDeprecation"))return t;var n=!1;return function(){if(!n){if(Xn("throwDeprecation"))throw new Error(e);Xn("traceDeprecation"),n=!0}return t.apply(this,arguments)}};function Xn(t){try{if(!l.localStorage)return!1}catch(t){return!1}var e=l.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}const Vn=f;function Jn(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var i=t.entry;t.entry=null;for(;i;){var r=i.callback;e.pendingcb--,r(n),i=i.next}e.corkedRequestsFree.next=t}(e,t)}}Vn.Writable=yi,yi.WritableState=mi;var Zn={deprecate:Kn},Qn=K,ti=Vt.Buffer,ei=l.Uint8Array||function(){};var ni,ii=ze,ri=Ge.getHighWaterMark,oi=$e.codes,si=oi.ERR_INVALID_ARG_TYPE,ai=oi.ERR_METHOD_NOT_IMPLEMENTED,hi=oi.ERR_MULTIPLE_CALLBACK,li=oi.ERR_STREAM_CANNOT_PIPE,ci=oi.ERR_STREAM_DESTROYED,ui=oi.ERR_STREAM_NULL_VALUES,di=oi.ERR_STREAM_WRITE_AFTER_END,fi=oi.ERR_UNKNOWN_ENCODING,pi=ii.errorOrDestroy;function gi(){}function mi(t,e,n){t=t||{},"boolean"!=typeof n&&(n=e instanceof Vn.Duplex),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=ri(this,t,"writableHighWaterMark",n),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,i=n.sync,r=n.writecb;if("function"!=typeof r)throw new hi;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,i,r){--e.pendingcb,n?(U.nextTick(r,i),U.nextTick(Ci,t,e),t._writableState.errorEmitted=!0,pi(t,i)):(r(i),t._writableState.errorEmitted=!0,pi(t,i),
vendor: 7,155 bytes, line 1
1Ci(t,e))}(t,n,i,e,r);else{var o=vi(n)||t.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||_i(t,n),i?U.nextTick(wi,t,n,o,r):wi(t,n,o,r)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Jn(this)}function yi(t){var e=this instanceof Vn.Duplex;if(!e&&!ni.call(yi,this))return new yi(t);this._writableState=new mi(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),Qn.call(this)}function bi(t,e,n,i,r,o,s){e.writelen=i,e.writecb=s,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new ci("write")):n?t._writev(r,e.onwrite):t._write(r,o,e.onwrite),e.sync=!1}function wi(t,e,n,i){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,i(),Ci(t,e)}function _i(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var i=e.bufferedRequestCount,r=new Array(i),o=e.corkedRequestsFree;o.entry=n;for(var s=0,a=!0;n;)r[s]=n,n.isBuf||(a=!1),n=n.next,s+=1;r.allBuffers=a,bi(t,e,!0,e.length,r,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new Jn(e),e.bufferedRequestCount=0}else{for(;n;){var h=n.chunk,l=n.encoding,c=n.callback;if(bi(t,e,!1,e.objectMode?1:h.length,h,l,c),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function vi(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function Si(t,e){t._final(function(n){e.pendingcb--,n&&pi(t,n),e.prefinished=!0,t.emit("prefinish"),Ci(t,e)})}function Ci(t,e){var n=vi(e);if(n&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,U.nextTick(Si,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var i=t._readableState;(!i||i.autoDestroy&&i.endEmitted)&&t.destroy()}return n}Ke(yi,Qn),mi.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(mi.prototype,"buffer",{get:Zn.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(ni=Function.prototype[Symbol.hasInstance],Object.defineProperty(yi,Symbol.hasInstance,{value:function(t){return!!ni.call(this,t)||this===yi&&(t&&t._writableState instanceof mi)}})):ni=function(t){return t instanceof this},yi.prototype.pipe=function(){pi(this,new li)},yi.prototype.write=function(t,e,n){var i,r=this._writableState,o=!1,s=!r.objectMode&&(i=t,ti.isBuffer(i)||i instanceof ei);return s&&!ti.isBuffer(t)&&(t=function(t){return ti.from(t)}(t)),"function"==typeof e&&(n=e,e=null),s?e="buffer":e||(e=r.defaultEncoding),"function"!=typeof n&&(n=gi),r.ending?function(t,e){var n=new di;pi(t,n),U.nextTick(e,n)}(this,n):(s||function(t,e,n,i){var r;return null===n?r=new ui:"string"==typeof n||e.objectMode||(r=new si("chunk",["string","Buffer"],n)),!r||(pi(t,r),U.nextTick(i,r),!1)}(this,r,t,n))&&(r.pendingcb++,o=function(t,e,n,i,r,o){if(!n){var s=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=ti.from(e,n));return e}(e,i,r);i!==s&&(n=!0,r="buffer",i=s)}var a=e.objectMode?1:i.length;e.length+=a;var h=e.length<e.highWaterMark;h||(e.needDrain=!0);if(e.writing||e.corked){var l=e.lastBufferedRequest;e.lastBufferedRequest={chunk:i,encoding:r,isBuf:n,callback:o,next:null},l?l.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else bi(t,e,!1,a,i,r,o);return h}(this,r,s,t,e,n)),o},yi.prototype.cork=function(){this._writableState.corked++},yi.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||_i(this,t))},yi.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new fi(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(yi.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(yi.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),yi.prototype._write=function(t,e,n){n(new ai("_write()"))},yi.prototype._writev=null,yi.prototype.end=function(t,e,n){var i=this._writableState;return"function"==typeof t?(n=t,t=null,e=null):"function"==typeof e&&(n=e,e=null),null!=t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,n){e.ending=!0,Ci(t,e),n&&(e.finished?U.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,i,n),this},Object.defineProperty(yi.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(yi.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),yi.prototype.destroy=ii.destroy,yi.prototype._undestroy=ii.undestroy,yi.prototype._destroy=function(t,e){e(t)};var xi=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};const Ai=f;Ai.Duplex=Pi,Ke(Pi,Ai.Readable);for(var Ti=xi(Ai.Writable.prototype),Ei=0;Ei<Ti.length;Ei++){var ki=Ti[Ei];Pi.prototype[ki]||(Pi.prototype[ki]=Ai.Writable.prototype[ki])}function Pi(t){if(!(this instanceof Pi))return new Pi(t);Ai.Readable.call(this,t),Ai.Writable.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",Ri)))}function Ri(){this._writableState.ended||U.nextTick(Mi,this)}function Mi(t){t.end()}Object.defineProperty(Pi.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(Pi.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Pi.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Pi.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}});const Oi=f;Oi.Transform=Ui;
1var Di=$e.codes,Li=Di.ERR_METHOD_NOT_IMPLEMENTED,Fi=Di.ERR_MULTIPLE_CALLBACK,Bi=Di.ERR_TRANSFORM_ALREADY_TRANSFORMING,Ii=Di.ERR_TRANSFORM_WITH_LENGTH_0;function ji(t,e){var n=this._transformState;n.transforming=!1;var i=n.writecb;if(null===i)return this.emit("error",new Fi);n.writechunk=null,n.writecb=null,null!=e&&this.push(e),i(t);var r=this._readableState;r.reading=!1,(r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}function Ui(t){if(!(this instanceof Ui))return new Ui(t);Oi.Duplex.call(this,t),this._transformState={afterTransform:ji.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",zi)}function zi(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?$i(this,null,null):this._flush(function(e,n){$i(t,e,n)})}function $i(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new Ii;if(t._transformState.transforming)throw new Bi;return t.push(null)}Ke(Ui,Oi.Duplex),Ui.prototype.push=function(t,e){return this._transformState.needTransform=!1,Oi.Duplex.prototype.push.call(this,t,e)},Ui.prototype._transform=function(t,e,n){n(new Li("_transform()"))},Ui.prototype._write=function(t,e,n){var i=this._transformState;if(i.writecb=n,i.writechunk=t,i.writeencoding=e,!i.transforming){var r=this._readableState;(i.needTransform||r.needReadable||r.length<r.highWaterMark)&&this._read(r.highWaterMark)}},Ui.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},Ui.prototype._destroy=function(t,e){Oi.Duplex.prototype._destroy.call(this,t,function(t){e(t)})};const Wi=f;function Ni(t){if(!(this instanceof Ni))return new Ni(t);Transform.call(this,t)}var Hi;Wi.PassThrough=Ni,Ke(Ni,Wi.Transform),Ni.prototype._transform=function(t,e,n){n(null,t)};var Yi=$e.codes,Gi=Yi.ERR_MISSING_ARGS,qi=Yi.ERR_STREAM_DESTROYED;function Ki(t){if(t)throw t}function Xi(t){t()}function Vi(t,e){return t.pipe(e)}var Ji=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,r=function(t){return t.length?"function"!=typeof t[t.length-1]?Ki:t.pop():Ki}(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new Gi("streams");var o=e.map(function(t,n){var s=n<e.length-1;return function(t,e,n,i){i=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(i);var r=!1;t.on("close",function(){r=!0}),void 0===Hi&&(Hi=hn),Hi(t,{readable:e,writable:n},function(t){if(t)return i(t);r=!0,i()});var o=!1;return function(e){if(!r&&!o)return o=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void i(e||new qi("pipe"))}}(t,s,n>0,function(t){i||(i=t),t&&o.forEach(Xi),s||(o.forEach(Xi),r(i))})});return e.reduce(Vi)};!function(t,e){const n=f;(e=t.exports=n.Readable).Stream=n.Readable,e.Readable=n.Readable,e.Writable=n.Writable,e.Duplex=n.Duplex,e.Transform=n.Transform,e.PassThrough=n.PassThrough,e.finished=hn,e.pipeline=Ji}(d,d.exports);var Zi=c(d.exports);function Qi(t){if(!((e=t)instanceof Uint8Array||ArrayBuffer.isView(e)&&"Uint8Array"===e.constructor.name))throw new Error("Uint8Array expected");for(var e,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if(i.length>0&&!i.includes(t.length))throw new Error("Uint8Array expected of length "+i+", got length="+t.length)}function tr(t,e){if(void 0===e&&(e=!0),t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function er(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(let t=0;t<e.length;t++)e[t].fill(0)}function nr(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function ir(t,e){return t<<32-e|t>>>e}const rr=(()=>"function"==typeof Uint8Array.from([]).toHex&&"function"==typeof Uint8Array.fromHex)(),or=Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function sr(t){return"string"==typeof t&&(t=function(t){if("string"!=typeof t)throw new Error("string expected");return new Uint8Array((new TextEncoder).encode(t))}(t)),Qi(t),t}function ar(){let t=0;for(let e=0;e<arguments.length;e++){const n=e<0||arguments.length<=e?void 0:arguments[e];Qi(n),t+=n.length}const e=new Uint8Array(t);for(let t=0,n=0;t<arguments.length;t++){const i=t<0||arguments.length<=t?void 0:arguments[t];e.set(i,n),n+=i.length}return e}class hr{}function lr(t){const e=e=>t().update(sr(e)).digest(),n=t();return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=()=>t(),e}
1class cr{toString(){throw new Error("Must be implemented by subclasses")}}class ur{constructor(t){void 0===t&&(t={}),this._items={},this.limits="boolean"!=typeof t.limits||t.limits}add(t,e){return this._items[t]=e}get(t){return this._items[t]}toString(){const t=Object.keys(this._items).sort((t,e)=>this._compareKeys(t,e)),e=["<<"];if(this.limits&&t.length>1){const n=t[0],i=t[t.length-1];e.push(`  /Limits ${Sr.convert([this._dataForKey(n),this._dataForKey(i)])}`)}e.push(`  /${this._keysName()} [`);for(let n of t)e.push(`    ${Sr.convert(this._dataForKey(n))} ${Sr.convert(this._items[n])}`);return e.push("]"),e.push(">>"),e.join("\n")}_compareKeys(){throw new Error("Must be implemented by subclasses")}_keysName(){throw new Error("Must be implemented by subclasses")}_dataForKey(){throw new Error("Must be implemented by subclasses")}}class dr{constructor(t,e,n,i,r,o){this.id="CS"+Object.keys(t.spotColors).length,this.name=e,this.values=[n,i,r,o],this.ref=t.ref(["Separation",vr(this.name),"DeviceCMYK",{Range:[0,1,0,1,0,1,0,1],C0:[0,0,0,0],C1:this.values.map(t=>t/100),FunctionType:2,Domain:[0,1],N:1}]),this.ref.end()}toString(){return`${this.ref.id} 0 R`}}const fr=t=>{let e="";for(let n=0;n<t.length;n+=32768){const i=Math.min(n+32768,t.length);e+=String.fromCharCode.apply(null,t.subarray(n,i))}return e},pr=t=>{const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=255&t.charCodeAt(n);return e},gr=t=>{const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return n},mr=function(t,e){return void 0===e&&(e=0),(t[e]<<8|t[e+1])>>>0},yr=(t,e)=>(Array(e+1).join("0")+t).slice(-e),br=t=>t>127||t>32&&127!==t&&35!==t&&37!==t&&40!==t&&41!==t&&47!==t&&60!==t&&62!==t&&91!==t&&93!==t&&123!==t&&125!==t,wr=/[\n\r\t\b\f()\\]/g,_r={"\n":"\\n","\r":"\\r","\t":"\\t","\b":"\\b","\f":"\\f","\\":"\\\\","(":"\\(",")":"\\)"},vr=function(t){let e="";for(const n of t){const t=n.charCodeAt(0);br(t)?e+=n:e+=`#${t.toString(16).toUpperCase().padStart(2,"0")}`}return e};class Sr{static convert(t,e){if(void 0===e&&(e=null),"string"==typeof t)return`/${t}`;if(t instanceof String){let n,i=t,r=!1;for(let t=0,e=i.length;t<e;t++)if(i.charCodeAt(t)>127){r=!0;break}return n=r?(t=>{const e=new Uint8Array(2*(t.length+1));e[0]=254,e[1]=255;for(let n=0;n<t.length;n++){const i=t.charCodeAt(n);e[2*n+2]=i>>8,e[2*n+3]=255&i}return e})(i.valueOf()):pr(i.valueOf()),e&&(n=e(n)),i=fr(n),i=i.replace(wr,t=>_r[t]),`(${i})`}if(t instanceof Uint8Array)return`<${function(t){if(Qi(t),rr)return t.toHex();let e="";for(let n=0;n<t.length;n++)e+=or[t[n]];return e}(t)}>`;if(t instanceof cr||t instanceof ur||t instanceof dr)return t.toString();if(t instanceof Date){let n=`D:${yr(t.getUTCFullYear(),4)}`+yr(t.getUTCMonth()+1,2)+yr(t.getUTCDate(),2)+yr(t.getUTCHours(),2)+yr(t.getUTCMinutes(),2)+yr(t.getUTCSeconds(),2)+"Z";return e&&(n=fr(e(pr(n))),n=n.replace(wr,t=>_r[t])),`(${n})`}if(Array.isArray(t)){return`[${t.map(t=>Sr.convert(t,e)).join(" ")}]`}if("[object Object]"==={}.toString.call(t)){const n=["<<"];for(let i in t){const r=t[i];n.push(`/${i} ${Sr.convert(r,e)}`)}return n.push(">>"),n.join("\n")}return"number"==typeof t?Sr.number(t):`${t}`}static number(t){if(t>-1e21&&t<1e21)return Math.round(1e6*t)/1e6;throw new Error(`unsupported number: ${t}`)}}var Cr=t=>(0,i.$)(t);class xr extends cr{constructor(t,e,n){void 0===n&&(n={}),super(),this.document=t,this.id=e,this.data=n,this.gen=0,this.compress=this.document.compress&&!this.data.Filter,this.uncompressedLength=0,this.buffer=[]}write(t){t instanceof Uint8Array||(t=pr(t+"\n")),this.uncompressedLength+=t.length,null==this.data.Length&&(this.data.Length=0),this.buffer.push(t),this.data.Length+=t.length,this.compress&&(this.data.Filter="FlateDecode")}end(t){t&&this.write(t),this.finalize()}finalize(){this.offset=this.document._offset;const t=this.document._security?this.document._security.getEncryptFn(this.id,this.gen):null;this.buffer.length&&(this.buffer=(t=>{let e=0;for(const n of t)e+=n.length;const n=new Uint8Array(e);let i=0;for(const e of t)n.set(e,i),i+=e.length;return n})(this.buffer),this.compress&&(this.buffer=Cr(this.buffer)),t&&(this.buffer=t(this.buffer)),this.data.Length=this.buffer.length),this.document._write(`${this.id} ${this.gen} obj`),this.document._write(Sr.convert(this.data,t)),this.buffer.length&&(this.document._write("stream"),this.document._write(this.buffer),this.buffer=[],this.document._write("\nendstream")),this.document._write("endobj"),this.document._refEnd(this)}toString(){return`${this.id} ${this.gen} R`}}
vendor: 3,711 bytes, line 1
1const Ar=new Float32Array(1),Tr=new Uint32Array(Ar.buffer);function Er(t){const e=Math.fround(t);return e<=t?e:(Ar[0]=t,t<=0?Tr[0]+=1:Tr[0]-=1,Ar[0])}function kr(t,e,n){return void 0===e&&(e=void 0),void 0===n&&(n=t=>t),(null==t||"object"==typeof t&&0===Object.keys(t).length)&&(t=e),null==t||"object"!=typeof t?t={top:t,right:t,bottom:t,left:t}:Array.isArray(t)&&(t=2===t.length?{vertical:t[0],horizontal:t[1]}:{top:t[0],right:t[1],bottom:t[2],left:t[3]}),("vertical"in t||"horizontal"in t)&&(t={top:t.vertical,right:t.horizontal,bottom:t.vertical,left:t.horizontal}),{top:n(t.top),right:n(t.right),bottom:n(t.bottom),left:n(t.left)}}const Pr=1/2.54;function Rr(t){return 0===t?1:90===t?0:180===t?-1:270===t?0:Math.cos(t*Math.PI/180)}function Mr(t){return 0===t?0:90===t?1:180===t?0:270===t?-1:Math.sin(t*Math.PI/180)}const Or={top:72,left:72,bottom:72,right:72},Dr={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]};class Lr{constructor(t,e){var n;this.document=t,this._options=e,this.size=e.size||"letter",this.layout=e.layout||"portrait",this.userUnit=e.userUnit||1;const i=Array.isArray(this.size)?this.size:Dr[this.size.toUpperCase()];this.width=i["portrait"===this.layout?0:1],this.height=i["portrait"===this.layout?1:0],this.content=this.document.ref(),this.margins=kr(null!==(n=e.margin)&&void 0!==n?n:e.margins,Or,e=>t.sizeToPoint(e,0,this)),this.resources=this.document.ref({ProcSet:["PDF","Text","ImageB","ImageC","ImageI"]}),this.dictionary=this.document.ref({Type:"Page",Parent:this.document._root.data.Pages,MediaBox:[0,0,this.width,this.height],Contents:this.content,Resources:this.resources,UserUnit:this.userUnit}),this.markings=[]}get fonts(){const t=this.resources.data;return null!=t.Font?t.Font:t.Font={}}get xobjects(){const t=this.resources.data;return null!=t.XObject?t.XObject:t.XObject={}}get ext_gstates(){const t=this.resources.data;return null!=t.ExtGState?t.ExtGState:t.ExtGState={}}get patterns(){const t=this.resources.data;return null!=t.Pattern?t.Pattern:t.Pattern={}}get colorSpaces(){const t=this.resources.data;return t.ColorSpace||(t.ColorSpace={})}get annotations(){const t=this.dictionary.data;return null!=t.Annots?t.Annots:t.Annots=[]}get structParentTreeKey(){const t=this.dictionary.data;return null!=t.StructParents?t.StructParents:t.StructParents=this.document.createStructParentTreeNextKey()}get contentWidth(){return this.width-this.margins.left-this.margins.right}get contentHeight(){return this.height-this.margins.top-this.margins.bottom}maxY(){return this.height-this.margins.bottom}write(t){return this.content.write(t)}_setTabOrder(){!this.dictionary.Tabs&&this.document.hasMarkInfoDictionary()&&(this.dictionary.data.Tabs="S")}end(){this._setTabOrder(),this.dictionary.end(),this.resources.data.ColorSpace
1=this.resources.data.ColorSpace||{};for(let t of Object.values(this.document.spotColors))this.resources.data.ColorSpace[t.id]=t;return this.resources.end(),this.content.end()}}class Fr extends ur{_compareKeys(t,e){return t.localeCompare(e)}_keysName(){return"Names"}_dataForKey(t){return new String(t)}}function Br(t){return new Uint8Array(r.arrayBuffer(t))}function Ir(t,e,n){return t&e^~t&n}function jr(t,e,n){return t&e^t&n^e&n}class Ur extends hr{constructor(t,e,n,i){super(),this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.blockLen=t,this.outputLen=e,this.padOffset=n,this.isLE=i,this.buffer=new Uint8Array(t),this.view=nr(this.buffer)}update(t){tr(this),Qi(t=sr(t));const{view:e,buffer:n,blockLen:i}=this,r=t.length;for(let o=0;o<r;){const s=Math.min(i-this.pos,r-o);if(s===i){const e=nr(t);for(;i<=r-o;o+=i)this.process(e,o);continue}n.set(t.subarray(o,o+s),this.pos),this.pos+=s,o+=s,this.pos===i&&(this.process(e,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){tr(this),function(t,e){Qi(t);const n=e.outputLen;if(t.length<n)throw new Error("digestInto() expects output buffer of length at least "+n)}(t,this),this.finished=!0;const{buffer:e,view:n,blockLen:i,isLE:r}=this;let{pos:o}=this;e[o++]=128,er(this.buffer.subarray(o)),this.padOffset>i-o&&(this.process(n,0),o=0);for(let t=o;t<i;t++)e[t]=0;!function(t,e,n,i){if("function"==typeof t.setBigUint64)return t.setBigUint64(e,n,i);const r=BigInt(32),o=BigInt(4294967295),s=Number(n>>r&o),a=Number(n&o),h=i?4:0,l=i?0:4;t.setUint32(e+h,s,i),t.setUint32(e+l,a,i)}(n,i-8,BigInt(8*this.length),r),this.process(n,0);const s=nr(t),a=this.outputLen;if(a%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const h=a/4,l=this.get();if(h>l.length)throw new Error("_sha2: outputLen bigger than state");for(let t=0;t<h;t++)s.setUint32(4*t,l[t],r)}digest(){const{buffer:t,outputLen:e}=this;this.digestInto(t);const n=t.slice(0,e);return this.destroy(),n}_cloneInto(t){t||(t=new this.constructor),t.set(...this.get());const{blockLen:e,buffer:n,length:i,finished:r,destroyed:o,pos:s}=this;return t.destroyed=o,t.finished=r,t.length=i,t.pos=s,i%e&&t.buffer.set(n),t}clone(){return this._cloneInto()}}const zr=Uint32Array.from([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),$r=Uint32Array.from([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]),Wr=new Uint32Array(64);class Nr extends Ur{constructor(t){void 0===t&&(t=32),super(64,t,8,!1),this.A=0|zr[0],this.B=0|zr[1],this.C=0|zr[2],this.D=0|zr[3],this.E=0|zr[4],this.F=0|zr[5],this.G=0|zr[6],this.H=0|zr[7]}get(){const{A:t,B:e,C:n,D:i,E:r,F:o,G:s,H:a}=this;return[t,e,n,i,r,o,s,a]}set(t,e,n,i,r,o,s,a){this.A=0|t,this.B=0|e,this.C=0|n,this.D=0|i,this.E=0|r,this.F=0|o,this.G=0|s,this.H=0|a}process(t,e){for(let n=0;n<16;n++,e+=4)Wr[n]=t.getUint32(e,!1);for(let t=16;t<64;t++){const e=Wr[t-15],n=Wr[t-2],i=ir(e,7)^ir(e,18)^e>>>3,r=ir(n,17)^ir(n,19)^n>>>10;Wr[t]=r+Wr[t-7]+i+Wr[t-16]|0}let{A:n,B:i,C:r,D:o,E:s,F:a,G:h,H:l}=this;for(let t=0;t<64;t++){const e=l+(ir(s,6)^ir(s,11)^ir(s,25))+Ir(s,a,h)+$r[t]+Wr[t]|0,c=(ir(n,2)^ir(n,13)^ir(n,22))+jr(n,i,r)|0;l=h,h=a,a=s,s=o+e|0,o=r,r=i,i=n,n=e+c|0}n=n+this.A|0,i=i+this.B|0,r=r+this.C|0,o=o+this.D|0,s=s+this.E|0,a=a+this.F|0,h=h+this.G|0,l=l+this.H|0,this.set(n,i,r,o,s,a,h,l)}roundClean(){er(Wr)}destroy(){this.set(0,0,0,0,0,0,0,0),er(this.buffer)}}const Hr=lr(()=>new Nr);function Yr(t){return Hr(t)}function Gr(t,e,n,i){return void 0===i&&(i=!0),(0,o.zd)(e,n,{disablePadding:!i}
1).encrypt(t)}function qr(t,e){const n=new Uint8Array(256);for(let t=0;t<256;t++)n[t]=t;let i=0;for(let t=0;t<256;t++)i=i+n[t]+e[t%e.length]&255,[n[t],n[i]]=[n[i],n[t]];const r=new Uint8Array(t.length);for(let e=0,i=0,o=0;o<t.length;o++)e=e+1&255,i=i+n[e]&255,[n[e],n[i]]=[n[i],n[e]],r[o]=t[o]^n[n[e]+n[i]&255];return r}function Kr(t,e){if(t<e[0])return!1;let n=0,i=e.length/2;for(;n<=i;){const r=Math.floor((n+i)/2),o=2*r;if(t>=e[o]&&t<=e[o+1])return!0;t>e[o+1]?n=r+1:i=r-1}return!1}const Xr=[545,545,564,591,686,687,751,767,848,863,880,883,886,889,891,893,895,899,907,907,909,909,930,930,975,975,1015,1023,1159,1159,1231,1231,1270,1271,1274,1279,1296,1328,1367,1368,1376,1376,1416,1416,1419,1424,1442,1442,1466,1466,1477,1487,1515,1519,1525,1547,1549,1562,1564,1566,1568,1568,1595,1599,1622,1631,1774,1775,1791,1791,1806,1806,1837,1839,1867,1919,1970,2304,2308,2308,2362,2363,2382,2383,2389,2391,2417,2432,2436,2436,2445,2446,2449,2450,2473,2473,2481,2481,2483,2485,2490,2491,2493,2493,2501,2502,2505,2506,2510,2518,2520,2523,2526,2526,2532,2533,2555,2561,2563,2564,2571,2574,2577,2578,2601,2601,2609,2609,2612,2612,2615,2615,2618,2619,2621,2621,2627,2630,2633,2634,2638,2648,2653,2653,2655,2661,2677,2688,2692,2692,2700,2700,2702,2702,2706,2706,2729,2729,2737,2737,2740,2740,2746,2747,2758,2758,2762,2762,2766,2767,2769,2783,2785,2789,2800,2816,2820,2820,2829,2830,2833,2834,2857,2857,2865,2865,2868,2869,2874,2875,2884,2886,2889,2890,2894,2901,2904,2907,2910,2910,2914,2917,2929,2945,2948,2948,2955,2957,2961,2961,2966,2968,2971,2971,2973,2973,2976,2978,2981,2983,2987,2989,2998,2998,3002,3005,3011,3013,3017,3017,3022,3030,3032,3046,3059,3072,3076,3076,3085,3085,3089,3089,3113,3113,3124,3124,3130,3133,3141,3141,3145,3145,3150,3156,3159,3167,3170,3173,3184,3201,3204,3204,3213,3213,3217,3217,3241,3241,3252,3252,3258,3261,3269,3269,3273,3273,3278,3284,3287,3293,3295,3295,3298,3301,3312,3329,3332,3332,3341,3341,3345,3345,3369,3369,3386,3389,3396,3397,3401,3401,3406,3414,3416,3423,3426,3429,3440,3457,3460,3460,3479,3481,3506,3506,3516,3516,3518,3519,3527,3529,3531,3534,3541,3541,3543,3543,3552,3569,3573,3584,3643,3646,3676,3712,3715,3715,3717,3718,3721,3721,3723,3724,3726,3731,3736,3736,3744,3744,3748,3748,3750,3750,3752,3753,3756,3756,3770,3770,3774,3775,3781,3781,3783,3783,3790,3791,3802,3803,3806,3839,3912,3912,3947,3952,3980,3983,3992,3992,4029,4029,4045,4046,4048,4095,4130,4130,4136,4136,4139,4139,4147,4149,4154,4159,4186,4255,4294,4303,4345,4346,4348,4351,4442,4446,4515,4519,4602,4607,4615,4615,4679,4679,4681,4681,4686,4687,4695,4695,4697,4697,4702,4703,4743,4743,4745,4745,4750,4751,4783,4783,4785,4785,4790,4791,4799,4799,4801,4801,4806,4807,4815,4815,4823,4823,4847,4847,4879,4879,4881,4881,4886,4887,4895,4895,4935,4935,4955,4960,4989,5023,5109,5120,5751,5759,5789,5791,5873,5887,5901,5901,5909,5919,5943,5951,5972,5983,5997,5997,6001,6001,6004,6015,6109,6111,6122,6143,6159,6159,6170,6175,6264,6271,6314,7679,7836,7839,7930,7935,7958,7959,7966,7967,8006,8007,8014,8015,8024,8024,8026,8026,8028,8028,8030,8030,8062,8063,8117,8117,8133,8133,8148,8149,8156,8156,8176,8177,8181,8181,8191,8191,8275,8278,8280,8286,8292,8297,8306,8307,8335,8351,8370,8399,8427,8447,8507,8508,8524,8530,8580,8591,9167,9215,9255,9279,9291,9311,9471,9471,9748,9749,9752,9752,9854,9855,9866,9984,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10079,10080,10133,10135,10160,10160,10175,10191,10220,10223,11008,11903,11930,11930,12020,12031,12246,12271,12284,12287,12352,12352,12439,12440,12544,12548,12589,12592,12687,12687,12728,12783,12829,12831,12868,12880,12924,12926,13004,13007,13055,13055,13175,13178,13278,13279,13311,13311,19894,19967,40870,40959,42125,42127,42183,44031,55204,55295,64046,64047,64107,64255,64263,64274,64280,64284,64311,64311,64317,64317,64319,64319,64322,64322,64325,64325,64434,64466,64832,64847,64912,64913,64968,64975,65021,65023,65040,65055,65060,65071,65095,65096,65107,65107,65127,65127,65132,65135,65141,65141,65277,65278,65280,65280,65471,65473,65480,65481,65488,65489,65496,65497,65501,65503,65511,65511,65519,65528,65536,66303,66335,66335,66340,66351,66379,66559,66598,66599,66638,118783,119030,119039,119079,119081,119262,119807,119893,119893,119965,119965,119968,119969,119971,119972,119975,119976,119981,119981,119994,119994,119996,119996,120001,120001,120004,120004,120070,120070,120075,120076,120085,120085,120093,120093,120122,120122,120127,120127,120133,120133,120135,12
10137,120145,120145,120484,120487,120778,120781,120832,131069,173783,194559,195102,196605,196608,262141,262144,327677,327680,393213,393216,458749,458752,524285,524288,589821,589824,655357,655360,720893,720896,786429,786432,851965,851968,917501,917504,917504,917506,917535,917632,983037],Vr=t=>Kr(t,Xr),Jr=[173,173,847,847,6150,6150,6155,6155,6156,6156,6157,6157,8203,8203,8204,8204,8205,8205,8288,8288,65024,65024,65025,65025,65026,65026,65027,65027,65028,65028,65029,65029,65030,65030,65031,65031,65032,65032,65033,65033,65034,65034,65035,65035,65036,65036,65037,65037,65038,65038,65039,65039,65279,65279],Zr=[160,160,5760,5760,8192,8192,8193,8193,8194,8194,8195,8195,8196,8196,8197,8197,8198,8198,8199,8199,8200,8200,8201,8201,8202,8202,8203,8203,8239,8239,8287,8287,12288,12288],Qr=[128,159,1757,1757,1807,1807,6158,6158,8204,8204,8205,8205,8232,8232,8233,8233,8288,8288,8289,8289,8290,8290,8291,8291,8298,8303,65279,65279,65529,65532,119155,119162],to=[64976,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1114110,1114111],eo=[0,31,127,127,832,832,833,833,8206,8206,8207,8207,8234,8234,8235,8235,8236,8236,8237,8237,8238,8238,8298,8298,8299,8299,8300,8300,8301,8301,8302,8302,8303,8303,12272,12283,55296,57343,57344,63743,65529,65529,65530,65530,65531,65531,65532,65532,65533,65533,917505,917505,917536,917631,983040,1048573,1048576,1114109],no=t=>
1Kr(t,Zr)||Kr(t,eo)||Kr(t,Qr)||Kr(t,to),io=[1470,1470,1472,1472,1475,1475,1488,1514,1520,1524,1563,1563,1567,1567,1569,1594,1600,1610,1645,1647,1649,1749,1757,1757,1765,1766,1786,1790,1792,1805,1808,1808,1810,1836,1920,1957,1969,1969,8207,8207,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65020,65136,65140,65142,65276],ro=t=>Kr(t,io),oo=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,544,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,1013,1024,1154,1162,1230,1232,1269,1272,1273,1280,1295,1329,1366,1369,1375,1377,1415,1417,1417,2307,2307,2309,2361,2365,2368,2377,2380,2384,2384,2392,2401,2404,2416,2434,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2494,2496,2503,2504,2507,2508,2519,2519,2524,2525,2527,2529,2534,2545,2548,2554,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2622,2624,2649,2652,2654,2654,2662,2671,2674,2676,2691,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2752,2761,2761,2763,2764,2768,2768,2784,2784,2790,2799,2818,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2878,2880,2880,2887,2888,2891,2892,2903,2903,2908,2909,2911,2913,2918,2928,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3007,3009,3010,3014,3016,3018,3020,3031,3031,3047,3058,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3137,3140,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3262,3264,3268,3271,3272,3274,3275,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3392,3398,3400,3402,3404,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3535,3537,3544,3551,3570,3572,3585,3632,3634,3635,3648,3654,3663,3675,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3792,3801,3804,3805,3840,3863,3866,3892,3894,3894,3896,3896,3902,3911,3913,3946,3967,3967,3973,3973,3976,3979,4030,4037,4039,4044,4047,4047,4096,4129,4131,4135,4137,4138,4140,4140,4145,4145,4152,4152,4160,4183,4256,4293,4304,4344,4347,4347,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4961,4988,5024,5108,5121,5750,5761,5786,5792,5872,5888,5900,5902,5905,5920,5937,5941,5942,5952,5969,5984,5996,5998,6e3,6016,6070,6078,6085,6087,6088,6100,6106,6108,6108,6112,6121,6160,6169,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8206,8206,8305,8305,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8509,8511,8517,8521,8544,8579,9014,9082,9109,9109,9372,9449,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12588,12593,12686,12688,12727,12784,12828,12832,12867,12896,12923,12927,12976,12992,13003,13008,13054,13056,13174,13179,13277,13280,13310,13312,19893,19968,40869,40960,42124,44032,55203,55296,64045,64048,64106,64256,64262,64275,64279,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,66304,66334,66336,66339,66352,66378,66560,66597,66600,66637,118784,119029,119040,119078,119082,119142,119146,119154,119171,119172,119180,119209,119214,119261,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,12e4,120002,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120483,120488,120777,131072,173782,194560,195101,983040,1048573,1048576,1114109],so=t=>Kr(t,oo),ao=t=>Kr(t,Zr),ho=t=>Kr(t,Jr),lo=t=>t.codePointAt(0);function co(t){const e=[],n=t.length;for(let i=0;i<n;i+=1){const r=t.charCodeAt(i);if(r>=55296&&r<=56319&&n>i+1){const n=t.charCodeAt(i+1);if(n>=56320&&n<=57343){e.push(1024*(r-55296)+n-56320+65536),i+=1;continue}}e.push(r)}return e}class uo{static generateFileID(t){void 0===t&&(t={});let e=`${t.CreationDate.getTime()}\n`;for(let n in t)t.hasOwnProperty(n)&&(e+=`${n}: ${t[n].valueOf()}\n`);return Br(e)}static generateRandomWordArray(t){return function(t){const e=new Uint8Array(t);return globalThis.crypto.getRandomValues(e),e}(t)}static create(t,e){return void 0===e&&(e={}),e.ownerPassword||e.userPassword?new uo(t,e):null}constructor(t,e){if(void 0===e&&(e={}),!e.ownerPassword&&!e.userPassword)throw new Error("None of owner password and user password is defined.");this.document=t,this._setupEncryption(e)}_setupEncryption(t){switch(t.pdfVersion){case"1.4":case"1.5":this.version=2;break;case"1.6":case"1.7":this.version=4;break;case"1.7ext3":this.version=5;break;default:this.version=1}const e={Filter:"Standard"};switch(this.version){case 1:case 2:case 4:this._setupEncryptionV1V2V4(this.version,e,t);break;case 5:this._setupEncryptionV5(e,t)}this.dictionary=this.document.ref(e)}_setupEncryptionV1V2V4(t,e,n){let i,r;switch(t){case 1:i=2,this.keyBits=40,r=function(t){void 0===t&&(t={});let e=-64;t.printing&&(e|=4);t.modifying&&(e|=8);t.copying&&(e|=16);t.annotating&&(e|=32);return e}(n.permissions);break;case 2:i=3,this.keyBits=128,r=fo(n.permissions);break;case 4:i=4,this.keyBits=128,r=fo(n.permissions)}const o=po(n.userPassword),s=n.ownerPassword?po(n.ownerPassword):o,a=function(t,e,n,i){let r=i,o=t>=3?51:1;for(let t=0;t<o;t++)r=Br(r);const s=e/8;let a=r.slice(0,s),h=n;o=t>=3?20:1;for(let t=0;t<o;t++){const e=new Uint8Array(s);for(let n=0;n<s;n++)e[n]=a[n]^t;h=qr(h,e)}return h}(i,this.keyBits,o,s);let h;var l;this.encryptionKey=function(t,e,n,i,r,o){const s=new Uint8Array([255&o,o>>8&255,o>>16&255,o>>24&255]);let a=ar(i,r,s,new Uint8Array(n));const h=t>=3?51:1,l=e/8;for(let t=0;t<h;t++)a=Br(a),a=a.slice(0,l);return a}(i,this.keyBits,this.document._id,o,a,r),2===i?(l=this.encryptionKey,h=qr(po(),l)):h=function(t,e){const n=e.slice();let i=Br(ar(po(),new Uint8Array(t)));for(let t=0;t<20;
1t++){const r=new Uint8Array(n.length);for(let i=0;i<n.length;i++)r[i]=e[i]^t;i=qr(i,r)}const r=new Uint8Array(32);return r.set(i),r}(this.document._id,this.encryptionKey),e.V=t,t>=2&&(e.Length=this.keyBits),4===t&&(e.CF={StdCF:{AuthEvent:"DocOpen",CFM:"AESV2",Length:this.keyBits/8}},e.StmF="StdCF",e.StrF="StdCF"),e.R=i,e.O=a,e.U=h,e.P=r}_setupEncryptionV5(t,e){this.keyBits=256;const n=fo(e.permissions),i=go(e.userPassword),r=e.ownerPassword?go(e.ownerPassword):i;this.encryptionKey=(0,uo.generateRandomWordArray)(32);const s=function(t,e){const n=e(8),i=e(8),r=Yr(ar(t,n));return ar(r,n,i)}(i,uo.generateRandomWordArray),a=function(t,e,n){const i=Yr(ar(t,e)),r=new Uint8Array(16);return Gr(n,i,r,!1)}(i,s.slice(40,48),this.encryptionKey),h=function(t,e,n){const i=n(8),r=n(8),o=Yr(ar(t,i,e));return ar(o,i,r)}(r,s,uo.generateRandomWordArray),l=function(t,e,n,i){const r=Yr(ar(t,e,n)),o=new Uint8Array(16);return Gr(i,r,o,!1)}(r,h.slice(40,48),s,this.encryptionKey),c=function(t,e,n){const i=new Uint8Array(16);i[0]=255&t,i[1]=t>>8&255,i[2]=t>>16&255,i[3]=t>>24&255,i[4]=255,i[5]=255,i[6]=255,i[7]=255,i[8]=84,i[9]=97,i[10]=100,i[11]=98;const r=n(4);return i.set(r,12),function(t,e){return(0,o.Zi)(e,{disablePadding:!0}).encrypt(t)}(i,e)}(n,this.encryptionKey,uo.generateRandomWordArray);t.V=5,t.Length=this.keyBits,t.CF={StdCF:{AuthEvent:"DocOpen",CFM:"AESV3",Length:this.keyBits/8}},t.StmF="StdCF",t.StrF="StdCF",t.R=5,t.O=h,t.OE=l,t.U=s,t.UE=a,t.P=n,t.Perms=c}getEncryptFn(t,e){let n,i;if(this.version<5){const i=new Uint8Array([255&t,t>>8&255,t>>16&255,255&e,e>>8&255]);n=ar(this.encryptionKey,i)}if(1===this.version||2===this.version){let t=Br(n);const e=Math.min(16,this.keyBits/8+5);return t=t.slice(0,e),e=>qr(e,t)}if(4===this.version){const t=new Uint8Array([115,65,108,84]);i=Br(ar(n,t))}else i=this.encryptionKey;const r=uo.generateRandomWordArray(16);return t=>{const e=Gr(t,i,r,!0);return ar(r,e)}}end(){this.dictionary.end()}}function fo(t){void 0===t&&(t={});let e=-3904;return"lowResolution"===t.printing&&(e|=4),"highResolution"===t.printing&&(e|=2052),t.modifying&&(e|=8),t.copying&&(e|=16),t.annotating&&(e|=32),t.fillingForms&&(e|=256),t.contentAccessibility&&(e|=512),t.documentAssembly&&(e|=1024),e}function po(t){void 0===t&&(t="");const e=new Uint8Array(32),n=t.length;let i=0;for(;i<n&&i<32;){const n=t.charCodeAt(i);if(n>255)throw new Error("Password contains one or more invalid characters.");e[i]=n,i++}for(;i<32;)e[i]=mo[i-n],i++;return e}function go(t){void 0===t&&(t=""),t=unescape(encodeURIComponent(function(t,e){if(void 0===e&&(e={}),"string"!=typeof t)throw new TypeError("Expected string.");if(0===t.length)return"";const n=co(t).map(t=>ao(t)?32:t).filter(t=>!ho(t)),i=String.fromCodePoint.apply(null,n).normalize("NFKC"),r=co(i);if(r.some(no))throw new Error("Prohibited character, see https://tools.ietf.org/html/rfc4013#section-2.3");if(!0!==e.allowUnassigned&&r.some(Vr))throw new Error("Unassigned code point, see https://tools.ietf.org/html/rfc4013#section-2.5");const o=r.some(ro),s=r.some(so);if(o&&s)throw new Error("String must not contain RandALCat and LCat at the same time, see https://tools.ietf.org/html/rfc3454#section-6");const a=ro(lo(i[0])),h=ro(lo((l=i,l[l.length-1])));var l;if(o&&(!a||!h))throw new Error("Bidirectional RandALCat character must be the first and the last character of the string, see https://tools.ietf.org/html/rfc3454#section-6");return i}(t)));const e=Math.min(127,t.length),n=new Uint8Array(e);for(let i=0;i<e;i++)n[i]=t.charCodeAt(i);return n}const mo=[40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122],{number:yo}=Sr;let bo=class{constructor(t){this.doc=t,this.stops=[],this.embedded=!1,this.transform=[1,0,0,1,0,0]}stop(t,e,n){if(null==n&&(n=1),e=this.doc._normalizeColor(e),0===this.stops.length)if(3===e.length)this._colorSpace
vendor: 8,913 bytes, line 1
1="DeviceRGB";else if(4===e.length)this._colorSpace="DeviceCMYK";else{if(1!==e.length)throw new Error("Unknown color space");this._colorSpace="DeviceGray"}else if("DeviceRGB"===this._colorSpace&&3!==e.length||"DeviceCMYK"===this._colorSpace&&4!==e.length||"DeviceGray"===this._colorSpace&&1!==e.length)throw new Error("All gradient stops must use the same color space");return n=Math.max(0,Math.min(1,n)),this.stops.push([t,e,n]),this}setTransform(t,e,n,i,r,o){return this.transform=[t,e,n,i,r,o],this}embed(t){let e;const n=this.stops.length;if(0===n)return;this.embedded=!0,this.matrix=t;const i=this.stops[n-1];i[0]<1&&this.stops.push([1,i[1],i[2]]);const r=[],o=[],s=[];for(let t=0;t<n-1;t++)o.push(0,1),t+2!==n&&r.push(this.stops[t+1][0]),e=this.doc.ref({FunctionType:2,Domain:[0,1],C0:this.stops[t+0][1],C1:this.stops[t+1][1],N:1}),s.push(e),e.end();1===n?e=s[0]:(e=this.doc.ref({FunctionType:3,Domain:[0,1],Functions:s,Bounds:r,Encode:o}),e.end()),this.id="Sh"+ ++this.doc._gradCount;const a=this.shader(e);a.end();const h=this.doc.ref({Type:"Pattern",PatternType:2,Shading:a,Matrix:this.matrix.map(yo)});if(h.end(),this.stops.some(t=>t[2]<1)){let t=this.opacityGradient();t._colorSpace="DeviceGray";for(let e of this.stops)t.stop(e[0],[e[2]]);t=t.embed(this.matrix);const e=[0,0,this.doc.page.width,this.doc.page.height],n=this.doc.ref({Type:"XObject",Subtype:"Form",FormType:1,BBox:e,Group:{Type:"Group",S:"Transparency",CS:"DeviceGray"},Resources:{ProcSet:["PDF","Text","ImageB","ImageC","ImageI"],Pattern:{Sh1:t}}});n.write("/Pattern cs /Sh1 scn"),n.end(`${e.join(" ")} re f`);const i=this.doc.ref({Type:"ExtGState",SMask:{Type:"Mask",S:"Luminosity",G:n}});i.end();const r=this.doc.ref({Type:"Pattern",PatternType:1,PaintType:1,TilingType:2,BBox:e,XStep:e[2],YStep:e[3],Resources:{ProcSet:["PDF","Text","ImageB","ImageC","ImageI"],Pattern:{Sh1:h},ExtGState:{Gs1:i}}});r.write("/Gs1 gs /Pattern cs /Sh1 scn"),r.end(`${e.join(" ")} re f`),this.doc.page.patterns[this.id]=r}else this.doc.page.patterns[this.id]=h;return h}apply(t){const[e,n,i,r,o,s]=this.doc._ctm,[a,h,l,c,u,d]=this.transform,f=[e*a+i*h,n*a+r*h,e*l+i*c,n*l+r*c,e*u+i*d+o,n*u+r*d+s];this.embedded&&f.join(" ")===this.matrix.join(" ")||this.embed(f),this.doc._setColorSpace("Pattern",t);const p=t?"SCN":"scn";return this.doc.addContent(`/${this.id} ${p}`)}};var wo={PDFGradient:bo,PDFLinearGradient:class t extends bo{constructor(t,e,n,i,r){super(t),this.x1=e,this.y1=n,this.x2=i,this.y2=r}shader(t){return this.doc.ref({ShadingType:2,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.x2,this.y2],Function:t,Extend:[!0,!0]})}opacityGradient(){return new t(this.doc,this.x1,this.y1,this.x2,this.y2)}},PDFRadialGradient:class t extends bo{constructor(t,e,n,i,r,o,s){super(t),this.doc=t,this.x1=e,this.y1=n,this.r1=i,this.x2=r,this.y2=o,this.r2=s}shader(t){return this.doc.ref({ShadingType:3,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.r1,this.x2,this.y2,this.r2],Function:t,Extend:[!0,!0]})}opacityGradient(){return new t(this.doc,this.x1,this.y1,this.r1,this.x2,this.y2,this.r2)}}};const _o=["DeviceCMYK","DeviceRGB"];var vo={PDFTilingPattern:class{constructor(t,e,n,i,r){this.doc=t,this.bBox=e,this.xStep=n,this.yStep=i,this.stream=r}createPattern(){const t=this.doc.ref();t.end();const[e,n,i,r,o,s]=this.doc._ctm,[a,h,l,c,u,d]=[1,0,0,1,0,0],f=[e*a+i*h,n*a+r*h,e*l+i*c,n*l+r*c,e*u+i*d+o,n*u+r*d+s],p=this.doc.ref({Type:"Pattern",PatternType:1,PaintType:2,TilingType:2,BBox:this.bBox,XStep:this.xStep,YStep:this.yStep,Matrix:f.map(t=>+t.toFixed(5)),Resources:t});return p.end(this.stream),p}embedPatternColorSpaces(){_o.forEach(t=>{const e=this.getPatternColorSpaceId(t);if(this.doc.page.colorSpaces[e])return;const n=this.doc.ref(["Pattern",t]);n.end(),this.doc.page.colorSpaces[e]=n})}getPatternColorSpaceId(t){return`CsP${t}`}embed(){this.id||(this.doc._patternCount=this.doc._patternCount+1,this.id="P"+this.doc._patternCount,this.pattern=this.createPattern()),this.doc.page.patterns[this.id]||(this.doc.page.patterns[this.id]=this.pattern)}apply(t,e){this.embedPatternColorSpaces(),this.embed();const n=this.doc._normalizeColor(e);if(!n)throw Error(`invalid pattern color. (value: ${e})`);const i=this.getPatternColorSpaceId(this.doc._getColorSpace(n));this.doc._setColorSpace(i,t);const r=t?"SCN":"scn";return this.doc.addContent(`${n.join(" ")} /${this.id} ${r}`)}}};const{PDFGradient:So,PDFLinearGradient:Co,PDFRadialGradient:xo}=wo,{PDFTilingPattern:Ao}=vo;var To={initColor(){this.spotColors={},this._opacityRegistry={},this._opacityCount=0,this._patternCount=0,this._gradCount=0},_normalizeColor(t){if("string"==typeof t)if("#"===t.charAt(0)){4===t.length&&(t=t.replace(/#([0-9A-F])([0-9A-F])([0-9A-F])/i,"#$1$1$2$2$3$3"));const e=parseInt(t.slice(1),16);t=[e>>16,e>>8&255,255&e]}else if(Eo[t])t=Eo[t];else if(this.spotColors[t])return this.spotColors[t];return Array.isArray(t)?(3===t.length?t=t.map(t=>t/255):4===t.length&&(t=t.map(t=>t/100)),t):null},_setColor(t,e){return t instanceof So?(t.apply(e),!0):Array.isArray(t)&&t[0]instanceof Ao?(t[0].apply(e,t[1]),!0):this._setColorCore(t,e)},_setColorCore(t,e){if(!(t=this._normalizeColor(t)))return!1;const n=e?"SCN":"scn",i=this._getColorSpace(t);return this._setColorSpace(i,e),t instanceof dr?(this.page.colorSpaces[t.id]=t.ref,this.addContent(`1 ${n}`)):this.addContent(`${t.join(" ")} ${n}`),!0},_setColorSpace(t,e){const n=e?"CS":"cs";return this.addContent(`/${t} ${n}`)},_getColorSpace(t){return t instanceof dr?t.id:4===t.length?"DeviceCMYK":"DeviceRGB"},fillColor(t,e){return this._setColor(t,!1)&&this.fillOpacity(e),this._fillColor=[t,e],this},strokeColor(t,e){return this._setColor(t,!0)&&this.strokeOpacity(e),this},opacity(t){return this._doOpacity(t,t),this},fillOpacity(t){return this._doOpacity(t,null),this},strokeOpacity(t){return this._doOpacity(null,t),this},_doOpacity(t,e){let n,i;if(null==t&&null==e)return;null!=t&&(t=Math.max(0,Math.min(1,t))),null!=e&&(e=Math.max(0,Math.min(1,e)));const r=`${t}_${e}`;if(this._opacityRegistry[r])[n,i]=this._opacityRegistry[r];else{n={Type:"ExtGState"},null!=t&&(n.ca=t),null!=e&&(n.CA=e),n=this.ref(n),n.end();i=`Gs${++this._opacityCount}`,this._opacityRegistry[r]=[n,i]}return this.page.ext_gstates[i]=n,this.addContent(`/${i} gs`)},linearGradient(t,e,n,i){return new Co(this,t,e,n,i)},radialGradient(t,e,n,i,r,o){return new xo(this,t,e,n,i,r,o)},pattern(t,e,n,i){return new Ao(this,t,e,n,i)},addSpotColor(t,e,n,i,r){const o=new dr(this,t,e,n,i,r);return this.spotColors[t]=o,this}},Eo={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
1ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};let ko,Po,Ro,Mo,Oo,Do;ko=Po=Ro=Mo=Oo=Do=0;const Lo={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0},Fo=function(t){return t in Lo},Bo=function(t){const e=t.codePointAt(0);return 32===e||9===e||13===e||10===e},Io=function(t){const e=t.codePointAt(0);return null!=e&&(48<=e&&e<=57)},jo=function(t,e){let n=e,i="",r="none";for(;n<t.length;n+=1){const e=t[n];if("+"===e||"-"===e){if("none"===r){r="sign",i+=e;continue}if("e"===r){r="exponent_sign",i+=e;continue}}if(Io(e)){if("none"===r||"sign"===r||"whole"===r){r="whole",i+=e;continue}if("decimal_point"===r||"decimal"===r){r="decimal",i+=e;continue}if("e"===r||"exponent_sign"===r||"exponent"===r){r="exponent",i+=e;continue}}if("."!==e||"none"!==r&&"sign"!==r&&"whole"!==r){if("E"!==e&&"e"!==e||"whole"!==r&&"decimal_point"!==r&&"decimal"!==r)break;r="e",i+=e}else r="decimal_point",i+=e}const o=Number.parseFloat(i);return Number.isNaN(o)?[e,null]:[n-1,o]},Uo={M(t,e){return ko=e[0],Po=e[1],Ro=Mo=null,Oo=ko,Do=Po,t.moveTo(ko,Po)},m(t,e){return ko+=e[0],Po+=e[1],Ro=Mo=null,Oo=ko,Do=Po,t.moveTo(ko,Po)},C(t,e){return ko=e[4],Po=e[5],Ro=e[2],Mo=e[3],t.bezierCurveTo(...e)},c(t,e){return t.bezierCurveTo(e[0]+ko,e[1]+Po,e[2]+ko,e[3]+Po,e[4]+ko,e[5]+Po),Ro=ko+e[2],Mo=Po+e[3],ko+=e[4],Po+=e[5]},S(t,e){return null===Ro&&(Ro=ko,Mo=Po),t.bezierCurveTo(ko-(Ro-ko),Po-(Mo-Po),e[0],e[1],e[2],e[3]),Ro=e[0],Mo=e[1],ko=e[2],Po=e[3]},s(t,e){return null===Ro&&(Ro=ko,Mo=Po),t.bezierCurveTo(ko-(Ro-ko),Po-(Mo-Po),ko+e[0],Po+e[1],ko+e[2],Po+e[3]),Ro=ko+e[0],Mo=Po+e[1],ko+=e[2],Po+=e[3]},Q(t,e){return Ro=e[0],Mo=e[1],ko=e[2],Po=e[3],t.quadraticCurveTo(e[0],e[1],ko,Po)},q(t,e){return t.quadraticCurveTo(e[0]+ko,e[1]+Po,e[2]+ko,e[3]+Po),Ro=ko+e[0],Mo=Po+e[1],ko+=e[2],Po+=e[3]},T(t,e){return null===Ro?(Ro=ko,Mo=Po):(Ro=ko-(Ro-ko),Mo=Po-(Mo-Po)),t.quadraticCurveTo(Ro,Mo,e[0],e[1]),Ro=ko-(Ro-ko),Mo=Po-(Mo-Po),ko=e[0],Po=e[1]},t(t,e){return null===Ro?(Ro=ko,Mo=Po):(Ro=ko-(Ro-ko),Mo=Po-(Mo-Po)),t.quadraticCurveTo(Ro,Mo,ko+e[0],Po+e[1]),ko+=e[0],Po+=e[1]},A(t,e){return zo(t,ko,Po,e),ko=e[5],Po=e[6]},a(t,e){return e[5]+=ko,e[6]+=Po,zo(t,ko,Po,e),ko=e[5],Po=e[6]},L(t,e){return ko=e[0],Po=e[1],Ro=Mo=null,t.lineTo(ko,Po)},l(t,e){return ko+=e[0],Po+=e[1],Ro=Mo=null,t.lineTo(ko,Po)},H(t,e){return ko=e[0],Ro=Mo=null,t.lineTo(ko,Po)},h(t,e){return ko+=e[0],Ro=Mo=null,t.lineTo(ko,Po)},V(t,e){return Po=e[0],Ro=Mo=null,t.lineTo(ko,Po)},v(t,e){return Po+=e[0],Ro=Mo=null,t.lineTo(ko,Po)},Z(t){return t.closePath(),ko=Oo,Po=Do},z(t){return t.closePath(),ko=Oo,Po=Do}},zo=function(t,e,n,i){const[r,o,s,a,h,l,c]=i,u=$o(l,c,r,o,a,h,s,e,n);for(let e of u){const n=Wo(...e);t.bezierCurveTo(...n)}},$o=function(t,e,n,i,r,o,s,a,h){const l=s*(Math.PI/180),c=Math.sin(l),u=Math.cos(l);n=Math.abs(n),i=Math.abs(i),Ro=u*(a-t)*.5+c*(h-e)*.5,Mo=u*(h-e)*.5-c*(a-t)*.5;let d=Ro*Ro/(n*n)+Mo*Mo/(i*i);d>1&&(d=Math.sqrt(d),n*=d,i*=d);const f=u/n,p=c/n,g=-c/i,m=u/i,y=f*a+p*h,b=g*a+m*h,w=f*t+p*e,_=g*t+m*e;let v=1/((w-y)*(w-y)+(_-b)*(_-b))-.25;v<0&&(v=0);let S=Math.sqrt(v);o===r&&(S=-S);const C=.5*(y+w)-S*(_-b),x=.5*(b+_)+S*(w-y),A=Math.atan2(b-x,y-C);let T=Math.atan2(_-x,w-C)-A;T<0&&1===o?T+=2*Math.PI:T>0&&0===o&&(T-=2*Math.PI);const E=Math.ceil(Math.abs(T/(.5*Math.PI+.001))),k=[];for(let t=0;t<E;t++){const e=A+t*T/E,r=A+(t+1)*T/E;k[t]=[C,x,e,r,n,i,c,u]}return k},Wo=function(t,e,n,i,r,o,s,a){const h=a*r,l=-s*o,c=s*r,u=a*o,d=.5*(i-n),f=8/3*Math.sin(.5*d)*Math.sin(.5*d)
vendor: 4,737 bytes, line 1
1/Math.sin(d),p=t+Math.cos(n)-f*Math.sin(n),g=e+Math.sin(n)+f*Math.cos(n),m=t+Math.cos(i),y=e+Math.sin(i),b=m+f*Math.sin(i),w=y-f*Math.cos(i);return[h*p+l*g,c*p+u*g,h*b+l*w,c*b+u*w,h*m+l*y,c*m+u*y]};class No{static apply(t,e){const n=function(t){const e=[];let n=null,i=[],r=0,o=!1,s=!1;for(let a=0;a<t.length;a+=1){const h=t.charAt(a);if(Bo(h))continue;if(o&&","===h){if(s)break;s=!0;continue}if(Fo(h)){if(s)return e;if(null==n){if("M"!==h&&"m"!==h)return e}else if(0!==i.length)return e;n=h,i=[],r=Lo[n],o=!1,0===r&&e.push({command:n,args:i});continue}if(null==n)return e;let l=a,c=null;if("A"===n||"a"===n){const e=i.length;0!==e&&1!==e||"+"!==h&&"-"!==h&&([l,c]=jo(t,a)),2!==e&&5!==e&&6!==e||([l,c]=jo(t,a)),3!==e&&4!==e||("0"===h&&(c=0),"1"===h&&(c=1))}else[l,c]=jo(t,a);if(null==c)return e;i.push(c),o=!0,s=!1,a=l,i.length===r&&(e.push({command:n,args:i}),"M"===n&&(n="L"),"m"===n&&(n="l"),i=[])}return e}(e);!function(t,e){ko=Po=Ro=Mo=Oo=Do=0;for(let n=0;n<t.length;n++){const i=t[n];"function"==typeof Uo[i.command]&&Uo[i.command](e,i.args)}}(n,t)}}const{number:Ho}=Sr,Yo=(Math.sqrt(2)-1)/3*4;var Go={initVector(){this._ctm=[1,0,0,1,0,0],this._ctmStack=[]},save(){return this._ctmStack.push(this._ctm.slice()),this.addContent("q")},restore(){return this._ctm=this._ctmStack.pop()||[1,0,0,1,0,0],this.addContent("Q")},closePath(){return this.addContent("h")},lineWidth(t){return this.addContent(`${Ho(t)} w`)},_CAP_STYLES:{BUTT:0,ROUND:1,SQUARE:2},lineCap(t){return"string"==typeof t&&(t=this._CAP_STYLES[t.toUpperCase()]),this.addContent(`${t} J`)},_JOIN_STYLES:{MITER:0,ROUND:1,BEVEL:2},lineJoin(t){return"string"==typeof t&&(t=this._JOIN_STYLES[t.toUpperCase()]),this.addContent(`${t} j`)},miterLimit(t){return this.addContent(`${Ho(t)} M`)},dash(t,e){void 0===e&&(e={});const n=t;Array.isArray(t)||(t=[t,e.space||t]);if(!t.every(t=>Number.isFinite(t)&&t>0))throw new Error(`dash(${JSON.stringify(n)}, ${JSON.stringify(e)}) invalid, lengths must be numeric and greater than zero`);return t=t.map(Ho).join(" "),this.addContent(`[${t}] ${Ho(e.phase||0)} d`)},undash(){return this.addContent("[] 0 d")},moveTo(t,e){return this.addContent(`${Ho(t)} ${Ho(e)} m`)},lineTo(t,e){return this.addContent(`${Ho(t)} ${Ho(e)} l`)},bezierCurveTo(t,e,n,i,r,o){return this.addContent(`${Ho(t)} ${Ho(e)} ${Ho(n)} ${Ho(i)} ${Ho(r)} ${Ho(o)} c`)},quadraticCurveTo(t,e,n,i){return this.addContent(`${Ho(t)} ${Ho(e)} ${Ho(n)} ${Ho(i)} v`)},rect(t,e,n,i){return this.addContent(`${Ho(t)} ${Ho(e)} ${Ho(n)} ${Ho(i)} re`)},roundedRect(t,e,n,i,r){let o;null==r&&(r=0),o=Array.isArray(r)?r.slice(0,4):[r,r,r,r];const s=Math.min(.5*n,.5*i),a=Math.max(0,Math.min(o[0]||0,s)),h=Math.max(0,Math.min(o[1]||0,s)),l=Math.max(0,Math.min(o[2]||0,s)),c=Math.max(0,Math.min(o[3]||0,s)),u=h*(1-Yo),d=l*(1-Yo),f=c*(1-Yo),p=a*(1-Yo);return this.moveTo(t+a,e),this.lineTo(t+n-h,e),h>0&&this.bezierCurveTo(t+n-u,e,t+n,e+u,t+n,e+h),this.lineTo(t+n,e+i-l),l>0&&this.bezierCurveTo(t+n,e+i-d,t+n-d,e+i,t+n-l,e+i),this.lineTo(t+c,e+i),c>0&&this.bezierCurveTo(t+f,e+i,t,e+i-f,t,e+i-c),this.lineTo(t,e+a),a>0&&this.bezierCurveTo(t,e+p,t+p,e,t+a,e),this.closePath()},ellipse(t,e,n,i){null==i&&(i=n);const r=n*Yo,o=i*Yo,s=(t-=n)+2*n,a=(e-=i)+2*i,h=t+n,l=e+i;return this.moveTo(t,l),this.bezierCurveTo(t,l-o,h-r,e,h,e),this.bezierCurveTo(h+r,e,s,l-o,s,l),this.bezierCurveTo(s,l+o,h+r,a,h,a),this.bezierCurveTo(h-r,a,t,l+o,t,l),this.closePath()},circle(t,e,n){return this.ellipse(t,e,n)},arc(t,e,n,i,r,o){null==o&&(o=!1);const s=2*Math.PI,a=.5*Math.PI;let h=r-i;if(Math.abs(h)>s)h=s;else if(0!==h&&o!==h<0){h=(o?-1:1)*s+h}const l=Math.ceil(Math.abs(h)/a),c=h/l,u=c/a*Yo*n;let d=i,f=-Math.sin(d)*u,p=Math.cos(d)*u,g=t+Math.cos(d)*n,m=e+Math.sin(d)*n;this.moveTo(g,m);for(let i=0;i<l;i++){const i=g+f,r=m+p;d+=c,g=t+Math.cos(d)*n,m=e+Math.sin(d)*n,f=-Math.sin(d)*u,p=Math.cos(d)*u;const o=g-f,s=m-p;this.bezierCurveTo(i,r,o,s,g,m)}return this},polygon(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.moveTo(...e.shift()||[]);for(let t of e)this.lineTo(...t||[]);return this.closePath()},path(t){return No.apply(this,t),this},_windingRule(t){return/even-?odd/.test(t)?"*":""},fill(t,e){return/(even-?odd)|(non-?zero)/.test(t)&&(e=t,t=null),t&&this.fillColor(t),this.addContent(`f${this._windingRule(e)}`)},stroke(t){return t&&this.strokeColor(t),this.addContent("S")},fillAndStroke(t,e,n){null==e&&(e=t);const i=/(even-?odd)|(non-?zero)/;return i.test(t)&&(n=t,t=null),i.test(e)&&(n=e,e=t),t&&(this.fillColor(t),this.strokeColor(e)),this.addContent(`B${this._windingRule(n)}`)},clip(t){return this.addContent(`W${this._windingRule(t)} n`)},transform(t,e,n,i,r,o){if(1===t&&0===e&&0===n&&1===i&&0===r&&0===o)return this;const s=this._ctm,[a,h,l,c,u,d]=s;
1s[0]=a*t+l*e,s[1]=h*t+c*e,s[2]=a*n+l*i,s[3]=h*n+c*i,s[4]=a*r+l*o+u,s[5]=h*r+c*o+d;const f=[t,e,n,i,r,o].map(t=>Ho(t)).join(" ");return this.addContent(`${f} cm`)},translate(t,e){return this.transform(1,0,0,1,t,e)},rotate(t,e){let n;void 0===e&&(e={});const i=t*Math.PI/180,r=Math.cos(i),o=Math.sin(i);let s=n=0;if(null!=e.origin){[s,n]=e.origin;const t=s*o+n*r;s-=s*r-n*o,n-=t}return this.transform(r,o,-o,r,s,n)},scale(t,e,n){let i;void 0===n&&(n={}),null==e&&(e=t),"object"==typeof e&&(n=e,e=t);let r=i=0;return null!=n.origin&&([r,i]=n.origin,r-=t*r,i-=e*i),this.transform(t,0,0,e,r,i)}};const qo={402:131,8211:150,8212:151,8216:145,8217:146,8218:130,8220:147,8221:148,8222:132,8224:134,8225:135,8226:149,8230:133,8364:128,8240:137,8249:139,8250:155,710:136,8482:153,338:140,339:156,732:152,352:138,353:154,376:159,381:142,382:158},Ko=".notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n  \nspace         exclam         quotedbl       numbersign\ndollar        percent        ampersand      quotesingle\nparenleft     parenright     asterisk       plus\ncomma         hyphen         period         slash\nzero          one            two            three\nfour          five           six            seven\neight         nine           colon          semicolon\nless          equal          greater        question\n  \nat            A              B              C\nD             E              F              G\nH             I              J              K\nL             M              N              O\nP             Q              R              S\nT             U              V              W\nX             Y              Z              bracketleft\nbackslash     bracketright   asciicircum    underscore\n  \ngrave         a              b              c\nd             e              f              g\nh             i              j              k\nl             m              n              o\np             q              r              s\nt             u              v              w\nx             y              z              braceleft\nbar           braceright     asciitilde     .notdef\n  \nEuro          .notdef        quotesinglbase florin\nquotedblbase  ellipsis       dagger         daggerdbl\ncircumflex    perthousand    Scaron         guilsinglleft\nOE            .notdef        Zcaron         .notdef\n.notdef       quoteleft      quoteright     quotedblleft\nquotedblright bullet         endash         emdash\ntilde         trademark      scaron         guilsinglright\noe            .notdef        zcaron         ydieresis\n  \nspace         exclamdown     cent           sterling\ncurrency      yen            brokenbar      section\ndieresis      copyright      ordfeminine    guillemotleft\nlogicalnot    hyphen         registered     macron\ndegree        plusminus      twosuperior    threesuperior\nacute         mu             paragraph      periodcentered\ncedilla       onesuperior    ordmasculine   guillemotright\nonequarter    onehalf        threequarters  questiondown\n  \nAgrave        Aacute         Acircumflex    Atilde\nAdieresis     Aring          AE             Ccedilla\nEgrave        Eacute         Ecircumflex    Edieresis\nIgrave        Iacute         Icircumflex    Idieresis\nEth           Ntilde         Ograve         Oacute\nOcircumflex   Otilde         Odieresis      multiply\nOslash        Ugrave         Uacute         Ucircumflex\nUdieresis     Yacute         Thorn          germandbls\n  \nagrave        aacute         acircumflex    atilde\nadieresis     aring          ae             ccedilla\negrave        eacute         ecircumflex    edieresis\nigrave        iacute         icircumflex    idieresis\neth           ntilde         ograve         oacute\nocircumflex   otilde         odieresis      divide\noslash        ugrave         uacute         ucircumflex\nudieresis     yacute         thorn          ydieresis".split(/\s+/);class Xo{constructor(t){this.name=t.name,this.bbox=t.bbox.slice(),this.ascender=t.ascender,this.descender=t.descender,this.xHeight=t.xHeight,this.capHeight=t.capHeight,this.lineGap=this.bbox[3]-this.bbox[1]-(this.ascender-this.descender);const e=t.glyphNames.split(" ");this.glyphWidths=Object.fromEntries(e.map((e,n)=>[e,t.glyphWidths[n]])),this.kernPairs={};for(let n=0;n<t.kernPairs.length;n+=2){const i=t.kernPairs[n];let r=0;for(const o of t.kernPairs[n+1]){r+=o;const t=Math.floor(r/e.length),n=r%e.length;this.kernPairs[`${e[t]}\0${e[n]}`]=i}}}encodeText(t){const e=[];for(let n=0,i=t.length;n<i;n++){let i=t.charCodeAt(n);i=qo[i]||i,e.push(i.toString(16))}return e}glyphsForString(t){const e=[];for(let n=0,i=t.length;n<i;n++){const i=t.charCodeAt(n);e.push(this.characterToGlyph(i))}return e}characterToGlyph(t){return Ko[qo[t]||t]||".notdef"}widthOfGlyph(t){return this.glyphWidths[t]||0}getKernPair(t,e){return this.kernPairs[t+"\0"+e]||0}advancesForGlyphs(t){const e=[];for(let n=0;n<t.length;n++){const i=t[n],r=t[n+1];e.push(this.widthOfGlyph(i)+this.getKernPair(i,r))}return e}}class Vo{constructor(){}
1encode(){throw new Error("Must be implemented by subclasses")}widthOfString(){throw new Error("Must be implemented by subclasses")}ref(){return null!=this.dictionary?this.dictionary:this.dictionary=this.document.ref()}finalize(){this.embedded||null==this.dictionary||(this.embed(),this.embedded=!0)}embed(){throw new Error("Must be implemented by subclasses")}lineHeight(t,e){void 0===e&&(e=!1);const n=e?this.lineGap:0;return(this.ascender+n-this.descender)/1e3*t}}class Jo extends Vo{constructor(t,e,n){super(),this.document=t,this.name=e.name,this.id=n,this.font=new Xo(e),({ascender:this.ascender,descender:this.descender,bbox:this.bbox,lineGap:this.lineGap,xHeight:this.xHeight,capHeight:this.capHeight}=this.font)}embed(){return this.dictionary.data={Type:"Font",BaseFont:this.name,Subtype:"Type1",Encoding:"WinAnsiEncoding"},this.dictionary.end()}encode(t){const e=this.font.encodeText(t),n=this.font.glyphsForString(`${t}`),i=this.font.advancesForGlyphs(n),r=[];for(let t=0;t<n.length;t++){const e=n[t];r.push({xAdvance:i[t],yAdvance:0,xOffset:0,yOffset:0,advanceWidth:this.font.widthOfGlyph(e)})}return[e,r]}widthOfString(t,e){const n=this.font.glyphsForString(`${t}`),i=this.font.advancesForGlyphs(n);let r=0;for(let t of i)r+=t;return r*(e/1e3)}}const Zo=function(t){return`0000${t.toString(16)}`.slice(-4)};class Qo extends Vo{constructor(t,e,n){super(),this.document=t,this.font=e,this.id=n,this.subset=this.font.createSubset(),this.unicode=[[0]],this.widths=[this.font.getGlyph(0).advanceWidth],this.name=this.font.postscriptName,this.scale=1e3/this.font.unitsPerEm,this.ascender=this.font.ascent*this.scale,this.descender=this.font.descent*this.scale,this.xHeight=this.font.xHeight*this.scale,this.capHeight=this.font.capHeight*this.scale,this.lineGap=this.font.lineGap*this.scale,this.bbox=this.font.bbox,this.layoutCache=Object.create(null)}layoutRun(t,e){const n=this.font.layout(t,e,void 0,void 0,"ltr");for(let t=0;t<n.positions.length;t++){const e=n.positions[t];for(let t in e)e[t]*=this.scale;e.advanceWidth=n.glyphs[t].advanceWidth*this.scale}return n}layoutCached(t){let e;if(e=this.layoutCache[t])return e;const n=this.layoutRun(t);return this.layoutCache[t]=n,n}layout(t,e,n){if(e)return this.layoutRun(t,e);const i=n?null:[],r=n?null:[];let o=0,s=0,a=0;for(;a<=t.length;){let e;if(a===t.length&&s<a||(e=t.charAt(a),[" ","\t"].includes(e))){const e=this.layoutCached(t.slice(s,++a));n||(i.push(...Array.from(e.glyphs||[])),r.push(...Array.from(e.positions||[]))),o+=e.advanceWidth,s=a}else a++}return{glyphs:i,positions:r,advanceWidth:o}}encode(t,e){const{glyphs:n,positions:i}=this.layout(t,e),r=[];for(let t=0;t<n.length;t++){const e=n[t],i=this.subset.includeGlyph(e.id);r.push(`0000${i.toString(16)}`.slice(-4)),null==this.widths[i]&&(this.widths[i]=e.advanceWidth*this.scale),null==this.unicode[i]&&(this.unicode[i]=e.codePoints)}return[r,i]}widthOfString(t,e,n){return this.layout(t,n,!0).advanceWidth*(e/1e3)}embed(){var t;const e=null!=this.subset.cff,n=this.document.ref();e&&(n.data.Subtype="CIDFontType0C"),n.end(this.subset.encode());const i=((null!=this.font["OS/2"]?this.font["OS/2"].sFamilyClass:void 0)||0)>>8;let r=0;this.font.post.isFixedPitch&&(r|=1),1<=i&&i<=7&&(r|=2),r|=4,10===i&&(r|=8),this.font.head.macStyle.italic&&(r|=64);const o=[1,2,3,4,5,6].map(t=>String.fromCharCode((this.id.charCodeAt(t)||73)+17)).join("")+"+"+(null===(t=this.font.postscriptName)||void 0===t?void 0:t.replaceAll(" ","_")),{bbox:s}=this.font,a=this.document.ref({Type:"FontDescriptor",FontName:o,Flags:r,FontBBox:[s.minX*this.scale,s.minY*this.scale,s.maxX*this.scale,s.maxY*this.scale],ItalicAngle:this.font.italicAngle,Ascent:this.ascender,Descent:this.descender,CapHeight:(this.font.capHeight||this.font.ascent)*this.scale,XHeight:(this.font.xHeight||0)*this.scale,StemV:0});if(e?a.data.FontFile3=n:a.data.FontFile2=n,1===this.document.subset){const t=this.widths.length-1,e=new Uint8Array(Math.ceil((t+1)/8));for(let n=0;n<=t;n++)null!=this.widths[n]&&(e[Math.floor(n/8)]|=128>>n%8);const n=this.document.ref();n.end(e),a.data.CIDSet=n}a.end();const h={Type:"Font",Subtype:"CIDFontType0",BaseFont:o,CIDSystemInfo:{Registry:new String("Adobe"),Ordering:new String("Identity"),Supplement:0},FontDescriptor:a,W:[0,this.widths]};e||(h.Subtype="CIDFontType2",h.CIDToGIDMap="Identity");const l=this.document.ref(h);return l.end(),this.dictionary.data={Type:"Font",Subtype:"Type0",BaseFont:o,Encoding:"Identity-H",DescendantFonts:[l],ToUnicode:this.toUnicodeCmap()},this.dictionary.end()}toUnicodeCmap(){const t=this.document.ref(),e=[];for(let t of this.unicode){const n=[];for(let e of t)e>65535&&(e-=65536,n.push(Zo(e>>>10&1023|55296)),e=56320|1023&e),n.push(Zo(e));e.push(`<${n.join(" ")}>`)}const n=Math.ceil(e.length/256),i=[];for(let t=0;t<n;t++){const n=256*t,r=Math.min(256*(t+1),e.length);i.push(`<${Zo(n)}> <${Zo(r-1)}> [${e.slice(n,r).join(" ")}]`)}return t.end(`/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange\n${i.length} beginbfrange\n${i.join("\n")}\nendbfrange\nendcmap\nCMapName currentdict /CMap defineresource pop\nend\nend`),t}}const ts=new Set(["Courier","Courier-Bold","Courier-BoldOblique","Courier-Oblique","Helvetica","Helvetica-Bold","Helvetica-BoldOblique","Helvetica-Oblique","Symbol","Times-Bold","Times-BoldItalic","Times-Italic","Times-Roman","ZapfDingbats"]),es=(t,e)=>{if(null==t||"object"!=typeof t||!ts.has(t.name)||null!=e&&t.name!==e)throw new TypeError("Invalid standard font data.")},ns=new Map,is=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(const t of e)es(t),ns.set(t.name,t)};class rs{static open(t,e,n,i){let r;if("string"==typeof e){if(o=e,ts.has(o))return new Jo(t,(t=>{if(!ts.has(t))return null;const e=ns.get(t);if(null==e)throw new Error(`Standard font "${t}" is not registered. Call registerStdFonts() before using it.`);if("function"!=typeof e)return e;const n=e();return es(n,t),ns.set(t,n),n})(e),i);throw new Error(`Can't open ${e} in browser build`)}var o;if(e instanceof Uint8Array?r=s.vt(e,n):e instanceof ArrayBuffer?r=s.vt(new Uint8Array(e),n):"object"==typeof e&&(r=e),null==r)throw new Error("Not a supported font format or standard PDF font.");return new Qo(t,r,i)}}var os={initFonts(t,e,n){void 0===t&&(t="Helvetica"),void 0===e&&(e=null),void 0===n&&(n=12),this._fontFamilies={},this._fontCount=0,this._fontSource=t,this._fontFamily=e,this._fontSize=n,this._font=null,this._remSize=n,this._registeredFonts={},t&&this.font(t,e)},font(t,e,n){let i,r;if("number"==typeof e&&(n=e,e=null),"string"==typeof t&&this._registeredFonts[t]?(i=t,({src:t,family:e}=this._registeredFonts[t])):(i=e||t,"string"!=typeof i&&(i=null)),this._fontSource=t,this._fontFamily=e,null!=n&&this.fontSize(n),r=this._fontFamilies[i])return this._font=r,this;const o="F"+ ++this._fontCount;return this._font=rs.open(this,t,e,o),(r=this._fontFamilies[this._font.name])&&(s=this._font,a=r,(null===(h=s.font._tables)||void 0===h||null===(l=h.head)||void 0===l?void 0:l.checkSumAdjustment)===(null===(c=a.font._tables)||void 0===c||null===(u=c.head)||void 0===u?void 0:u.checkSumAdjustment)&&JSON.stringify(null===(d=s.font._tables)||void 0===d||null===(f=d.name)||void 0===f?void 0:f.records)===JSON.stringify(null===(p=a.font._tables)||void 0===p||null===(g=p.name)||void 0===g?void 0:g.records))?(this._font=r,this):(i&&(this._fontFamilies[i]=this._font),this._font.name&&!this._fontFamilies[this._font.name]&&(this._fontFamilies[this._font.name]=this._font),i||this._font.name&&this._fontFamilies[this._font.name]===this._font||(this._fontFamilies[this._font.id]=this._font),this);var s,a,h,l,c,u,d,f,p,g},fontSize(t){return this._fontSize=this.sizeToPoint(t),this},currentLineHeight(t){return this._font.lineHeight(this._fontSize,t)},registerFont(t,e,n){return this._registeredFonts[t]={src:e,family:n},this},sizeToPoint(t,e,n,i){if(void 0===e&&(e=0),void 0===n&&(n=this.page),void 0===i&&(i=void 0),i||(i=this._fontSize),"number"!=typeof e&&(e=this.sizeToPoint(e)),void 0===t)return e;if("number"==typeof t)return t;if("boolean"==typeof t)return Number(t);const r=String(t).match(/((\d+)?(\.\d+)?)(em|in|px|cm|mm|pc|ex|ch|rem|vw|vh|vmin|vmax|%|pt)?/);if(!r)throw new Error(`Unsupported size '${t}'`);let o;switch(r[4]){case"em":o=this._fontSize;break;case"in":o=72;break;case"px":o=.75;break;case"cm":o=72*Pr;break;case"mm":o=.1*Pr*72;break;case"pc":o=12;break;case"ex":o=this.currentLineHeight();break;case"ch":o=this.widthOfString("0");break;
vendor: 11,664 bytes, line 1
1case"rem":o=this._remSize;break;case"vw":o=n.width/100;break;case"vh":o=n.height/100;break;case"vmin":o=Math.min(n.width,n.height)/100;break;case"vmax":o=Math.max(n.width,n.height)/100;break;case"%":o=i/100;break;default:o=1}return o*Number(r[1])}};class ss{constructor(t,e){this._listeners=Object.create(null),this.document=t,this.horizontalScaling=e.horizontalScaling||100,this.indent=(e.indent||0)*this.horizontalScaling/100,this.indentAllLines=e.indentAllLines||!1,this.characterSpacing=(e.characterSpacing||0)*this.horizontalScaling/100,this.wordSpacing=(0===e.wordSpacing)*this.horizontalScaling/100,this.columns=e.columns||1,this.columnGap=(null!=e.columnGap?e.columnGap:18)*this.horizontalScaling/100,this.lineWidth=(e.width*this.horizontalScaling/100-this.columnGap*(this.columns-1))/this.columns,this.spaceLeft=this.lineWidth,this.startX=this.document.x,this.startY=this.document.y,this.column=1,this.ellipsis=e.ellipsis,this.continuedX=0,this.features=e.features,null!=e.height?(this.height=e.height,this.maxY=Er(this.startY+e.height)):this.maxY=Er(this.document.page.maxY()),this.on("firstLine",t=>{const e=this.continuedX||this.indent;this.document.x+=e,this.lineWidth-=e,t.indentAllLines||this.once("line",()=>{this.document.x-=e,this.lineWidth+=e,t.continued&&!this.continuedX&&(this.continuedX=this.indent),t.continued||(this.continuedX=0)})}),this.on("lastLine",t=>{const{align:e}=t;"justify"===e&&(t.align="left"),this.lastLine=!0,this.once("line",()=>(this.document.y+=t.paragraphGap||0,t.align=e,this.lastLine=!1))})}on(t,e){(this._listeners[t]||(this._listeners[t]=[])).push(e)}once(t,e){var n=this;const i=function(){const r=n._listeners[t];r.splice(r.indexOf(i),1),e(...arguments)};this.on(t,i)}emit(t){const e=this._listeners[t];if(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(const t of e.slice())t(...i)}}wordWidth(t){return Er(this.document.widthOfString(t,this)+this.characterSpacing+this.wordSpacing)}canFit(t,e){return"­"!=t[t.length-1]?e<=this.spaceLeft:e+this.wordWidth("-")<=this.spaceLeft}eachWord(t,e){let n;const i=new a.A(t);let r=null;const o=Object.create(null);for(;n=i.nextBreak();){var s;let i=t.slice((null!=r?r.position:void 0)||0,n.position),a=null!=o[i]?o[i]:o[i]=this.wordWidth(i);if(a>this.lineWidth+this.continuedX){let t=r;const o={};for(;i.length;){var h,l;a>this.spaceLeft?(h=Math.ceil(this.spaceLeft/(a/i.length)),a=this.wordWidth(i.slice(0,h)),l=a<=this.spaceLeft&&h<i.length):h=i.length;let r=a>this.spaceLeft&&h>0;for(;r||l;)r?(a=this.wordWidth(i.slice(0,--h)),r=a>this.spaceLeft&&h>0):(a=this.wordWidth(i.slice(0,++h)),r=a>this.spaceLeft&&h>0,l=a<=this.spaceLeft&&h<i.length);if(0===h&&this.spaceLeft===this.lineWidth&&(h=1),o.required=n.required||h<i.length,s=e(i.slice(0,h),a,o,t),t={required:!1},i=i.slice(h),a=this.wordWidth(i),!1===s)break}}else s=e(i,a,n,r);if(!1===s)break;r=n}}wrap(t,e){const{document:n}=this;this.horizontalScaling=e.horizontalScaling||100,null!=e.indent&&(this.indent=e.indent*this.horizontalScaling/100),null!=e.characterSpacing&&(this.characterSpacing=e.characterSpacing*this.horizontalScaling/100),null!=e.wordSpacing&&(this.wordSpacing=e.wordSpacing*this.horizontalScaling/100),null!=e.ellipsis&&(this.ellipsis=e.ellipsis);const i=n.y+n.currentLineHeight(!0);(n.y>this.maxY||i>this.maxY)&&this.nextSection();let r="",o=0,s=0,a=0,h=n.y;const l=()=>(e.textWidth=o+this.wordSpacing*(s-1),e.wordCount=s,e.lineWidth=this.lineWidth,h=n.y,this.emit("line",r,e,this),a++);this.emit("sectionStart",e,this),this.eachWord(t,(t,i,a,h)=>{if((null==h||h.required)&&(this.emit("firstLine",e,this),this.spaceLeft=this.lineWidth),this.canFit(t,i)&&(r+=t,o+=i,s++),a.required||!this.canFit(t,i)){const h=n.currentLineHeight(!0);if(null!=this.height&&this.ellipsis&&Er(n.y+2*h)>this.maxY&&this.column>=this.columns){for(!0===this.ellipsis&&(this.ellipsis="…"),r=r.replace(/\s+$/,""),o=this.wordWidth(r+this.ellipsis);r&&o>this.lineWidth;)r=r.slice(0,-1).replace(/\s+$/,""),o=this.wordWidth(r+this.ellipsis);o<=this.lineWidth&&(r+=this.ellipsis),o=this.wordWidth(r)}if(a.required&&(i>this.spaceLeft&&(l(),r=t,o=i,s=1),this.emit("lastLine",e,this)),"­"==r[r.length-1]&&(r=r.slice(0,-1)+"-",this.spaceLeft-=this.wordWidth("-")),l(),Er(n.y+h)>this.maxY){this.emit("sectionEnd",e,this);if(!this.nextSection())return s=0,r="",!1;this.emit("sectionStart",e,this)}return a.required?(this.spaceLeft=this.lineWidth,r="",o=0,s=0):(this.spaceLeft=this.lineWidth-i,r=t,o=i,s=1)}return this.spaceLeft-=i}),s>0&&(this.emit("lastLine",e,this),l()),this.emit("sectionEnd",e,this),!0===e.continued?(a>1&&(this.continuedX=0),this.continuedX+=e.textWidth||0,n.y=h):n.x=this.startX}nextSection(t){if(++this.column>this.columns){if(null!=this.height)return!1;if(this.document.continueOnNewPage(),this.column=1,this.startY=this.document.page.margins.top,this.maxY=this.document.page.maxY(),this.indentAllLines){const t=this.continuedX||this.indent;this.document.x+=t,this.lineWidth-=t}else this.document.x=this.startX;this.document._fillColor&&this.document.fillColor(...this.document._fillColor),this.emit("pageBreak",t,this)}else this.document.x+=this.lineWidth+this.columnGap,this.document.y=this.startY,this.emit("columnBreak",t,this);return!0}}const{number:as}=Sr;var hs={initText(){this._line=this._line.bind(this),this.x=0,this.y=0,this._lineGap=0},lineGap(t){return this._lineGap=t,this},moveDown(t){return null==t&&(t=1),this.y+=this.currentLineHeight(!0)*t+this._lineGap,this},moveUp(t){return null==t&&(t=1),this.y-=this.currentLineHeight(!0)*t+this._lineGap,this},_text(t,e,n,i,r){t=null==t?"":`${t}`,(i=this._initOptions(e,n,i)).wordSpacing&&(t=t.replace(/\s{2,}/g," "));const o=()=>{i.structParent&&i.structParent.add(this.struct(i.structType||"P",[this.markStructureContent(i.structType||"P")]))};if(0!==i.rotation&&(this.save(),this.rotate(-i.rotation,{origin:[this.x,this.y]})),i.width){let e=this._wrapper;e||(e=new ss(this,i),e.on("line",r),e.on("firstLine",o)),this._wrapper=i.continued?e:null,this._textOptions=i.continued?i:null,e.wrap(t,i)}else for(let e of t.split("\n"))o(),r(e,i);return 0!==i.rotation&&this.restore(),this},text(t,e,n,i){return this._text(t,e,n,i,this._line)},widthOfString(t,e){void 0===e&&(e={});const n=e.horizontalScaling||100;return(this._font.widthOfString(t,this._fontSize,e.features)+(e.characterSpacing||0)*(t.length-1))*n/100},boundsOfString(t,e,n,i){var r,o;i=this._initOptions(e,n,i),({x:e,y:n}=this);const s=null!==(r=null!==(o=i.lineGap)&&void 0!==o?o:this._lineGap)&&void 0!==r?r:0,a=this.currentLineHeight(!0)+s;let h=0;if(t=String(null!=t?t:""),i.wordSpacing&&(t=t.replace(/\s{2,}/g," ")),i.width){let e=new ss(this,i);e.on("line",(t,e)=>{if(this.y+=a,(t=t.replace(/\n/g,"")).length){var n,i;let r=null!==(n=e.wordSpacing)&&void 0!==n?n:0;const o=null!==(i=e.characterSpacing)&&void 0!==i?i:0;if(e.width&&"justify"===e.align){const n=t.trim().split(/\s+/),i=this.widthOfString(t.replace(/\s+/g,""),e),s=this.widthOfString(" ")+o;r=Math.max(0,(e.lineWidth-i)/Math.max(1,n.length-1)-s)}h=Math.max(h,e.textWidth+r*(e.wordCount-1)+o*(t.length-1))}}),e.wrap(t,i)}else for(let e of t.split("\n")){const t=this.widthOfString(e,i);this.y+=a,h=Math.max(h,t)}let l=this.y-n;if(i.height&&(l=Math.min(l,i.height)),this.x=e,this.y=n,0===i.rotation)return{x:e,y:n,width:h,height:l};if(90===i.rotation)return{x:e,y:n-h,width:l,height:h};if(180===i.rotation)return{x:e-h,y:n-l,width:h,height:l};if(270===i.rotation)return{x:e-l,y:n,width:l,height:h};const c=Rr(i.rotation),u=Mr(i.rotation),d=e,f=n,p=e+h*c,g=n-h*u,m=e+h*c+l*u,y=n-h*u+l*c,b=e+l*u,w=n+l*c,_=Math.min(d,p,m,b),v=Math.max(d,p,m,b),S=Math.min(f,g,y,w);return{x:_,y:S,width:v-_,height:Math.max(f,g,y,w)-S}},heightOfString(t,e){const{x:n,y:i}=this;(e=this._initOptions(e)).height=1/0;const r=e.lineGap||this._lineGap||0;this._text(t,this.x,this.y,e,()=>{this.y+=this.currentLineHeight(!0)+r});const o=this.y-i;return this.x=n,this.y=i,o},list(t,e,n,i){const r=(i=this._initOptions(e,n,i)).listType||"bullet",o=Math.round(this._font.ascender/1e3*this._fontSize),s=o/2,a=i.bulletRadius||o/3,h=i.textIndent||("bullet"===r?5*a:2*o),l=i.bulletIndent||("bullet"===r?8*a:2*o);let c=1;const u=[],d=[],f=[];var p=function(t){let e=1;for(let n=0;n<t.length;n++){const i=t[n];Array.isArray(i)?(c++,p(i),c--):(u.push(i),d.push(c),"bullet"!==r&&f.push(e++))}};p(t);const g=function(t,e){const n=new ss(this,i);n.on("line",this._line),c=1,n.once("firstLine",()=>{let t,o,u,p,g;if(i.structParent&&(i.structTypes?[o,u,p]=i.structTypes:[o,u,p]=["LI","Lbl","LBody"]),o?(t=this.struct(o),i.structParent.add(t)):i.structParent&&(t=i.structParent),(g=d[e++])!==c){const t=l*(g-c);this.x+=t,n.lineWidth-=t,c=g}switch(t&&(u||p)&&t.add(this.struct(u||p,[this.markStructureContent(u||p)])),r){case"bullet":this.circle(this.x-h+a,this.y+s,a),this.fill();break;case"numbered":case"lettered":var m=function(t,e){if("numbered"===e)return`${t}.`;var n=String.fromCharCode((t-1)%26+65),i=Math.floor((t-1)/26+1);return`${Array(i+1).join(n)}.`}(f[e-1],r);this._fragment(m,this.x-h,this.y,i)}t&&u&&p&&t.add(this.struct(p,[this.markStructureContent(p)])),t&&t!==i.structParent&&t.end()}),n.on("sectionStart",()=>{const t=h+l*(c-1);this.x+=t,n.lineWidth-=t}),n.on("sectionEnd",()=>{const t=h+l*(c-1);this.x-=t,n.lineWidth+=t}),n.wrap(t,i)};for(let t=0;t<u.length;t++)g.call(this,u[t],t);return this},_initOptions(t,e,n){var i;void 0===t&&(t={}),void 0===n&&(n={}),t&&"object"==typeof t&&(n=t,t=null);const r=Object.assign({},n);if(this._textOptions)for(let t in this._textOptions){const e=this._textOptions[t];"continued"!==t&&void 0===r[t]&&(r[t]=e)}return null!=t&&(this.x=t),null!=e&&(this.y=e),!1!==r.lineBreak&&(null==r.width&&(r.width=this.page.width-this.x-this.page.margins.right),r.width=Math.max(r.width,0)),r.columns||(r.columns=0),null==r.columnGap&&(r.columnGap=18),r.rotation=Number(null!==(i=r.rotation)&&void 0!==i?i:0)%360,r.rotation<0&&(r.rotation+=360),r},_line(t,e,n){if(void 0===e&&(e={}),this._fragment(t,this.x,this.y,e),n){const t=e.lineGap||this._lineGap||0;this.y+=this.currentLineHeight(!0)+t}else this.x+=this.widthOfString(t,e)},_fragment(t,e,n,i){let r,o,s,a,h,l;if(0===(t=`${t}`.replace(/\n/g,"")).length)return;const c=i.align||"left";let u=i.wordSpacing||0;const d=i.characterSpacing||0,f=i.horizontalScaling||100;if(i.width)switch(c){case"right":h=this.widthOfString(t.replace(/\s+$/,""),i),e+=i.lineWidth-h;break;case"center":e+=i.lineWidth/2-i.textWidth/2;break;case"justify":l=t.trim().split(/\s+/),h=this.widthOfString(t.replace(/\s+/g,""),i);var p=this.widthOfString(" ")+d;u=Math.max(0,(i.lineWidth-h)/Math.max(1,l.length-1)-p)}if("number"==typeof i.baseline)r=-i.baseline;else{switch(i.baseline){case"svg-middle":r=.5*this._font.xHeight;break;case"middle":case"svg-central":r=.5*(this._font.descender+this._font.ascender);break;case"bottom":case"ideographic":r=this._font.descender;break;case"alphabetic":r=0;break;case"mathematical":r=.5*this._font.ascender;break;case"hanging":r=.8*this._font.ascender;break;default:r=this._font.ascender}r=r/1e3*this._fontSize}const g=i.textWidth+u*(i.wordCount-1)+d*(t.length-1);if(null!=i.link){const t={};this._currentStructureElement&&"Link"===this._currentStructureElement.dictionary.data.S&&(t.structParent=this._currentStructureElement),this.link(e,n,g,this.currentLineHeight(),i.link,t)}if(null!=i.goTo&&this.goTo(e,n,g,this.currentLineHeight(),i.goTo),null!=i.destination&&this.addNamedDestination(i.destination,"XYZ",e,n,null),i.underline){this.save(),i.stroke||this.strokeColor(...this._fillColor||[]);const t=this._fontSize<10?.5:Math.floor(this._fontSize/10);this.lineWidth(t);let r=n+this.currentLineHeight()-t;
1this.moveTo(e,r),this.lineTo(e+g,r),this.stroke(),this.restore()}if(i.strike){this.save(),i.stroke||this.strokeColor(...this._fillColor||[]);const t=this._fontSize<10?.5:Math.floor(this._fontSize/10);this.lineWidth(t);let r=n+this.currentLineHeight()/2;this.moveTo(e,r),this.lineTo(e+g,r),this.stroke(),this.restore()}if(this.save(),i.oblique){let t;t="number"==typeof i.oblique?-Math.tan(i.oblique*Math.PI/180):-.25,this.transform(1,0,0,1,e,n),this.transform(1,0,t,1,-t*r,0),this.transform(1,0,0,1,-e,-n)}this.transform(1,0,0,-1,0,this.page.height),n=this.page.height-n-r,null==this.page.fonts[this._font.id]&&(this.page.fonts[this._font.id]=this._font.ref()),this.addContent("BT"),this.addContent(`1 0 0 1 ${as(e)} ${as(n)} Tm`),this.addContent(`/${this._font.id} ${as(this._fontSize)} Tf`);const m=i.fill&&i.stroke?2:i.stroke?1:0;if(m&&this.addContent(`${m} Tr`),d&&this.addContent(`${as(d)} Tc`),100!==f&&this.addContent(`${f} Tz`),u){l=t.trim().split(/\s+/),u+=this.widthOfString(" ")+d,u*=1e3/this._fontSize,o=[],a=[];for(let t of l){const[e,n]=this._font.encode(t,i.features);o=o.concat(e),a=a.concat(n);const r={},s=a[a.length-1];for(let t in s){const e=s[t];r[t]=e}r.xAdvance+=u,a[a.length-1]=r}}else[o,a]=this._font.encode(t,i.features);const y=this._fontSize/1e3,b=[];let w=0,_=!1;const v=t=>{if(w<t){const e=o.slice(w,t).join(""),n=a[t-1].xAdvance-a[t-1].advanceWidth;b.push(`<${e}> ${as(-n)}`)}w=t},S=t=>{v(t),b.length>0&&(this.addContent(`[${b.join(" ")}] TJ`),b.length=0)};for(s=0;s<a.length;s++){const t=a[s];t.xOffset||t.yOffset?(S(s),this.addContent(`1 0 0 1 ${as(e+t.xOffset*y)} ${as(n+t.yOffset*y)} Tm`),S(s+1),_=!0):(_&&(this.addContent(`1 0 0 1 ${as(e)} ${as(n)} Tm`),_=!1),t.xAdvance-t.advanceWidth!==0&&v(s+1)),e+=t.xAdvance*y}S(s),this.addContent("ET"),this.restore()}},ls={};const cs=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487],us={1:"DeviceGray",3:"DeviceRGB",4:"DeviceCMYK"};class ds{constructor(t,e){let n;if(this.data=t,this.label=e,65496!==mr(this.data,0))throw"SOI not found in JPEG";this.orientation=(t=>{if(!t||t.length<20)return null;let e=2;for(;e<t.length-4;){for(;e<t.length&&255!==t[e];)e++;if(e>=t.length-4)return null;const n=mr(t,e);if(e+=2,65498===n)return null;if(n>=65488&&n<=65497||65281===n)continue;if(e+2>t.length)return null;const i=mr(t,e);if(65505===n&&e+8<=t.length&&"Exif\0\0"===fr(t.subarray(e+2,e+8))){const n=e+8;if(n+8>t.length)return null;const i=fr(t.subarray(n,n+2)),r="II"===i;if(!r&&"MM"!==i)return null;const o=r?e=>{return void 0===(i=e)&&(i=0),((n=t)[i+1]<<8|n[i])>>>0;var n,i}:e=>mr(t,e),s=r?e=>{return void 0===(i=e)&&(i=0),((n=t)[i]|n[i+1]<<8|n[i+2]<<16)+16777216*n[i+3]>>>0;var n,i}:e=>{return void 0===(i=e)&&(i=0),16777216*(n=t)[i]+(n[i+1]<<16|n[i+2]<<8|n[i+3])>>>0;var n,i};if(42!==o(n+2))return null;const a=n+s(n+4);if(a+2>t.length)return null;const h=o(a);for(let e=0;e<h;e++){const n=a+2+12*e;if(n+12>t.length)return null;if(274===o(n)){const t=o(n+8);return t>=1&&t<=8?t:null}}return null}e+=i}return null})(this.data)||1;let i=2;for(;i<this.data.length;){for(;i<this.data.length&&255!==this.data[i];)i++;if(i>=this.data.length)break;if(n=mr(this.data,i),i+=2,cs.includes(n))break;i+=mr(this.data,i)}if(!cs.includes(n))throw"Invalid JPEG.";i+=2,this.bits=this.data[i++],this.height=mr(this.data,i),i+=2,this.width=mr(this.data,i),i+=2;const r=this.data[i];this.colorSpace=us[r],this.obj=null}embed(t){if(!this.obj)return this.obj=t.ref({Type:"XObject",Subtype:"Image",BitsPerComponent:this.bits,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode"}),"DeviceCMYK"===this.colorSpace&&(this.obj.data.Decode=[1,0,1,0,1,0,1,0]),this.obj.end(this.data),this.data=null}}class fs{constructor(t,e){this.label=e,this.image=new h.A(t),this.width=this.image.width,this.height=this.image.height,this.imgData=this.image.imgData,this.obj=null}embed(t){let e=!1;if(this.document=t,this.obj)return;const n=this.image.hasAlphaChannel,i=1===this.image.interlaceMethod;if(this.obj=this.document.ref({Type:"XObject",Subtype:"Image",BitsPerComponent:n?8:this.image.bits,Width:this.width,Height:this.height,Filter:"FlateDecode"}),!n){const t=this.document.ref({Predictor:i?1:15,Colors:this.image.colors,BitsPerComponent:this.image.bits,Columns:this.width});this.obj.data.DecodeParms=t,t.end()}
1if(0===this.image.palette.length)this.obj.data.ColorSpace=this.image.colorSpace;else{const t=this.document.ref();t.end(new Uint8Array(this.image.palette)),this.obj.data.ColorSpace=["Indexed","DeviceRGB",this.image.palette.length/3-1,t]}if(null!=this.image.transparency.grayscale){const t=this.image.transparency.grayscale;this.obj.data.Mask=[t,t]}else if(this.image.transparency.rgb){const{rgb:t}=this.image.transparency,e=[];for(let n of t)e.push(n,n);this.obj.data.Mask=e}else{if(this.image.transparency.indexed)return e=!0,this.loadIndexedAlphaChannel();if(n)return e=!0,this.splitAlphaChannel()}if(i&&!e)return this.decodeData();this.finalize()}finalize(){if(this.alphaChannel){const t=this.document.ref({Type:"XObject",Subtype:"Image",Height:this.height,Width:this.width,BitsPerComponent:8,Filter:"FlateDecode",ColorSpace:"DeviceGray",Decode:[0,1]});t.end(this.alphaChannel),this.obj.data.SMask=t}return this.obj.end(this.imgData),this.image=null,this.imgData=null}splitAlphaChannel(){return this.image.decodePixels(t=>{let e,n;const i=this.image.colors,r=this.width*this.height,o=new Uint8Array(r*i),s=new Uint8Array(r);let a=n=e=0;const h=t.length,l=16===this.image.bits?1:0;for(;a<h;){for(let e=0;e<i;e++)o[n++]=t[a++],a+=l;s[e++]=t[a++],a+=l}return this.imgData=Cr(o),this.alphaChannel=Cr(s),this.finalize()})}loadIndexedAlphaChannel(){const t=this.image.transparency.indexed,e=1===this.image.interlaceMethod;return this.image.decodePixels(n=>{const i=new Uint8Array(this.width*this.height);let r=0;for(let e=0,o=n.length;e<o;e++)i[r++]=t[n[e]];return e&&(this.imgData=Cr(n)),this.alphaChannel=Cr(i),this.finalize()})}decodeData(){this.image.decodePixels(t=>{this.imgData=Cr(t),this.finalize()})}}class ps{static open(t,e){let n;if(t instanceof Uint8Array)n=t;else if(t instanceof ArrayBuffer)n=new Uint8Array(t);else{const e=/^data:.+?;base64,(.*)$/.exec(t);if(e)n=gr(e[1]);else if(n=ls.readFileSync(t),!n)return}if(255===n[0]&&216===n[1])return new ds(n,e);if(137===n[0]&&80===n[1]&&78===n[2]&&71===n[3])return new fs(n,e);throw new Error("Unknown image format.")}}var gs={initImages(){this._imageRegistry={},this._imageCount=0},image(t,e,n,i){let r,o,s,a,h,l,c,u,d;void 0===i&&(i={}),"object"==typeof e&&(i=e,e=null);const f=i.ignoreOrientation||!1!==i.ignoreOrientation&&this.options.ignoreOrientation,p="number"!=typeof n;e=null!=(l=null!=e?e:i.x)?l:this.x,n=null!=(c=null!=n?n:i.y)?c:this.y,"string"==typeof t&&(a=this._imageRegistry[t]),a||(a=t.width&&t.height?t:this.openImage(t)),a.obj||a.embed(this),null==this.page.xobjects[a.label]&&(this.page.xobjects[a.label]=a.obj);let{width:g,height:m}=a;!f&&a.orientation>4&&([g,m]=[m,g]);let y=i.width||g,b=i.height||m;if(i.width&&!i.height){const t=y/g;y=g*t,b=m*t}else if(i.height&&!i.width){const t=b/m;y=g*t,b=m*t}else i.scale?(y=g*i.scale,b=m*i.scale):i.fit?([s,r]=i.fit,o=s/r,h=g/m,h>o?(y=s,b=s/h):(b=r,y=r*h)):i.cover&&([s,r]=i.cover,o=s/r,h=g/m,h>o?(b=r,y=r*h):(y=s,b=s/h));(i.fit||i.cover)&&("center"===i.align?e=e+s/2-y/2:"right"===i.align&&(e=e+s-y),"center"===i.valign?n=n+r/2-b/2:"bottom"===i.valign&&(n=n+r-b));let w=0,_=e,v=n,S=b,C=y;if(f)S=-b,v+=b;else switch(a.orientation){default:case 1:S=-b,v+=b;break;case 2:C=-y,S=-b,_+=y,v+=b;break;case 3:u=e,d=n,S=-b,_-=y,w=180;break;case 4:break;case 5:u=e,d=n,C=b,S=y,v-=S,w=90;break;case 6:u=e,d=n,C=b,S=-y,w=90;break;case 7:u=e,d=n,S=-y,C=-b,_+=b,w=90;break;case 8:u=e,d=n,C=b,S=-y,_-=b,v+=y,w=-90}return null!=i.link&&this.link(e,n,y,b,i.link),null!=i.goTo&&this.goTo(e,n,y,b,i.goTo),null!=i.destination&&this.addNamedDestination(i.destination,"XYZ",e,n,null),p&&(this.y+=b),this.save(),null!=i.opacity&&this._doOpacity(i.opacity,null),w&&this.rotate(w,{origin:[u,d]}),this.transform(C,0,0,S,_,v),this.addContent(`/${a.label} Do`),this.restore(),this},openImage(t){let e;return"string"==typeof t&&(e=this._imageRegistry[t]),e||(e=ps.open(t,"I"+ ++this._imageCount),"string"==typeof t&&(this._imageRegistry[t]=e)),e}};class ms{constructor(t){this.annotationRef=t}}var ys={annotate(t,e,n,i,r){const{structParent:o,color:s,...a}=r;a.Type="Annot",a.Rect=this._convertRect(t,e,n,i),a.Border=[0,0,0],"Link"===a.Subtype&&void 0===a.F&&(a.F=4),"Link"!==a.Subtype&&null==a.C&&(a.C=this._normalizeColor(s||[0,0,0])),"string"==typeof a.Dest&&(a.Dest=new String(a.Dest));const h=this.ref(a);if(this.page.annotations.push(h),"function"==typeof(null==o?void 0:o.add)){const t=new ms(h);o.add(t)}return h.end(),this},note(t,e,n,i,r,o){const s={...o,Subtype:"Text",Contents:new String(r)};return null==s.Name&&(s.Name="Comment"),null==s.color&&(s.color=[243,223,92]),this.annotate(t,e,n,i,s)},goTo(t,e,n,i,r,o){const s={...o,Subtype:"Link",A:this.ref({S:"GoTo",D:new String(r)})};return s.A.end(),this.annotate(t,e,n,i,s)},link(t,e,n,i,r,o){const s={...o,Subtype:"Link"};if("number"==typeof r){const t=this._root.data.Pages.data;if(!(r>=0&&r<t.Kids.length))throw new Error(`The document has no page ${r}`);s.A=this.ref({S:"GoTo",D:[t.Kids[r],"XYZ",null,null,null]}),s.A.end()}else s.A=this.ref({S:"URI",URI:new String(r)}),s.A.end();return s.structParent&&!s.Contents&&(s.Contents=new String("")),this.annotate(t,e,n,i,s)},_markup(t,e,n,i,r){const[o,s,a,h]=this._convertRect(t,e,n,i);return this.annotate(t,e,n,i,{...r,QuadPoints:[o,h,a,h,o,s,a,s],Contents:new String})},highlight(t,e,n,i,r){const o={...r,Subtype:"Highlight"};return null==o.color&&(o.color=[241,238,148]),this._markup(t,e,n,i,o)},underline(t,e,n,i,r){const o={...r,Subtype:"Underline"};return this._markup(t,e,n,i,o)},strike(t,e,n,i,r){const o={...r,Subtype:"StrikeOut"};return this._markup(t,e,n,i,o)},lineAnnotation(t,e,n,i,r){const o={...r,Subtype:"Line",Contents:new String,L:[t,this.page.height-e,n,this.page.height-i]};return this.annotate(t,e,n,i,o)},rectAnnotation(t,e,n,i,r){const o={...r,Subtype:"Square",Contents:new String};return this.annotate(t,e,n,i,o)},ellipseAnnotation(t,e,n,i,r){const o={...r,Subtype:"Circle",Contents:new String};return this.annotate(t,e,n,i,o)},textAnnotation(t,e,n,i,r,o){const s={...o,Subtype:"FreeText",Contents:new String(r),DA:new String};return this.annotate(t,e,n,i,s)},fileAnnotation(t,e,n,i,r,o){void 0===r&&(r={});const s=this.file(r.src,Object.assign({hidden:!0},r)),a={...o,Subtype:"FileAttachment",FS:s};return a.Contents?a.Contents=new String(a.Contents):s.data.Desc&&(a.Contents=new String(s.data.Desc)),this.annotate(t,e,n,i,a)},_convertRect(t,e,n,i){let r=e;e+=i;let o=t+n;const[s,a,h,l,c,u]=this._ctm;return o=s*o+h*r+c,r=a*o+l*r+u,[t=s*t+h*e+c,e=a*t+l*e+u,o,r]}};const bs={top:0,left:0,zoom:0,fit:!0,pageNumber:null,expanded:!1};class ws{constructor(t,e,n,i,r){if(void 0===r&&(r=bs),this.document=t,this.options=r,this.outlineData={},null!==i){const t=i.data.MediaBox[2],e=i.data.MediaBox[3]-(r.top||0),n=t-(r.left||0),o=r.zoom||0;this.outlineData.Dest=r.fit?[i,"Fit"]:[i,"XYZ",n,e,o]}null!==e&&(this.outlineData.Parent=e),null!==n&&(this.outlineData.Title=new String(n)),this.dictionary=this.document.ref(this.outlineData),this.children=[]}addItem(t,e){void 0===e&&(e=bs);const n=this.document._root.data.Pages.data.Kids,i=null!=e.pageNumber?n[e.pageNumber]:this.document.page.dictionary,r=new ws(this.document,this.dictionary,t,i,e);return this.children.push(r),r}endOutline(){if(this.children.length>0){this.options.expanded&&(this.outlineData.Count=this.children.length);const t=this.children[0],e=this.children[this.children.length-1];this.outlineData.First=t.dictionary,this.outlineData.Last=e.dictionary;for(let t=0,e=this.children.length;t<e;t++){const e=this.children[t];t>0&&(e.outlineData.Prev=this.children[t-1].dictionary),t<this.children.length-1&&(e.outlineData.Next=this.children[t+1].dictionary),e.endOutline()}}return this.dictionary.end()}}var _s={initOutline(){this.outline=new ws(this,null,null,null)},endOutline(){if(this.outline.endOutline(),this.outline.children.length>0)return this._root.data.Outlines=this.outline.dictionary,this._root.data.PageMode=this._root.data.PageMode||"UseOutlines"}};
vendor: 6,781 bytes, line 1
1class vs{constructor(t,e){this.refs=[{pageRef:t,mcid:e}]}push(t){t.refs.forEach(t=>this.refs.push(t))}}class Ss{constructor(t,e,n,i){void 0===n&&(n={}),void 0===i&&(i=null),this.document=t,this._attached=!1,this._ended=!1,this._flushed=!1,this.dictionary=t.ref({S:e});const r=this.dictionary.data;(Array.isArray(n)||this._isValidChild(n))&&(i=n,n={}),n.title&&(r.T=new String(n.title)),n.lang&&(r.Lang=new String(n.lang)),n.alt&&(r.Alt=new String(n.alt)),n.expanded&&(r.E=new String(n.expanded)),n.actual&&(r.ActualText=new String(n.actual));const o=Array.isArray(n.bbox)&&4===n.bbox.length,s="string"==typeof n.placement;if(o||s){const e={O:"Layout"};if(e.Placement=s?n.placement:"Block",o){const i=t.page.height;e.BBox=[n.bbox[0],i-n.bbox[3],n.bbox[2],i-n.bbox[1]]}r.A=e}n.scope&&(r.A={...r.A||{},O:"Table",Scope:n.scope}),this._children=[],i&&(Array.isArray(i)||(i=[i]),i.forEach(t=>this.add(t)),this.end())}add(t){if(this._ended)throw new Error("Cannot add child to already-ended structure element");if(!this._isValidChild(t))throw new Error("Invalid structure element child");return t instanceof Ss&&(t.setParent(this.dictionary),this._attached&&t.setAttached()),t instanceof vs&&this._addContentToParentTree(t),t instanceof ms&&this._addAnnotationToParentTree(t.annotationRef),"function"==typeof t&&this._attached&&(t=this._contentForClosure(t)),this._children.push(t),this}_addContentToParentTree(t){t.refs.forEach(t=>{let{pageRef:e,mcid:n}=t;this.document.getStructParentTree().get(e.data.StructParents)[n]=this.dictionary})}_addAnnotationToParentTree(t){const e=this.document.createStructParentTreeNextKey();t.data.StructParent=e;this.document.getStructParentTree().add(e,this.dictionary)}setParent(t){if(this.dictionary.data.P)throw new Error("Structure element added to more than one parent");this.dictionary.data.P=t,this._flush()}setAttached(){this._attached||(this._children.forEach((t,e)=>{t instanceof Ss&&t.setAttached(),"function"==typeof t&&(this._children[e]=this._contentForClosure(t))}),this._attached=!0,this._flush())}end(){this._ended||(this._children.filter(t=>t instanceof Ss).forEach(t=>t.end()),this._ended=!0,this._flush())}_isValidChild(t){return t instanceof Ss||t instanceof vs||t instanceof ms||"function"==typeof t}_contentForClosure(t){const e=this.document.markStructureContent(this.dictionary.data.S),n=this.document._currentStructureElement;this.document._currentStructureElement=this;const i=this._ended;return this._ended=!1,t(),this._ended=i,this.document._currentStructureElement=n,this.document.endMarkedContent(),this._addContentToParentTree(e),e}_isFlushable(){return!(!this.dictionary.data.P||!this._ended)&&this._children.every(t=>"function"!=typeof t&&(!(t instanceof Ss)||t._isFlushable()))}_flush(){!this._flushed&&this._isFlushable()&&(this.dictionary.data.K=[],this._children.forEach(t=>this._flushChild(t)),this.dictionary.end(),this._children=[],this.dictionary.data.K=null,this._flushed=!0)}_flushChild(t){if(t instanceof Ss&&this.dictionary.data.K.push(t.dictionary),t instanceof vs&&t.refs.forEach(t=>{let{pageRef:e,mcid:n}=t;this.dictionary.data.Pg||(this.dictionary.data.Pg=e),this.dictionary.data.Pg===e?this.dictionary.data.K.push(n):this.dictionary.data.K.push({Type:"MCR",Pg:e,MCID:n})}),t instanceof ms){const e=this.document.page.dictionary,n={Type:"OBJR",Obj:t.annotationRef,Pg:e};this.dictionary.data.K.push(n)}}}class Cs extends ur{_compareKeys(t,e){return parseInt(t)-parseInt(e)}_keysName(){return"Nums"}_dataForKey(t){return parseInt(t)}}var xs={initMarkings(t){this.structChildren=[],t.tagged&&(this.getMarkInfoDictionary().data.Marked=!0,this.getStructTreeRoot())},markContent(t,e){if(void 0===e&&(e=null),"Artifact"===t||e&&e.mcid){let t=0;for(this.page.markings.forEach(e=>{(t||e.structContent||"Artifact"===e.tag)&&t++});t--;)this.endMarkedContent()}if(!e)return this.page.markings.push({tag:t}),this.addContent(`/${t} BMC`),this;this.page.markings.push({tag:t,options:e});const n={};return void 0!==e.mcid&&(n.MCID=e.mcid),"Artifact"===t&&("string"==typeof e.type&&(n.Type=e.type),Array.isArray(e.bbox)&&(n.BBox=[e.bbox[0],this.page.height-e.bbox[3],e.bbox[2],this.page.height-e.bbox[1]]),Array.isArray(e.attached)&&e.attached.every(t=>"string"==typeof t)&&(n.Attached=e.attached)),"Span"===t&&(e.lang&&(n.Lang=new String(e.lang)),e.alt&&(n.Alt=new String(e.alt)),e.expanded&&(n.E=new String(e.expanded)),e.actual&&(n.ActualText=new String(e.actual))),this.addContent(`/${t} ${Sr.convert(n)} BDC`),this},markStructureContent(t,e){void 0===e&&(e={});const n=this.getStructParentTree().get(this.page.structParentTreeKey),i=n.length;n.push(null),this.markContent(t,{...e,mcid:i});const r=new vs(this.page.dictionary,i);return this.page.markings.slice(-1)[0].structContent=r,r},endMarkedContent(){return this.page.markings.pop(),this.addContent("EMC"),this._textOptions&&(delete this._textOptions.link,delete this._textOptions.goTo,delete this._textOptions.destination,delete this._textOptions.underline,delete this._textOptions.strike),this},struct(t,e,n){return void 0===e&&(e={}),void 0===n&&(n=null),new Ss(this,t,e,n)},addStructure(t){const e=this.getStructTreeRoot();return t.setParent(e),t.setAttached(),this.structChildren.push(t),e.data.K||(e.data.K=[]),e.data.K.push(t.dictionary),this},initPageMarkings(t){t.forEach(t=>{if(t.structContent){const e=t.structContent,n=this.markStructureContent(t.tag,t.options);e.push(n),this.page.markings.slice(-1)[0].structContent=e}else this.markContent(t.tag,t.options)})},endPageMarkings(t){const e=t.markings;return e.forEach(()=>t.write("EMC")),t.markings=[],e},getMarkInfoDictionary(){return this._root.data.MarkInfo||(this._root.data.MarkInfo=this.ref({})),this._root.data.MarkInfo},hasMarkInfoDictionary(){return!!this._root.data.MarkInfo},getStructTreeRoot(){return this._root.data.StructTreeRoot||(this._root.data.StructTreeRoot=this.ref({Type:"StructTreeRoot",ParentTree:new Cs,ParentTreeNextKey:0})),this._root.data.StructTreeRoot},getStructParentTree(){return this.getStructTreeRoot().data.ParentTree},createStructParentTreeNextKey(){this.getMarkInfoDictionary();const t=this.getStructTreeRoot(),e=t.data.ParentTreeNextKey++;return t.data.ParentTree.add(e,[]),e},endMarkings(){const t=this._root.data.StructTreeRoot;t&&(t.end(),this.structChildren.forEach(t=>t.end())),this._root.data.MarkInfo&&this._root.data.MarkInfo.end()}};const As={readOnly:1,required:2,noExport:4,multiline:4096,password:8192,toggleToOffButton:16384,radioButton:32768,pushButton:65536,combo:131072,edit:262144,sort:524288,multiSelect:2097152,noSpell:4194304},Ts={left:0,center:1,right:2},Es={value:"V",defaultValue:"DV"},ks={zip:"0",zipPlus4:"1",zip4:"1",phone:"2",ssn:"3"},Ps={nDec:0,sepComma:!1,negStyle:"MinusBlack",currency:"",currencyPrepend:!0},Rs={nDec:0,sepComma:!1};
1var Ms={initForm(){if(!this._font)throw new Error("Must set a font before calling initForm method");this._acroform={fonts:{},defaultFont:this._font.name},this._acroform.fonts[this._font.id]=this._font.ref();let t={Fields:[],NeedAppearances:!0,DA:new String(`/${this._font.id} 0 Tf 0 g`),DR:{Font:{}}};t.DR.Font[this._font.id]=this._font.ref();const e=this.ref(t);return this._root.data.AcroForm=e,this},endAcroForm(){if(this._root.data.AcroForm){if(!Object.keys(this._acroform.fonts).length&&!this._acroform.defaultFont)throw new Error("No fonts specified for PDF form");let t=this._root.data.AcroForm.data.DR.Font;Object.keys(this._acroform.fonts).forEach(e=>{t[e]=this._acroform.fonts[e]}),this._root.data.AcroForm.data.Fields.forEach(t=>{this._endChild(t)}),this._root.data.AcroForm.end()}return this},_endChild(t){return Array.isArray(t.data.Kids)&&(t.data.Kids.forEach(t=>{this._endChild(t)}),t.end()),this},formField(t,e){void 0===e&&(e={});let n=this._fieldDict(t,null,e),i=this.ref(n);return this._addToParent(i),i},formAnnotation(t,e,n,i,r,o,s){void 0===s&&(s={});let a=this._fieldDict(t,e,s);a.Subtype="Widget",void 0===a.F&&(a.F=4),this.annotate(n,i,r,o,a);let h=this.page.annotations[this.page.annotations.length-1];return this._addToParent(h)},formText(t,e,n,i,r,o){return void 0===o&&(o={}),this.formAnnotation(t,"text",e,n,i,r,o)},formPushButton(t,e,n,i,r,o){return void 0===o&&(o={}),this.formAnnotation(t,"pushButton",e,n,i,r,o)},formCombo(t,e,n,i,r,o){return void 0===o&&(o={}),this.formAnnotation(t,"combo",e,n,i,r,o)},formList(t,e,n,i,r,o){return void 0===o&&(o={}),this.formAnnotation(t,"list",e,n,i,r,o)},formRadioButton(t,e,n,i,r,o){return void 0===o&&(o={}),this.formAnnotation(t,"radioButton",e,n,i,r,o)},formCheckbox(t,e,n,i,r,o){return void 0===o&&(o={}),this.formAnnotation(t,"checkbox",e,n,i,r,o)},_addToParent(t){let e=t.data.Parent;return e?(e.data.Kids||(e.data.Kids=[]),e.data.Kids.push(t)):this._root.data.AcroForm.data.Fields.push(t),this},_fieldDict(t,e,n){if(void 0===n&&(n={}),!this._acroform)throw new Error("Call document.initForm() method before adding form elements to document");const i={};return function(t,e,n){var i;let r=null!==(i=e.Ff)&&void 0!==i?i:0;if("text"===t)n.FT="Tx";else if("pushButton"===t)n.FT="Btn",r|=As.pushButton;else if("radioButton"===t)n.FT="Btn",r|=As.radioButton;else if("checkbox"===t)n.FT="Btn";else if("combo"===t)n.FT="Ch",r|=As.combo;else if("list"===t)n.FT="Ch";else if(t)throw new Error(`Invalid form annotation type '${t}'`);Object.keys(e).forEach(t=>{As[t]&&e[t]&&(r|=As[t])}),0!==r&&(n.Ff=r)}(e,n,i),function(t,e){const n=Ts[t.align];"number"==typeof n&&0!==n&&(e.Q=n)}(n,i),this._mapFont(n,i),function(t,e){var n,i;Array.isArray(t.select)&&t.select.length&&(e.Opt=t.select.map(t=>"string"==typeof t?new String(t):t)),Object.keys(Es).forEach(n=>{if(n in t){var i;const r=null!==(i=t[n])&&void 0!==i?i:"";e[Es[n]]="string"==typeof r?new String(r):r}}),null!==(n=t.MK)&&void 0!==n&&n.CA&&(e.MK={CA:new String(t.MK.CA)}),t.label&&(e.MK=null!==(i=t.MK)&&void 0!==i?i:{},e.MK.CA=new String(t.label))}(n,i),this._mapColors(n,i),function(t,e){const n=t.format;if(null!=n&&n.type){var i;let r,o,s="";if(void 0!==ks[n.type])r="AFSpecial_Keystroke",o="AFSpecial_Format",s=ks[n.type];else{let t=n.type.charAt(0).toUpperCase()+n.type.slice(1);if(r=`AF${t}_Keystroke`,o=`AF${t}_Format`,"date"===n.type)r+="Ex",s=String(n.param);else if("time"===n.type)s=String(n.param);else if("number"===n.type){let t=Object.assign({},Ps,n);s=String([String(t.nDec),t.sepComma?"0":"1",'"'+t.negStyle+'"',"null",'"'+t.currency+'"',String(t.currencyPrepend)].join(","))}else if("percent"===n.type){let t=Object.assign({},Rs,n);s=String([String(t.nDec),t.sepComma?"0":"1"].join(","))}}e.AA=null!==(i=t.AA)&&void 0!==i?i:{},e.AA.K={S:"JavaScript",JS:new String(`${r}(${s});`)},e.AA.F={S:"JavaScript",JS:new String(`${o}(${s});`)}}}(n,i),i.T=new String(t),n.parent&&(i.Parent=n.parent),i},_mapColors(t,e){let n=this._normalizeColor(t.backgroundColor);n&&(e.MK=e.MK?e.MK:{},e.MK.BG=n),n=this._normalizeColor(t.borderColor),n&&(e.MK||(e.MK={}),e.MK.BC=n)},_mapFont(t,e){const{_acroform:n,_font:i}=this;if(null==n.fonts[i.id]&&(n.fonts[i.id]=i.ref()),n.defaultFont!==i.name){e.DR={Font:{}};const n=t.fontSize||0;e.DR.Font[i.id]=i.ref(),e.DA=new String(`/${i.id} ${n} Tf 0 g`)}}},Os={file(t,e){void 0===e&&(e={}),e.name=e.name||t,e.relationship=e.relationship||"Unspecified";const n={Type:"EmbeddedFile",Params:{}};let i;if(!t)throw new Error("No src specified");if(t instanceof Uint8Array)i=t;else if(t instanceof ArrayBuffer)i=new Uint8Array(t);else{const e=/^data:(.*?);base64,(.*)$/.exec(t);if(e)e[1]&&(n.Subtype=vr(e[1])),i=gr(e[2]);else{if(i=ls.readFileSync(t),!i)throw new Error(`Could not read contents of file at filepath ${t}`);const{birthtime:e,ctime:r}
1=ls.statSync(t);n.Params.CreationDate=e,n.Params.ModDate=r}}e.creationDate instanceof Date&&(n.Params.CreationDate=e.creationDate),e.modifiedDate instanceof Date&&(n.Params.ModDate=e.modifiedDate),e.type&&(n.Subtype=vr(e.type));const o=function(t){return r(t)}(new Uint8Array(i));let s;n.Params.CheckSum=new String(o),n.Params.Size=i.byteLength,this._fileRegistry||(this._fileRegistry={});let a=this._fileRegistry[e.name];var h,l;a&&(l=a,(h=n).Subtype===l.Subtype&&h.Params.CheckSum.toString()===l.Params.CheckSum.toString()&&h.Params.Size===l.Params.Size&&h.Params.CreationDate.getTime()===l.Params.CreationDate.getTime()&&(void 0===h.Params.ModDate&&void 0===l.Params.ModDate||h.Params.ModDate.getTime()===l.Params.ModDate.getTime()))?s=a.ref:(s=this.ref(n),s.end(i),this._fileRegistry[e.name]={...n,ref:s});const c={Type:"Filespec",AFRelationship:e.relationship,F:new String(e.name),EF:{F:s},UF:new String(e.name)};e.description&&(c.Desc=new String(e.description));const u=this.ref(c);return u.end(),e.hidden||this.addNamedEmbeddedFile(e.name,u),this._root.data.AF?this._root.data.AF.push(u):this._root.data.AF=[u],u}};var Ds={initPDFA(t){"-"===t.charAt(t.length-3)?(this.subset_conformance=t.charAt(t.length-1).toUpperCase(),this.subset=parseInt(t.charAt(t.length-2))):(this.subset_conformance="B",this.subset=parseInt(t.charAt(t.length-1)))},endSubset(){this._addPdfaMetadata(),this._addColorOutputIntent()},_addColorOutputIntent(){const t=ls.readFileSync("/home/runner/work/react-pdf/react-pdf/packages/pdfkit/src/mixins/data/sRGB_IEC61966_2_1.icc"),e=this.ref({Length:t.length,N:3});e.write(t),e.end();const n=this.ref({Type:"OutputIntent",S:"GTS_PDFA1",Info:new String("sRGB IEC61966-2.1"),OutputConditionIdentifier:new String("sRGB IEC61966-2.1"),DestOutputProfile:e});n.end(),this._root.data.OutputIntents=[n]},_getPdfaid(){return`\n        <rdf:Description xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/" rdf:about="">\n            <pdfaid:part>${this.subset}</pdfaid:part>\n            <pdfaid:conformance>${this.subset_conformance}</pdfaid:conformance>\n        </rdf:Description>\n        `},_addPdfaMetadata(){this.appendXML(this._getPdfaid())}},Ls={initPDFUA(){this.subset=1},endSubset(){this._addPdfuaMetadata()},_addPdfuaMetadata(){this.appendXML(this._getPdfuaid())},_getPdfuaid(){return`\n        <rdf:Description xmlns:pdfuaid="http://www.aiim.org/pdfua/ns/id/" rdf:about="">\n            <pdfuaid:part>${this.subset}</pdfuaid:part>\n        </rdf:Description>\n        `}},Fs={_importSubset(t){Object.assign(this,t)},initSubset(t){switch(t.subset){case"PDF/A-1":case"PDF/A-1a":case"PDF/A-1b":case"PDF/A-2":case"PDF/A-2a":case"PDF/A-2b":case"PDF/A-3":case"PDF/A-3a":case"PDF/A-3b":this._importSubset(Ds),this.initPDFA(t.subset);break;case"PDF/UA":this._importSubset(Ls),this.initPDFUA()}}};const Bs=["height","minHeight","maxHeight"],Is=["width","minWidth","maxWidth"];function js(t,e){const n=new Map;return function(){const i=arguments.length<=0?void 0:arguments[0];return n.has(i)||(n.set(i,t(...arguments)),n.size>e&&n.delete(n.keys().next())),n.get(i)}}function Us(t){return t&&"object"==typeof t&&!Array.isArray(t)}function zs(t){if(!Us(t))return t;t=$s(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];for(const e of n)if(Us(e))for(const n in e)Us(e[n])?(n in t||(t[n]={}),t[n]=zs(t[n],e[n])):void 0!==e[n]&&(t[n]=$s(e[n]));return t}function $s(t){let e=t;if(t&&"object"==typeof t){e=Array.isArray(t)?[]:{};for(const n in t)e[n]=$s(t[n])}return e}function Ws(t,e,n){let i=e(n);null!=i&&"object"==typeof i||(i={height:i}),i.padding=kr(i.padding),i.border=kr(i.border),i.borderColor=kr(i.borderColor),i.align=Hs(i.align),i=zs(t,i);const r=this.document,o=r.page,s=o.contentHeight;return null==i.height||"auto"===i.height?i.height="auto":i.height=r.sizeToPoint(i.height,0,o,s),i.minHeight=r.sizeToPoint(i.minHeight,0,o,s),i.maxHeight=r.sizeToPoint(i.maxHeight,0,o,s),i}function Ns(t,e,n){let i=e(n);return null!=i&&"object"==typeof i||(i={width:i}),i.padding=kr(i.padding),i.border=kr(i.border),i.borderColor=kr(i.borderColor),i.align=Hs(i.align),i=zs(t,i),null==i.width||"*"===i.width?i.width="*":i.width=this.document.sizeToPoint(i.width,0,this.document.page,this._maxWidth),i.minWidth=this.document.sizeToPoint(i.minWidth,0,this.document.page,this._maxWidth),i.maxWidth=this.document.sizeToPoint(i.maxWidth,0,this.document.page,this._maxWidth),i}function Hs(t){return null==t||"string"==typeof t?{x:t,y:t}:t}function Ys(){var t,e,n;const i=this.document,r=this.opts;let o=i._tableIndex++;this._id=new String(null!==(t=r.id)&&void 0!==t?t:`table-${o}`),this._position={x:i.sizeToPoint(null===(e=r.position)||void 0===e?void 0:e.x,i.x),y:i.sizeToPoint(null===(n=r.position)||void 0===n?void 0:n.y,i.y)},this._maxWidth=i.sizeToPoint(r.maxWidth,i.page.width-i.page.margins.right-this._position.x);const{defaultStyle:s,defaultColStyle:a,defaultRowStyle:h}=function(t){let e=t;"object"!=typeof e&&(e={text:e});const n=Object.fromEntries(Object.entries(e).filter(t=>{let[e]=t;return Bs.includes(e)})),i=Object.fromEntries(Object.entries(e).filter(t=>{let[e]=t;return Is.includes(e)}));return e.padding=kr(e.padding),e.border=kr(e.border),e.borderColor=kr(e.borderColor),e.align=Hs(e.align),{defaultStyle:e,defaultRowStyle:n,defaultColStyle:i}}(r.defaultStyle);let l,c;this._defaultStyle=s,r.columnStyles&&(Array.isArray(r.columnStyles)?l=t=>r.columnStyles[t]:"function"==typeof r.columnStyles?l=js(t=>r.columnStyles(t),1/0):"object"==typeof r.columnStyles&&(l=()=>r.columnStyles)),l||(l=()=>({})),this._colStyle=Ns.bind(this,a,l),r.rowStyles&&(Array.isArray(r.rowStyles)?c=t=>r.rowStyles[t]:"function"==typeof r.rowStyles?c=js(t=>r.rowStyles(t),10):"object"==typeof r.rowStyles&&(c=()=>
1r.rowStyles)),c||(c=()=>({})),this._rowStyle=Ws.bind(this,h,c)}function Gs(t,e,n){var i,r,o,s,a,h,l,c,u;const d=this._colStyle(n);let f=this._rowStyle(e);const p=zs({},d.font,f.font,t.font),g=Object.values(p).filter(t=>null!=t).length>0,m=this.document,y=m._fontSource,b=m._fontSize,w=m._fontFamily;g&&(p.src&&m.font(p.src,p.family),p.size&&m.fontSize(p.size),f=this._rowStyle(e)),t.padding=kr(t.padding),t.border=kr(t.border),t.borderColor=kr(t.borderColor);const _=zs(this._defaultStyle,d,f,t);var v;return _.rowIndex=e,_.colIndex=n,_.font=null!=p?p:{},_.customFont=g,_.text=(null!=(v=_.text)&&(v=`${v}`),v),_.rowSpan=null!==(i=_.rowSpan)&&void 0!==i?i:1,_.colSpan=null!==(r=_.colSpan)&&void 0!==r?r:1,_.padding=kr(_.padding,"0.25em",t=>m.sizeToPoint(t,"0.25em")),_.border=kr(_.border,1,t=>m.sizeToPoint(t,1)),_.borderColor=kr(_.borderColor,"black",t=>null!=t?t:"black"),_.align=Hs(_.align),_.align.x=null!==(o=_.align.x)&&void 0!==o?o:"left",_.align.y=null!==(s=_.align.y)&&void 0!==s?s:"top",_.textStroke=m.sizeToPoint(_.textStroke,0),_.textStrokeColor=null!==(a=_.textStrokeColor)&&void 0!==a?a:"black",_.textColor=null!==(h=_.textColor)&&void 0!==h?h:"black",_.textOptions=null!==(l=_.textOptions)&&void 0!==l?l:{},_.id=new String(null!==(c=_.id)&&void 0!==c?c:`${this._id}-${e}-${n}`),_.type="TH"===(null===(u=_.type)||void 0===u?void 0:u.toUpperCase())?"TH":"TD",_.scope&&(_.scope=_.scope.toLowerCase(),"row"===_.scope?_.scope="Row":"both"===_.scope?_.scope="Both":"column"===_.scope&&(_.scope="Column")),"boolean"==typeof this.opts.debug&&(_.debug=this.opts.debug),g&&m.font(y,w,b),_}function qs(t,e){this._cellClaim||(this._cellClaim=new Set);let n=0;return t.map(t=>{for(null!=t&&"object"==typeof t||(t={text:t});this._cellClaim.has(`${e},${n}`);)n++;t=Gs.call(this,t,e,n);for(let i=0;i<t.rowSpan;i++)for(let r=0;r<t.colSpan;r++)this._cellClaim.add(`${e+i},${n+r}`);return n+=t.colSpan,t})}function Ks(t){this._columnWidths=[],Xs.call(this,t.reduce((t,e)=>t+e.colSpan,0)),this._rowHeights=[],this._rowYPos=[this._position.y],this._rowBuffer=new Set}function Xs(t){let e=[],n=0,i=this._maxWidth;for(let r=0;r<t;r++){let t=this._colStyle(r);"*"===t.width?(e[r]=t,n+=t.minWidth):(i-=t.width,this._columnWidths[r]=t.width)}let r=e.reduce(t=>t+1,0);n>=i?e.forEach((t,e)=>{this._columnWidths[e]=t.minWidth}):r>0&&e.forEach((t,e)=>{let n=i/r;this._columnWidths[e]=Math.max(n,t.minWidth),t.maxWidth>0&&(this._columnWidths[e]=Math.min(this._columnWidths[e],t.maxWidth)),i-=this._columnWidths[e],r--});let o=this._position.x;this._columnXPos=Array.from(this._columnWidths,t=>{const e=o;return o+=t,e})}function Vs(t,e){t.forEach(t=>this._rowBuffer.add(t)),e>0&&(this._rowYPos[e]=this._rowYPos[e-1]+this._rowHeights[e-1]);const n=this._rowStyle(e);let i=[];this._rowBuffer.forEach(t=>{t.rowIndex+t.rowSpan-1===e&&(i.push(Js.call(this,t,n.height)),this._rowBuffer.delete(t))});let r=n.height;"auto"===r&&(r=i.reduce((t,e)=>{let n=e.textBounds.height+e.padding.top+e.padding.bottom;for(let t=0;t<e.rowSpan-1;t++)n-=this._rowHeights[e.rowIndex+t];return Math.max(t,n)},0)),r=Math.max(r,n.minHeight),n.maxHeight>0&&(r=Math.min(r,n.maxHeight)),this._rowHeights[e]=r;let o=!1;return r>this.document.page.contentHeight?this._rowHeights[e]=this.document.page.maxY()-this._rowYPos[e]:this._rowYPos[e]+r>=this.document.page.maxY()&&(this._rowYPos[e]=this.document.page.margins.top,o=!0),{newPage:o,toRender:i.map(t=>Js.call(this,t,r))}}function Js(t,e){var n;let i=0;for(let e=0;e<t.colSpan;e++)i+=this._columnWidths[t.colIndex+e];let r=e;if("auto"===r)r=this.document.page.contentHeight;else for(let e=0;e<t.rowSpan-1;e++)r+=this._rowHeights[t.rowIndex+e];const o=i-t.padding.left-t.padding.right,s=r-t.padding.top-t.padding.bottom,a=null!==(n=t.textOptions.rotation)&&void 0!==n?n:0,{width:h,height:l}=function(t,e,n){let i,r;const o=Rr(t),s=Mr(t);0===t||180===t?(i=e,r=n):90===t||270===t?(i=n,r=e):t<90||t>180&&t<270?(i=e/(2*o),r=e/(2*s)):(r=e/(2*o),i=e/(2*s));const a=s*i,h=o*r;if(a+h>n){const a=o*o-s*s;0===t||180===t?(i=e,r=n):90===t||270===t?(i=n,r=e):t<90||t>180&&t<270?(i=(e*o-n*s)/a,r=(n*o-e*s)/a):(r=(e*o-n*s)/a,i=(n*o-e*s)/a)}return{width:Math.abs(i),height:Math.abs(r)}}(a,o,s),c={align:t.align.x,ellipsis:!0,stroke:t.textStroke>0,fill:!0,width:h,height:l,rotation:a,...t.textOptions};let u={x:0,y:0,width:0,height:0};if(t.text){var d,f,p;const e=this.document._fontSource,n=this.document._fontSize,i=this.document._fontFamily;null!==(d=t.font)&&void 0!==d&&d.src&&this.document.font(t.font.src,null===(f=t.font)||void 0===f?void 0:f.fam
vendor: 4,140 bytes, line 1
1ily),null!==(p=t.font)&&void 0!==p&&p.size&&this.document.fontSize(t.font.size);const r=this.document.boundsOfString(t.text,0,0,{...c,rotation:0});c.width=r.width,c.height=r.height,u=this.document.boundsOfString(t.text,0,0,c),this.document.font(e,i,n)}return{...t,textOptions:c,x:this._columnXPos[t.colIndex],y:this._rowYPos[t.rowIndex],textX:this._columnXPos[t.colIndex]+t.padding.left,textY:this._rowYPos[t.rowIndex]+t.padding.top,width:i,height:r,textAllocatedHeight:s,textAllocatedWidth:o,textBounds:u}}function Zs(){const t=this.opts.structParent;t&&(this._tableStruct=this.document.struct("Table"),this._tableStruct.dictionary.data.ID=this._id,t instanceof Ss?t.add(this._tableStruct):t instanceof ca&&t.addStructure(this._tableStruct),this._headerRowLookup={},this._headerColumnLookup={})}function Qs(){this._tableStruct&&this._tableStruct.end()}function ta(t,e,n){const i=this.document.struct("TR");i.dictionary.data.ID=new String(`${this._id}-${e}`),this._tableStruct.add(i),t.forEach(t=>n(t,i)),i.end()}function ea(t,e,n){const i=this.document,r=i.struct(t.type,{title:t.title});r.dictionary.data.ID=t.id,e.add(r);const o=t.padding,s=t.border,a={O:"Table",Width:t.width,Height:t.height,Padding:[o.top,o.bottom,o.left,o.right],RowSpan:t.rowSpan>1?t.rowSpan:void 0,ColSpan:t.colSpan>1?t.colSpan:void 0,BorderThickness:[s.top,s.bottom,s.left,s.right]};if("TH"===t.type){if("Row"===t.scope||"Both"===t.scope){for(let e=0;e<t.rowSpan;e++)this._headerRowLookup[t.rowIndex+e]||(this._headerRowLookup[t.rowIndex+e]=[]),this._headerRowLookup[t.rowIndex+e].push(t.id);a.Scope=t.scope}if("Column"===t.scope||"Both"===t.scope){for(let e=0;e<t.colSpan;e++)this._headerColumnLookup[t.colIndex+e]||(this._headerColumnLookup[t.colIndex+e]=[]),this._headerColumnLookup[t.colIndex+e].push(t.id);a.Scope=t.scope}}const h=new Set([...Array.from({length:t.colSpan},(e,n)=>this._headerColumnLookup[t.colIndex+n]).flat(),...Array.from({length:t.rowSpan},(e,n)=>this._headerRowLookup[t.rowIndex+n]).flat()].filter(Boolean));h.size&&(a.Headers=Array.from(h));const l=i._normalizeColor;null!=t.backgroundColor&&(a.BackgroundColor=l(t.backgroundColor));const c=[s.top,s.bottom,s.left,s.right];if(c.some(t=>t)){const e=t.borderColor;a.BorderColor=[c[0]?l(e.top):null,c[1]?l(e.bottom):null,c[2]?l(e.left):null,c[3]?l(e.right):null]}Object.keys(a).forEach(t=>void 0===a[t]&&delete a[t]),r.dictionary.data.A=i.ref(a),r.add(n),r.end(),r.dictionary.data.A.end()}function na(t,e){return this._tableStruct?ta.call(this,t,e,ia.bind(this)):t.forEach(t=>ia.call(this,t)),this._rowYPos[e]+this._rowHeights[e]}function ia(t,e){const n=()=>{null!=t.backgroundColor&&this.document.save().fillColor(t.backgroundColor).rect(t.x,t.y,t.width,t.height).fill().restore(),oa.call(this,t.border,t.borderColor,t.x,t.y,t.width,t.height),t.debug&&(this.document.save(),this.document.dash(1,{space:1}).lineWidth(1).strokeOpacity(.3),this.document.rect(t.x,t.y,t.width,t.height).stroke("green"),this.document.restore()),t.text&&ra.call(this,t)};e?ea.call(this,t,e,n):n()}function ra(t){const e=this.document,n=e._fontSource,i=e._fontSize,r=e._fontFamily;t.customFont&&(t.font.src&&e.font(t.font.src,t.font.family),t.font.size&&e.fontSize(t.font.size));const o=t.textX,s=t.textY,a=t.textAllocatedHeight,h=t.textAllocatedWidth,l=t.textBounds.width,c=t.textBounds.height,u=-t.textBounds.x,d=-t.textBounds.y,f=(h-l)*("right"===t.align.x?1:"center"===t.align.x?.5:0),p=(a-c)*("bottom"===t.align.y?1:"center"===t.align.y?.5:0),g=f+u,m=p+d;t.debug&&(e.save(),e.dash(1,{space:1}).lineWidth(1).strokeOpacity(.3),t.text&&e.moveTo(o+f,s).lineTo(o+f,s+a).moveTo(o+f+l,s).lineTo(o+f+l,s+a).stroke("blue").moveTo(o,s+p).lineTo(o+h,s+p).moveTo(o,s+p+c).lineTo(o+h,s+p+c).stroke("green"),e.rect(o,s,h,a).stroke("orange"),e.restore()),e.save().rect(o,s,h,a).clip(),e.fillColor(t.textColor).strokeColor(t.textStrokeColor),t.textStroke>0&&e.lineWidth(t.textStroke),e.text(t.text,o+g,s+m,t.textOptions),e.restore(),t.font&&e.font(n,r,i)}function oa(t,e,n,i,r,o,s){t=Object.fromEntries(Object.entries(t).map(t=>{let[e,n]=t;return[e,s&&!s[e]?0:n]}));const a=this.document;[t.right,t.bottom,t.left].every(e=>
1e===t.top)?t.top>0&&a.save().lineWidth(t.top).strokeColor(e.top).rect(n,i,r,o).stroke().restore():(t.top>0&&a.save().lineWidth(t.top).moveTo(n,i).strokeColor(e.top).lineTo(n+r,i).stroke().restore(),t.right>0&&a.save().lineWidth(t.right).moveTo(n+r,i).strokeColor(e.right).lineTo(n+r,i+o).stroke().restore(),t.bottom>0&&a.save().lineWidth(t.bottom).moveTo(n+r,i+o).strokeColor(e.bottom).lineTo(n,i+o).stroke().restore(),t.left>0&&a.save().lineWidth(t.left).moveTo(n,i+o).strokeColor(e.left).lineTo(n,i).stroke().restore())}class sa{constructor(t,e){if(void 0===e&&(e={}),this.document=t,this.opts=Object.freeze(e),Ys.call(this),Zs.call(this),this._currRowIndex=0,this._ended=!1,e.data){for(const t of e.data)this.row(t);return this.end()}}row(t,e){if(void 0===e&&(e=!1),this._ended)throw new Error(`Table was marked as ended on row ${this._currRowIndex}`);t=Array.from(t),t=qs.call(this,t,this._currRowIndex),0===this._currRowIndex&&Ks.call(this,t);const{newPage:n,toRender:i}=Vs.call(this,t,this._currRowIndex);n&&this.document.continueOnNewPage();const r=na.call(this,i,this._currRowIndex);return this.document.x=this._position.x,this.document.y=r,e?this.end():(this._currRowIndex++,this)}end(){for(;null!==(t=this._rowBuffer)&&void 0!==t&&t.size;){var t;this.row([])}return this._ended=!0,Qs.call(this),this.document}}var aa={initTables(){this._tableIndex=0},table(t){return new sa(this,t)}};class ha{constructor(){this._metadata='\n        <?xpacket begin="\ufeff" id="W5M0MpCehiHzreSzNTczkc9d"?>\n            <x:xmpmeta xmlns:x="adobe:ns:meta/">\n                <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n        '}_closeTags(){this._metadata=this._metadata.concat('\n                </rdf:RDF>\n            </x:xmpmeta>\n        <?xpacket end="w"?>\n        ')}append(t,e){void 0===e&&(e=!0),this._metadata=this._metadata.concat(t),e&&(this._metadata=this._metadata.concat("\n"))}getXML(){return this._metadata}getLength(){return this._metadata.length}end(){this._closeTags(),this._metadata=this._metadata.trim()}}var la={initMetadata(){this.metadata=new ha},appendXML(t,e){void 0===e&&(e=!0),this.metadata.append(t,e)},_addInfo(){this.appendXML(`\n        <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/">\n            <xmp:CreateDate>${this.info.CreationDate.toISOString().split(".")[0]+"Z"}</xmp:CreateDate>\n            <xmp:CreatorTool>${this.info.Creator}</xmp:CreatorTool>\n        </rdf:Description>\n        `),(this.info.Title||this.info.Author||this.info.Subject)&&(this.appendXML('\n            <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">\n            '),this.info.Title&&this.appendXML(`\n                <dc:title>\n                    <rdf:Alt>\n                        <rdf:li xml:lang="x-default">${this.info.Title}</rdf:li>\n                    </rdf:Alt>\n                </dc:title>\n                `),this.info.Author&&this.appendXML(`\n                <dc:creator>\n                    <rdf:Seq>\n                        <rdf:li>${this.info.Author}</rdf:li>\n                    </rdf:Seq>\n                </dc:creator>\n                `),this.info.Subject&&this.appendXML(`\n                <dc:description>\n                    <rdf:Alt>\n                        <rdf:li xml:lang="x-default">${this.info.Subject}</rdf:li>\n                    </rdf:Alt>\n                </dc:description>\n                `),this.appendXML("\n            </rdf:Description>\n            ")),this.appendXML(`\n        <rdf:Description rdf:about="" xmlns:pdf="http://ns.adobe.com/pdf/1.3/">\n            <pdf:Producer>${this.info.Producer}</pdf:Producer>`,!1),this.info.Keywords&&this.appendXML(`\n            <pdf:Keywords>${this.info.Keywords}</pdf:Keywords>`,!1),this.appendXML("\n        </rdf:Description>\n        ")},endMetadata(){this._addInfo(),this.metadata.end(),1.3!=this.version&&(this.metadataRef=this.ref({length:this.metadata.getLength(),Type:"Metadata",Subtype:"XML"}),this.metadataRef.compress=!1,this.metadataRef.write((new TextEncoder).encode(this.metadata.getXML())),this.metadataRef.end(),this._root.data.Metadata=this.metadataRef)}};class ca extends Zi.Readable{constructor(t){switch(void 0===t&&(t={}),super(t),this.options=t,t.pdfVersion){case"1.4":this.version=1.4;break;case"1.5":this.version=1.5;break;case"1.6":this.version=1.6;break;case"1.7":case"1.7ext3":this.version=1.7;break;default:this.version=1.3}this.compress=null==this.options.compress||this.options.compress,this._pageBuffer=[],this._pageBufferStart=0,this._offsets=[],this._waiting=0,this._ended=!1,this._offset=0;const e=this.ref({Type:"Pages",Count:0,Kids:[]}),n=this.ref({Dests:new Fr});if(this._root=this.ref({Type:"Catalog",Pages:e,Names:n}),this.options.lang&&(this._root.data.Lang=new String(this.options.lang)),this.options.pageLayout){const t=this.options.pageLayout;this._root.data.PageLayout=t.charAt(0).toUpperCase()+t.slice(1)}if(this.page=null,this.initMetadata(),this.initColor(),this.initVector(),this.initFonts(t.font),this.initText(),this.initImages(),this.initOutline(),this.initMarkings(t),this.initTables(),this.initSubset(t),this.info={Producer:"PDFKit",Creator:"PDFKit",CreationDate:new Date},this.options.info)for(let t in this.options.info){const e=this.options.info[t];this.info[t]=e}this.options.displayTitle&&(this._root.data.ViewerPreferences=this.ref({DisplayDocTitle:!0})),this._id=uo.generateFileID(this.info),this._security=uo.create(this,t),this._write(`%PDF-${this.version}`),this._write("%ÿÿÿÿ"),!1!==this.options.autoFirstPage&&this.addPage()}addPage(t){const e=this.options;e.bufferPages||this.flushPages();const n=null==t?void 0:t.font;n&&this.font(n,t.fontFamily);const i=null==t?void 0:t.fontSize;i&&this.fontSize(i),this.page=new Lr(this,t||e),this._pageBuffer.push(this.page);const r=this._root.data.Pages.data;return r.Kids.push(this.page.dictionary),r.Count++,this.x=this.page.margins.left,this.y=this.page.margins.top,this._ctm=[1,0,0,1,0,0],this.transform(1,0,0,-1,0,this.page.height),this.emit
vendor: 2,988 bytes, lines 1-2
1("pageAdded"),this}continueOnNewPage(t){const e=this.endPageMarkings(this.page);return this.addPage(null!=t?t:this.page._options),this.initPageMarkings(e),this}bufferedPageRange(){return{start:this._pageBufferStart,count:this._pageBuffer.length}}switchToPage(t){let e;if(!(e=this._pageBuffer[t-this._pageBufferStart]))throw new Error(`switchToPage(${t}) out of bounds, current buffer covers pages ${this._pageBufferStart} to ${this._pageBufferStart+this._pageBuffer.length-1}`);return this.page=e}flushPages(){const t=this._pageBuffer;this._pageBuffer=[],this._pageBufferStart+=t.length;for(let e of t)this.endPageMarkings(e),e.end()}addNamedDestination(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];0===n.length&&(n=["XYZ",null,null,null]),"XYZ"===n[0]&&null!==n[2]&&(n[2]=this.page.height-n[2]),n.unshift(this.page.dictionary),this._root.data.Names.data.Dests.add(t,n)}addNamedEmbeddedFile(t,e){this._root.data.Names.data.EmbeddedFiles||(this._root.data.Names.data.EmbeddedFiles=new Fr({limits:!1})),this._root.data.Names.data.EmbeddedFiles.add(t,e)}addNamedJavaScript(t,e){this._root.data.Names.data.JavaScript||(this._root.data.Names.data.JavaScript=new Fr);let n={JS:new String(e),S:"JavaScript"};this._root.data.Names.data.JavaScript.add(t,n)}ref(t){const e=new xr(this,this._offsets.length+1,t);return this._offsets.push(null),this._waiting++,e}_read(){}_write(t){t instanceof Uint8Array||(t=pr(t+"\n")),this.push(t),this._offset+=t.length}addContent(t){return this.page.write(t),this}_refEnd(t){this._offsets[t.id-1]=t.offset,0===--this._waiting&&this._ended&&(this._finalize(),this._ended=!1)}end(){this.flushPages(),this._info=this.ref();for(let t in this.info){let e=this.info[t];"string"==typeof e&&(e=new String(e));let n=this.ref(e);n.end(),this._info.data[t]=n}this._info.end();for(let t in this._fontFamilies){this._fontFamilies[t].finalize()}this.endOutline(),this.endMarkings(),this.subset&&this.endSubset(),this.endMetadata(),this._root.end(),this._root.data.Pages.end(),this._root.data.Names.end(),this.endAcroForm(),this._root.data.ViewerPreferences&&this._root.data.ViewerPreferences.end(),this._security&&this._security.end(),0===this._waiting?this._finalize():this._ended=!0}_finalize(){const t=this._offset;this._write("xref"),this._write(`0 ${this._offsets.length+1}`),this._write("0000000000 65535 f ");for(let t of this._offsets)t=`0000000000${t}`.slice(-10),this._write(t+" 00000 n ");const e={Size:this._offsets.length+1,Root:this._root,Info:this._info,ID:[this._id,this._id]};this._security&&(e.Encrypt=this._security.dictionary),this._write("trailer"),this._write(Sr.convert(e)),this._write("startxref"),this._write(`${t}`),this._write("%%EOF"),this.push(null)}toString(){return"[object PDFDocument]"}}const ua=t=>{Object.assign(ca.prototype,t)};ua(la),ua(To),ua(Go),ua(os),ua(hs),ua(gs),ua(ys),ua(_s),ua(xs),ua(Ms),ua(Os),ua(Fs),ua(aa),ca.LineWrapper=ss}}]);
2//# sourceMappingURL=48c79778-28797fe7618f8026054a.js.map

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.