Files
equalityrecord_frontend_client/dist/assets/@react-pdf/renderer-e56aa971.js
T

226 lines
1.3 MiB
JavaScript
Raw Normal View History

2025-04-04 07:29:59 +01:00
import{c as DB,g as f0,d as Ei,R as QB,r as xs}from"../vendor-8efd6c0a.js";import{j as xB}from"../@radix-ui/react-progress-3f5a2119.js";function _B(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}function FB(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function TA(t){"@babel/helpers - typeof";return TA=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},TA(t)}function o3(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function SB(t,e){if(t){if(typeof t=="string")return o3(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o3(t,e):void 0}}function kB(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.includes(n))continue;r[n]=t[n]}return r}function Ln(){return Ln=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Ln.apply(null,arguments)}const RZ=Object.freeze(Object.defineProperty({__proto__:null,get default(){return Ln}},Symbol.toStringTag,{value:"Module"})),RB={},TB=Object.freeze(Object.defineProperty({__proto__:null,default:RB},Symbol.toStringTag,{value:"Module"})),NB=DB(TB);var s3=function(){return s3=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s3.apply(this,arguments)};function TZ(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function j0(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}function NZ(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}const OB="G",Ja="SVG",OZ="VIEW",Hn="TEXT",E2="LINK",$v="PAGE",C2="NOTE",Xv="PATH",eE="RECT",tE="LINE",rE="DEFS",il="IMAGE",nE="TSPAN",I2="CANVAS",iE="CIRCLE",aE="ELLIPSE",oE="POLYGON",LB="DOCUMENT",sE="POLYLINE",$o="TEXT_INSTANCE",MB="LINEAR_GRADIENT",PB="RADIAL_GRADIENT";var y2={exports:{}},yd={exports:{}};typeof Object.create=="function"?yd.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:yd.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}};var UB=yd.exports,w2={exports:{}},Ps=typeof Reflect=="object"?Reflect:null,l3=Ps&&typeof Ps.apply=="function"?Ps.apply:function(e,r,n){return Function.prototype.apply.call(e,r,n)},nA;Ps&&typeof Ps.ownKeys=="function"?nA=Ps.ownKeys:Object.getOwnPropertySymbols?nA=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:nA=function(e){return Object.getOwnPropertyNames(e)};function GB(t){console&&console.warn&&console.warn(t
`),new y("",i,""),new y("",e,"]"),new y("",e," for "),new y("",w,""),new y("",n,""),new y("",e," a "),new y("",e," that "),new y(" ",h,""),new y("",e,". "),new y(".",e,""),new y(" ",e,", "),new y("",B,""),new y("",e," with "),new y("",e,"'"),new y("",e," from "),new y("",e," by "),new y("",D,""),new y("",b,""),new y(" the ",e,""),new y("",a,""),new y("",e,". The "),new y("",g,""),new y("",e," on "),new y("",e," as "),new y("",e," is "),new y("",u,""),new y("",r,"ing "),new y("",e,`
`),new y("",e,":"),new y(" ",e,". "),new y("",e,"ed "),new y("",_,""),new y("",Q,""),new y("",s,""),new y("",e,"("),new y("",h,", "),new y("",l,""),new y("",e," at "),new y("",e,"ly "),new y(" the ",e," of "),new y("",o,""),new y("",f,""),new y(" ",h,", "),new y("",h,'"'),new y(".",e,"("),new y("",g," "),new y("",h,'">'),new y("",e,'="'),new y(" ",e,"."),new y(".com/",e,""),new y(" the ",e," of the "),new y("",h,"'"),new y("",e,". This "),new y("",e,","),new y(".",e," "),new y("",h,"("),new y("",h,"."),new y("",e," not "),new y(" ",e,'="'),new y("",e,"er "),new y(" ",g," "),new y("",e,"al "),new y(" ",g,""),new y("",e,"='"),new y("",g,'"'),new y("",h,". "),new y(" ",e,"("),new y("",e,"ful "),new y(" ",h,". "),new y("",e,"ive "),new y("",e,"less "),new y("",g,"'"),new y("",e,"est "),new y(" ",h,"."),new y("",g,'">'),new y(" ",e,"='"),new y("",h,","),new y("",e,"ize "),new y("",g,"."),new y(" ",e,""),new y(" ",e,","),new y("",h,'="'),new y("",g,'="'),new y("",e,"ous "),new y("",g,", "),new y("",h,"='"),new y(" ",h,","),new y(" ",g,'="'),new y(" ",g,", "),new y("",g,","),new y("",g,"("),new y("",g,". "),new y(" ",g,"."),new y("",g,"='"),new y(" ",g,". "),new y(" ",h,'="'),new y(" ",g,"='"),new y(" ",h,"='")];Rl.kTransforms=M,Rl.kNumTransforms=M.length;function N(P,T){return P[T]<192?(P[T]>=97&&P[T]<=122&&(P[T]^=32),1):P[T]<224?(P[T+1]^=32,2):(P[T+2]^=5,3)}return Rl.transformDictionaryWord=function(P,T,j,z,I){var R=M[I].prefix,k=M[I].suffix,O=M[I].transform,H=O<p?0:O-(p-1),L=0,G=T,K;H>z&&(H=z);for(var ae=0;ae<R.length;)P[T++]=R[ae++];for(j+=H,z-=H,O<=f&&(z-=O),L=0;L<z;L++)P[T++]=t.dictionary[j+L];if(K=T-z,O===h)N(P,K);else if(O===g)for(;z>0;){var q=N(P,K);K+=q,z-=q}for(var ne=0;ne<k.length;)P[T++]=k[ne++];return T-G},Rl}var B3;function OE(){if(B3)return kl;B3=1;var t=LA.BrotliInput,e=LA.BrotliOutput,r=ID,n=NE(),i=MA.HuffmanCode,a=MA.BrotliBuildHuffmanTable,o=k2,s=al,u=BD(),l=8,f=16,h=256,g=704,p=26,C=6,w=2,B=8,D=255,b=1080,Q=18,_=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),y=16,M=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]),N=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),P=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function T(le){var ie;return le.readBits(1)===0?16:(ie=le.readBits(3),ie>0?17+ie:(ie=le.readBits(3),ie>0?8+ie:17))}function j(le){if(le.readBits(1)){var ie=le.readBits(3);return ie===0?1:le.readBits(ie)+(1<<ie)}return 0}function z(){this.meta_block_length=0,this.input_end=0,this.is_uncompressed=0,this.is_metadata=!1}function I(le){var ie=new z,J,$,Fe;if(ie.input_end=le.readBits(1),ie.input_end&&le.readBits(1))return ie;if(J=le.readBits(2)+4,J===7){if(ie.is_metadata=!0,le.readBits(1)!==0)throw new Error("Invalid reserved bit");if($=le.readBits(2),$===0)return ie;for(Fe=0;Fe<$;Fe++){var Se=le.readBits(8);if(Fe+1===$&&$>1&&Se===0)throw new Error("Invalid size byte");ie.meta_block_length|=Se<<Fe*8}}else for(Fe=0;Fe<J;++Fe){var He=le.readBits(4);if(Fe+1===J&&J>4&&He===0)throw new Error("Invalid size nibble");ie.meta_block_length|=He<<Fe*4}return++ie.meta_block_length,!ie.input_end&&!ie.is_metadata&&(ie.is_uncompressed=le.readBits(1)),ie}function R(le,ie,J){var $;return J.fillBitWindow(),ie+=J.val_>>>J.bit_pos_&D,$=le[ie].bits-B,$>0&&(J.bit_pos_+=B,ie+=le[ie].value,ie+=J.val_>>>J.bit_pos_&(1<<$)-1),J.bit_pos_+=le[ie].bits,le[ie].value}function k(le,ie,J,$){for(var Fe=0,Se=l,He=0,ke=0,et=32768,ze=[],ce=0;ce<32;ce++)ze.push(new i(0,0));for(a(ze,0,5,le,Q);Fe<ie&&et>0;){var Oe=0,Je;if($.readMoreInput(),$.fillBitWindow(),Oe+=$.val_>>>$.bit_pos_&31,$.bit_pos_+=ze[Oe].bits,Je=ze[Oe].value&255,Je<f)He=0,J[Fe++]=Je,Je!==0&&(Se=Je,et-=32768>>Je);else{var De=Je-14,$e,Le,Pe=0;if(Je===f&&(Pe=Se),ke!==Pe&&(He=0,ke=Pe),$e=He,He>0&&(He-=2,He<<=De),He+=$.readBits(De)+3,Le=He-$e,Fe+Le>ie)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var Ye=0;Ye<Le;Ye++)J[Fe+Ye]=ke;Fe+=Le,ke!==0&&(et-=Le<<15-ke)}}if(et!==0)throw new Error("[ReadHuffmanCodeLengths] space = "+et);for(;Fe<ie;Fe++)J[Fe]=0}function O
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/var xI=50;de.TYPED_ARRAY_SUPPORT=jo.TYPED_ARRAY_SUPPORT!==void 0?jo.TYPED_ARRAY_SUPPORT:!0;var jT=$A();function $A(){return de.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Vi(t,e){if($A()<e)throw new RangeError("Invalid typed array length");return de.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=de.prototype):(t===null&&(t=new de(e)),t.length=e),t}function de(t,e,r){if(!de.TYPED_ARRAY_SUPPORT&&!(this instanceof de))return new de(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return j2(this,t)}return _I(this,t,e,r)}de.poolSize=8192;de._augment=function(t){return t.__proto__=de.prototype,t};function _I(t,e,r,n){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?KT(t,e,r,n):typeof e=="string"?JT(t,e,r):ZT(t,e)}de.from=function(t,e,r){return _I(null,t,e,r)};de.TYPED_ARRAY_SUPPORT&&(de.prototype.__proto__=Uint8Array.prototype,de.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&de[Symbol.species]);function FI(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function VT(t,e,r,n){return FI(e),e<=0?Vi(t,e):r!==void 0?typeof n=="string"?Vi(t,e).fill(r,n):Vi(t,e).fill(r):Vi(t,e)}de.alloc=function(t,e,r){return VT(null,t,e,r)};function j2(t,e){if(FI(e),t=Vi(t,e<0?0:V2(e)|0),!de.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}de.allocUnsafe=function(t){return j2(null,t)};de.allocUnsafeSlow=function(t){return j2(null,t)};function JT(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!de.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=SI(e,r)|0;t=Vi(t,n);var i=t.write(e,r);return i!==n&&(t=t.slice(0,i)),t}function zd(t,e){var r=e.length<0?0:V2(e.length)|0;t=Vi(t,r);for(var n=0;n<r;n+=1)t[n]=e[n]&255;return t}function KT(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return r===void 0&&n===void 0?e=new Uint8Array(e):n===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,n),de.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=de.prototype):t=zd(t,e),t}function ZT(t,e){if(Di(e)){var r=V2(e.length)|0;return t=Vi(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer<"u"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||mN(e.length)?Vi(t,0):zd(t,e);if(e.type==="Buffer"&&QI(e.data))return zd(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function V2(t){if(t>=$A())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+$A().toString(16)+" bytes");return t|0}function $T(t){return+t!=t&&(t=0),de.alloc(+t)}de.isBuffer=Fo;function Di(t){return!!(t!=null&&t._isBuffer)}de.compare=function(e,r){if(!Di(e)||!Di(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};de.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};de.concat=function(e,r){if(!QI(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return de.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=de.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(!Di(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,a),a+=o.length}return i};function SI(t,e){if(Di(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary
`)>-1&&(a?s=s.split(`
`).map(function(l){return" "+l}).join(`
`).substr(2):s=`
`+s.split(`
`).map(function(l){return" "+l}).join(`
`))):s=t.stylize("[Circular]","special")),yi(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function lO(t,e,r){var n=t.reduce(function(i,a){return a.indexOf(`
`)>=0,i+a.replace(/\u001b\[\d\d?m/g,"").length+1},0);return n>60?r[0]+(e===""?"":e+`
`)+" "+t.join(`,
`)+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function K2(t){return Array.isArray(t)}function Pf(t){return typeof t=="boolean"}function Lu(t){return t===null}function ZI(t){return t==null}function Z2(t){return typeof t=="number"}function Mu(t){return typeof t=="string"}function $I(t){return typeof t=="symbol"}function yi(t){return t===void 0}function Uo(t){return ns(t)&&$2(t)==="[object RegExp]"}function ns(t){return typeof t=="object"&&t!==null}function Zs(t){return ns(t)&&$2(t)==="[object Date]"}function Hs(t){return ns(t)&&($2(t)==="[object Error]"||t instanceof Error)}function Go(t){return typeof t=="function"}function tf(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}function XI(t){return de.isBuffer(t)}function $2(t){return Object.prototype.toString.call(t)}function Bh(t){return t<10?"0"+t.toString(10):t.toString(10)}var uO=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function cO(){var t=new Date,e=[Bh(t.getHours()),Bh(t.getMinutes()),Bh(t.getSeconds())].join(":");return[t.getDate(),uO[t.getMonth()],e].join(" ")}function ey(){console.log("%s - %s",cO(),Lf.apply(null,arguments))}function X2(t,e){if(!e||!ns(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}function ty(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Eo=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function eg(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(Eo&&t[Eo]){var e=t[Eo];if(typeof e!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,Eo,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var r,n,i=new Promise(function(s,u){r=s,n=u}),a=[],o=0;o<arguments.length;o++)a.push(arguments[o]);a.push(function(s,u){s?n(s):r(u)});try{t.apply(this,a)}catch(s){n(s)}return i}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Eo&&Object.defineProperty(e,Eo,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,KI(t))}eg.custom=Eo;function AO(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}function ry(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};t.apply(this,r).then(function(s){kn.nextTick(o.bind(null,null,s))},function(s){kn.nextTick(AO.bind(null,s,o))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,KI(t)),e}var fO={inherits:aa,_extend:X2,log:ey,isBuffer:XI,isPrimitive:tf,isFunction:Go,isError:Hs,isDate:Zs,isObject:ns,isRegExp:Uo,isUndefined:yi,isSymbol:$I,isString:Mu,isNumber:Z2,isNullOrUndefined:ZI,isNull:Lu,isBoolean:Pf,isArray:K2,inspect:Tn,deprecate:Mf,format:Lf,debuglog:J2,promisify:eg,callbackify:ry},hO=Object.freeze({__proto__:null,_extend:X2,callbackify:ry,debuglog:J2,default:fO,deprecate:Mf,format:Lf,inherits:aa,inspect:Tn,isArray:K2,isBoolean:Pf,isBuffer:XI,isDate:Zs,isError:Hs,isFunction:Go,isNull:Lu,isNullOrUndefined:ZI,isNumber:Z2,isObject:ns,isPrimitive:tf,isRegExp:Uo,isString:Mu,isSymbol:$I,isUndefined:yi,log:ey,promisify:eg});function is(){this.head=null,this.tail=null,this.length=0}is.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length};is.prototype.unshift=function(t){var e={data:t,next:this.head};this.length===0&&(this.tail=e),this.head=e,++this.length};is.prototype.shift=function(){if(this.length!==0){var t=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,t}};is.prototype.clear=function(){this.head=this.tail=null,this.length=0};is.prototype.join=function(t){if(this.length===0)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e
`+i);if(a>=0){var o=n.indexOf(`
`,a+1);n=n.substring(o+1)}this.stack=n}}}aa(Gf,Error);function N4(t,e){return typeof t=="string"?t.length<e?t:t.slice(0,e):t}function O4(t){if(fy()||!Go(t))return Tn(t);var e=hy(t),r=e?": "+e:"";return"[Function"+r+"]"}function tL(t){return N4(O4(t.actual),128)+" "+t.operator+" "+N4(O4(t.expected),128)}function ur(t,e,r,n,i){throw new Gf({message:r,actual:t,expected:e,operator:n,stackStartFunction:i})}Ar.fail=ur;function gu(t,e){t||ur(t,!0,e,"==",gu)}Ar.ok=gu;Ar.equal=ng;function ng(t,e,r){t!=e&&ur(t,e,r,"==",ng)}Ar.notEqual=ig;function ig(t,e,r){t==e&&ur(t,e,r,"!=",ig)}Ar.deepEqual=ag;function ag(t,e,r){Xs(t,e,!1)||ur(t,e,r,"deepEqual",ag)}Ar.deepStrictEqual=og;function og(t,e,r){Xs(t,e,!0)||ur(t,e,r,"deepStrictEqual",og)}function Xs(t,e,r,n){if(t===e)return!0;if(Fo(t)&&Fo(e))return F4(t,e)===0;if(Zs(t)&&Zs(e))return t.getTime()===e.getTime();if(Uo(t)&&Uo(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if((t===null||typeof t!="object")&&(e===null||typeof e!="object"))return r?t===e:t==e;if(T4(t)&&T4(e)&&R4(t)===R4(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return F4(new Uint8Array(t.buffer),new Uint8Array(e.buffer))===0;if(Fo(t)!==Fo(e))return!1;n=n||{actual:[],expected:[]};var i=n.actual.indexOf(t);return i!==-1&&i===n.expected.indexOf(e)?!0:(n.actual.push(t),n.expected.push(e),rL(t,e,r,n))}function L4(t){return Object.prototype.toString.call(t)=="[object Arguments]"}function rL(t,e,r,n){if(t==null||e===null||e===void 0)return!1;if(tf(t)||tf(e))return t===e;if(r&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=L4(t),a=L4(e);if(i&&!a||!i&&a)return!1;if(i)return t=k4.call(t),e=k4.call(e),Xs(t,e,r);var o=S4(t),s=S4(e),u,l;if(o.length!==s.length)return!1;for(o.sort(),s.sort(),l=o.length-1;l>=0;l--)if(o[l]!==s[l])return!1;for(l=o.length-1;l>=0;l--)if(u=o[l],!Xs(t[u],e[u],r,n))return!1;return!0}Ar.notDeepEqual=sg;function sg(t,e,r){Xs(t,e,!1)&&ur(t,e,r,"notDeepEqual",sg)}Ar.notDeepStrictEqual=lg;function lg(t,e,r){Xs(t,e,!0)&&ur(t,e,r,"notDeepStrictEqual",lg)}Ar.strictEqual=ug;function ug(t,e,r){t!==e&&ur(t,e,r,"===",ug)}Ar.notStrictEqual=cg;function cg(t,e,r){t===e&&ur(t,e,r,"!==",cg)}function M4(t,e){if(!t||!e)return!1;if(Object.prototype.toString.call(e)=="[object RegExp]")return e.test(t);try{if(t instanceof e)return!0}catch{}return Error.isPrototypeOf(e)?!1:e.call({},t)===!0}function nL(t){var e;try{t()}catch(r){e=r}return e}function dy(t,e,r,n){var i;if(typeof e!="function")throw new TypeError('"block" argument must be a function');typeof r=="string"&&(n=r,r=null),i=nL(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!i&&ur(i,r,"Missing expected exception"+n);var a=typeof n=="string",o=!t&&Hs(i),s=!t&&i&&!r;if((o&&a&&M4(i,r)||s)&&ur(i,r,"Got unwanted exception"+n),t&&i&&r&&!M4(i,r)||!t&&i)throw i}Ar.throws=gy;function gy(t,e,r){dy(!0,t,e,r)}Ar.doesNotThrow=py;function py(t,e,r){dy(!1,t,e,r)}Ar.ifError=my;function my(t){if(t)throw t}var iL=Object.freeze({__proto__:null,AssertionError:Gf,assert:gu,deepEqual:ag,deepStrictEqual:og,default:Ar,doesNotThrow:py,equal:ng,fail:ur,ifError:my,notDeepEqual:sg,notDeepStrictEqual:lg,notEqual:ig,notStrictEqual:cg,ok:gu,strictEqual:ug,throws:gy}),vy=Of(iL);function aL(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var oL=aL,Si={},Uu={};(function(t){var e=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function r(a,o){return Object.prototype.hasOwnProperty.call(a,o)}t.assign=function(a){for(var o=Array.prototype.slice.call(arguments,1);o.length;){var s=o.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var u in s)r(s,u)&&(a[u]=s[u])}}return a},t.shrinkBuf=function(a,o){return a.length===o?a:a.subarray?a.subarray(0,o):(a.length=o,a)};var n={arraySet:function(o,s,u,l,f){if(s.subarray&&o.subarray){o.set(s.subarray(u,u+l),f);return}for(var h=0;h<l;h++)o[f+h]=s[u+h]},fl
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/var t6=50;fe.TYPED_ARRAY_SUPPORT=Zo.TYPED_ARRAY_SUPPORT!==void 0?Zo.TYPED_ARRAY_SUPPORT:!0;var WM=af();function af(){return fe.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ki(t,e){if(af()<e)throw new RangeError("Invalid typed array length");return fe.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=fe.prototype):(t===null&&(t=new fe(e)),t.length=e),t}function fe(t,e,r){if(!fe.TYPED_ARRAY_SUPPORT&&!(this instanceof fe))return new fe(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return pg(this,t)}return r6(this,t,e,r)}fe.poolSize=8192;fe._augment=function(t){return t.__proto__=fe.prototype,t};function r6(t,e,r,n){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?VM(t,e,r,n):typeof e=="string"?jM(t,e,r):JM(t,e)}fe.from=function(t,e,r){return r6(null,t,e,r)};fe.TYPED_ARRAY_SUPPORT&&(fe.prototype.__proto__=Uint8Array.prototype,fe.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&fe[Symbol.species]);function n6(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function qM(t,e,r,n){return n6(e),e<=0?Ki(t,e):r!==void 0?typeof n=="string"?Ki(t,e).fill(r,n):Ki(t,e).fill(r):Ki(t,e)}fe.alloc=function(t,e,r){return qM(null,t,e,r)};function pg(t,e){if(n6(e),t=Ki(t,e<0?0:mg(e)|0),!fe.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}fe.allocUnsafe=function(t){return pg(null,t)};fe.allocUnsafeSlow=function(t){return pg(null,t)};function jM(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!fe.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=i6(e,r)|0;t=Ki(t,n);var i=t.write(e,r);return i!==n&&(t=t.slice(0,i)),t}function Xd(t,e){var r=e.length<0?0:mg(e.length)|0;t=Ki(t,r);for(var n=0;n<r;n+=1)t[n]=e[n]&255;return t}function VM(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return r===void 0&&n===void 0?e=new Uint8Array(e):n===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,n),fe.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=fe.prototype):t=Xd(t,e),t}function JM(t,e){if(Qi(e)){var r=mg(e.length)|0;return t=Ki(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer<"u"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||gP(e.length)?Ki(t,0):Xd(t,e);if(e.type==="Buffer"&&e6(e.data))return Xd(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function mg(t){if(t>=af())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+af().toString(16)+" bytes");return t|0}function KM(t){return+t!=t&&(t=0),fe.alloc(+t)}fe.isBuffer=No;function Qi(t){return!!(t!=null&&t._isBuffer)}fe.compare=function(e,r){if(!Qi(e)||!Qi(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};fe.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};fe.concat=function(e,r){if(!e6(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return fe.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=fe.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(!Qi(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,a),a+=o.length}return i};function i6(t,e){if(Qi(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary
`)>-1&&(a?s=s.split(`
`).map(function(l){return" "+l}).join(`
`).substr(2):s=`
`+s.split(`
`).map(function(l){return" "+l}).join(`
`))):s=t.stylize("[Circular]","special")),wi(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(""+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+s}function sU(t,e,r){var n=t.reduce(function(i,a){return a.indexOf(`
`)>=0,i+a.replace(/\u001b\[\d\d?m/g,"").length+1},0);return n>60?r[0]+(e===""?"":e+`
`)+" "+t.join(`,
`)+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function Cg(t){return Array.isArray(t)}function Jf(t){return typeof t=="boolean"}function zu(t){return t===null}function Q6(t){return t==null}function Ig(t){return typeof t=="number"}function Wu(t){return typeof t=="string"}function x6(t){return typeof t=="symbol"}function wi(t){return t===void 0}function Ho(t){return ss(t)&&yg(t)==="[object RegExp]"}function ss(t){return typeof t=="object"&&t!==null}function el(t){return ss(t)&&yg(t)==="[object Date]"}function Ws(t){return ss(t)&&(yg(t)==="[object Error]"||t instanceof Error)}function Yo(t){return typeof t=="function"}function uf(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}function _6(t){return fe.isBuffer(t)}function yg(t){return Object.prototype.toString.call(t)}function zh(t){return t<10?"0"+t.toString(10):t.toString(10)}var lU=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function uU(){var t=new Date,e=[zh(t.getHours()),zh(t.getMinutes()),zh(t.getSeconds())].join(":");return[t.getDate(),lU[t.getMonth()],e].join(" ")}function F6(){console.log("%s - %s",uU(),Vf.apply(null,arguments))}function wg(t,e){if(!e||!ss(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}function S6(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Co=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function bg(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(Co&&t[Co]){var e=t[Co];if(typeof e!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,Co,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var r,n,i=new Promise(function(s,u){r=s,n=u}),a=[],o=0;o<arguments.length;o++)a.push(arguments[o]);a.push(function(s,u){s?n(s):r(u)});try{t.apply(this,a)}catch(s){n(s)}return i}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Co&&Object.defineProperty(e,Co,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,B6(t))}bg.custom=Co;function cU(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}function k6(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if(typeof i!="function")throw new TypeError("The last argument must be of type Function");var a=this,o=function(){return i.apply(a,arguments)};t.apply(this,r).then(function(s){ht.nextTick(o.bind(null,null,s))},function(s){ht.nextTick(cU.bind(null,s,o))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,B6(t)),e}var AU={inherits:vg,_extend:wg,log:F6,isBuffer:_6,isPrimitive:uf,isFunction:Yo,isError:Ws,isDate:el,isObject:ss,isRegExp:Ho,isUndefined:wi,isSymbol:x6,isString:Wu,isNumber:Ig,isNullOrUndefined:Q6,isNull:zu,isBoolean:Jf,isArray:Cg,inspect:On,deprecate:Eg,format:Vf,debuglog:D6,promisify:bg,callbackify:k6},fU=Object.freeze({__proto__:null,_extend:wg,callbackify:k6,debuglog:D6,default:AU,deprecate:Eg,format:Vf,inherits:vg,inspect:On,isArray:Cg,isBoolean:Jf,isBuffer:_6,isDate:el,isError:Ws,isFunction:Yo,isNull:zu,isNullOrUndefined:Q6,isNumber:Ig,isObject:ss,isPrimitive:uf,isRegExp:Ho,isString:Wu,isSymbol:x6,isUndefined:wi,log:F6,promisify:bg}),Bg=dl(fU),Wh,xm;function hU(){if(xm)return Wh;xm=1;function t(g,p){var C=Object.keys(g);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(g);p&&(w=w.filter(function(B){return Object.getOwnPropertyDescriptor(g,B).enumerable})),C.push.apply(C,w)}return C}function e(g){for(var p=1;p<arguments.length;p++){var C=arguments[p]!=null?arguments[p]:{};p%2?t(Object(C),!0).forEach(function(w){r(g,w,C[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(C)):t(Object(C)).forEach(function(w){Object.defineProperty(g,w,Object.getOwnPropertyDescriptor(C,w))})}return g}function r(g,p,C){retu
`+i);if(a>=0){var o=n.indexOf(`
`,a+1);n=n.substring(o+1)}this.stack=n}}}vg(r1,Error);function qm(t,e){return typeof t=="string"?t.length<e?t:t.slice(0,e):t}function jm(t){if(tw()||!Yo(t))return On(t);var e=rw(t),r=e?": "+e:"";return"[Function"+r+"]"}function $G(t){return qm(jm(t.actual),128)+" "+t.operator+" "+qm(jm(t.expected),128)}function cr(t,e,r,n,i){throw new r1({message:r,actual:t,expected:e,operator:n,stackStartFunction:i})}fr.fail=cr;function bu(t,e){t||cr(t,!0,e,"==",bu)}fr.ok=bu;fr.equal=kg;function kg(t,e,r){t!=e&&cr(t,e,r,"==",kg)}fr.notEqual=Rg;function Rg(t,e,r){t==e&&cr(t,e,r,"!=",Rg)}fr.deepEqual=Tg;function Tg(t,e,r){nl(t,e,!1)||cr(t,e,r,"deepEqual",Tg)}fr.deepStrictEqual=Ng;function Ng(t,e,r){nl(t,e,!0)||cr(t,e,r,"deepStrictEqual",Ng)}function nl(t,e,r,n){if(t===e)return!0;if(No(t)&&No(e))return Gm(t,e)===0;if(el(t)&&el(e))return t.getTime()===e.getTime();if(Ho(t)&&Ho(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if((t===null||typeof t!="object")&&(e===null||typeof e!="object"))return r?t===e:t==e;if(Wm(t)&&Wm(e)&&zm(t)===zm(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return Gm(new Uint8Array(t.buffer),new Uint8Array(e.buffer))===0;if(No(t)!==No(e))return!1;n=n||{actual:[],expected:[]};var i=n.actual.indexOf(t);return i!==-1&&i===n.expected.indexOf(e)?!0:(n.actual.push(t),n.expected.push(e),XG(t,e,r,n))}function Vm(t){return Object.prototype.toString.call(t)=="[object Arguments]"}function XG(t,e,r,n){if(t==null||e===null||e===void 0)return!1;if(uf(t)||uf(e))return t===e;if(r&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var i=Vm(t),a=Vm(e);if(i&&!a||!i&&a)return!1;if(i)return t=Ym.call(t),e=Ym.call(e),nl(t,e,r);var o=Hm(t),s=Hm(e),u,l;if(o.length!==s.length)return!1;for(o.sort(),s.sort(),l=o.length-1;l>=0;l--)if(o[l]!==s[l])return!1;for(l=o.length-1;l>=0;l--)if(u=o[l],!nl(t[u],e[u],r,n))return!1;return!0}fr.notDeepEqual=Og;function Og(t,e,r){nl(t,e,!1)&&cr(t,e,r,"notDeepEqual",Og)}fr.notDeepStrictEqual=Lg;function Lg(t,e,r){nl(t,e,!0)&&cr(t,e,r,"notDeepStrictEqual",Lg)}fr.strictEqual=Mg;function Mg(t,e,r){t!==e&&cr(t,e,r,"===",Mg)}fr.notStrictEqual=Pg;function Pg(t,e,r){t===e&&cr(t,e,r,"!==",Pg)}function Jm(t,e){if(!t||!e)return!1;if(Object.prototype.toString.call(e)=="[object RegExp]")return e.test(t);try{if(t instanceof e)return!0}catch{}return Error.isPrototypeOf(e)?!1:e.call({},t)===!0}function eH(t){var e;try{t()}catch(r){e=r}return e}function nw(t,e,r,n){var i;if(typeof e!="function")throw new TypeError('"block" argument must be a function');typeof r=="string"&&(n=r,r=null),i=eH(e),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),t&&!i&&cr(i,r,"Missing expected exception"+n);var a=typeof n=="string",o=!t&&Ws(i),s=!t&&i&&!r;if((o&&a&&Jm(i,r)||s)&&cr(i,r,"Got unwanted exception"+n),t&&i&&r&&!Jm(i,r)||!t&&i)throw i}fr.throws=iw;function iw(t,e,r){nw(!0,t,e,r)}fr.doesNotThrow=aw;function aw(t,e,r){nw(!1,t,e,r)}fr.ifError=ow;function ow(t){if(t)throw t}var tH=Object.freeze({__proto__:null,AssertionError:r1,assert:bu,deepEqual:Tg,deepStrictEqual:Ng,default:fr,doesNotThrow:aw,equal:kg,fail:cr,ifError:ow,notDeepEqual:Og,notDeepStrictEqual:Lg,notEqual:Rg,notStrictEqual:Pg,ok:bu,strictEqual:Mg,throws:iw}),sw=dl(tH);(function(t){var e=sw,r=Mk,n=Fi,i=Yn,a=gT;for(var o in a)t[o]=a[o];t.NONE=0,t.DEFLATE=1,t.INFLATE=2,t.GZIP=3,t.GUNZIP=4,t.DEFLATERAW=5,t.INFLATERAW=6,t.UNZIP=7;var s=31,u=139;function l(f){if(typeof f!="number"||f<t.DEFLATE||f>t.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=f,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}l.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,e(this.init_done,"close before init"),e(this.mode<=t.UNZIP),this.mode===t.DEFLATE||this.mode===t.GZIP||this.mode===t.DEFLATERAW?n.deflateEnd(this.strm):(this.mode===t.INFLATE||this.mode===t.GUNZIP||this.mode===t.INFLATERAW||this
`,"binary")),this.uncompressedLength+=e.length,this.data.Length==null&&(this.data.Length=0),this.compress?(this.deflate||this.initDeflate(),this.deflate.write(e)):(this.chunks.push(e),this.data.Length+=e.length),n()}end(){return super.end(...arguments),this.deflate?this.deflate.end():this.finalize()}finalize(){if(this.offset=this.document._offset,this.document._write(this.id+" "+this.gen+" obj"),this.document._write(Xi.convert(this.data)),this.chunks.length){this.document._write("stream");for(let e of Array.from(this.chunks))this.document._write(e);this.chunks.length=0,this.document._write(`
endstream`)}return this.document._write("endobj"),this.document._refEnd(this)}toString(){return this.id+" "+this.gen+" R"}}class uw{constructor(e){e===void 0&&(e={}),this._items={},this.limits=typeof e.limits=="boolean"?e.limits:!0}add(e,r){return this._items[e]=r}get(e){return this._items[e]}toString(){const e=Object.keys(this._items).sort((n,i)=>this._compareKeys(n,i)),r=["<<"];if(this.limits&&e.length>1){const n=e[0],i=e[e.length-1];r.push(" /Limits "+Xi.convert([this._dataForKey(n),this._dataForKey(i)]))}r.push(" /"+this._keysName()+" [");for(let n of e)r.push(" "+Xi.convert(this._dataForKey(n))+" "+Xi.convert(this._items[n]));return r.push("]"),r.push(">>"),r.join(`
`)}_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 CA extends uw{_compareKeys(e,r){return e.localeCompare(r)}_keysName(){return"Names"}_dataForKey(e){return new String(e)}}const rH=/[\n\r\t\b\f\(\)\\]/g,nH={"\n":"\\n","\r":"\\r"," ":"\\t","\b":"\\b","\f":"\\f","\\":"\\\\","(":"\\(",")":"\\)"},Ds=(t,e)=>(Array(e+1).join("0")+t).slice(-e),iH=function(t){const e=t.length;if(e&1)throw new Error("Buffer length must be even");for(let r=0,n=e-1;r<n;r+=2){const i=t[r];t[r]=t[r+1],t[r+1]=i}return t};class nu{static convert(e){if(typeof e=="string")return"/"+e;if(e instanceof String){let r=e,n=!1;for(let i=0,a=r.length;i<a;i++)if(r.charCodeAt(i)>127){n=!0;break}return n&&(r=iH(fe.from("\uFEFF"+r,"utf16le")).toString("binary")),r=r.replace(rH,i=>nH[i]),"("+r+")"}if(fe.isBuffer(e))return"<"+e.toString("hex")+">";if(e instanceof lw||e instanceof CA)return e.toString();if(e instanceof Date)return"(D:"+Ds(e.getUTCFullYear(),4)+Ds(e.getUTCMonth()+1,2)+Ds(e.getUTCDate(),2)+Ds(e.getUTCHours(),2)+Ds(e.getUTCMinutes(),2)+Ds(e.getUTCSeconds(),2)+"Z)";if(Array.isArray(e))return"["+Array.from(e).map(n=>nu.convert(n)).join(" ")+"]";if({}.toString.call(e)==="[object Object]"){const r=["<<"];for(let n in e){const i=e[n];r.push("/"+n+" "+nu.convert(i))}return r.push(">>"),r.join(`
`)}return typeof e=="number"?nu.number(e):""+e}static number(e){if(e>-1e21&&e<1e21)return Math.round(e*1e6)/1e6;throw new Error("unsupported number: "+e)}}var Xi=nu;const aH={top:72,left:72,bottom:72,right:72},oH={"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 sH{constructor(e,r){r===void 0&&(r={}),this.document=e,this.size=r.size||"letter",this.layout=r.layout||"portrait",this.userUnit=r.userUnit||1,typeof r.margin=="number"?this.margins={top:r.margin,left:r.margin,bottom:r.margin,right:r.margin}:this.margins=r.margins||aH;const n=Array.isArray(this.size)?this.size:oH[this.size.toUpperCase()];this.width=n[this.layout==="portrait"?0:1],this.height=n[this.layout==="portrait"?1:0],this.content=this.document.ref(),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 e=this.resources.data;return e.Font!=null?e.Font:e.Font={}}get xobjects(){const e=this.resources.data;return e.XObject!=null?e.XObject:e.XObject={}}get ext_gstates(){const e=this.resources.data;return e.ExtGState!=null?e.ExtGState:e.ExtGState={}}get patterns(){const e=this.resources.data;return e.Pattern!=null?e.Pattern:e.Pattern={}}get colorSpaces(){const e=this.resources.data;return e.ColorSpace||(e.ColorSpace={})}get annotations(){const e=this.dictionary.data;return e.Annots!=null?e.Annots:e.Annots=[]}get structParentTreeKey(){const e=this.dictionary.data;return e.StructParents!=null?e.StructParents:e.StructParents=this.document.createStructParentTreeNextKey()}maxY(){return this.height-this.margins.bottom}write(e){return this.content.write(e)}end(){return this.dictionary.end(),this.resources.end(),this.content.end()}}const lH=t=>{const e=[];for(let r=0;r<t.sigBytes;r++)e.push(t.words[Math.floor(r/4)]>>8*(3-r%4)&255);return fe.from(e)};class uH{static generateFileID(e){e===void 0&&(e={});let r=e.CreationDate.getTime()+`
`;for(let n in e)e.hasOwnProperty(n)&&(r+=n+": "+e[n].valueOf()+`
`);return lH(CI(r))}}const{number:cH}=Xi;let Ug=class{constructor(e){this.doc=e,this.stops=[],this.embedded=!1,this.transform=[1,0,0,1,0,0]}stop(e,r,n){if(n==null&&(n=1),r=this.doc._normalizeColor(r),this.stops.length===0)if(r.length===3)this._colorSpace="DeviceRGB";else if(r.length===4)this._colorSpace="DeviceCMYK";else if(r.length===1)this._colorSpace="DeviceGray";else throw new Error("Unknown color space");else if(this._colorSpace==="DeviceRGB"&&r.length!==3||this._colorSpace==="DeviceCMYK"&&r.length!==4||this._colorSpace==="DeviceGray"&&r.length!==1)throw new Error("All gradient stops must use the same color space");return n=Math.max(0,Math.min(1,n)),this.stops.push([e,r,n]),this}setTransform(e,r,n,i,a,o){return this.transform=[e,r,n,i,a,o],this}embed(e){let r;const n=this.stops.length;if(n===0)return;this.embedded=!0,this.matrix=e;const i=this.stops[n-1];i[0]<1&&this.stops.push([1,i[1],i[2]]);const a=[],o=[],s=[];for(let f=0;f<n-1;f++)o.push(0,1),f+2!==n&&a.push(this.stops[f+1][0]),r=this.doc.ref({FunctionType:2,Domain:[0,1],C0:this.stops[f+0][1],C1:this.stops[f+1][1],N:1}),s.push(r),r.end();n===1?r=s[0]:(r=this.doc.ref({FunctionType:3,Domain:[0,1],Functions:s,Bounds:a,Encode:o}),r.end()),this.id="Sh"+ ++this.doc._gradCount;const u=this.shader(r);u.end();const l=this.doc.ref({Type:"Pattern",PatternType:2,Shading:u,Matrix:this.matrix.map(cH)});if(l.end(),this.stops.some(f=>f[2]<1)){let f=this.opacityGradient();f._colorSpace="DeviceGray";for(let w of this.stops)f.stop(w[0],[w[2]]);f=f.embed(this.matrix);const h=[0,0,this.doc.page.width,this.doc.page.height],g=this.doc.ref({Type:"XObject",Subtype:"Form",FormType:1,BBox:h,Group:{Type:"Group",S:"Transparency",CS:"DeviceGray"},Resources:{ProcSet:["PDF","Text","ImageB","ImageC","ImageI"],Pattern:{Sh1:f}}});g.write("/Pattern cs /Sh1 scn"),g.end(h.join(" ")+" re f");const p=this.doc.ref({Type:"ExtGState",SMask:{Type:"Mask",S:"Luminosity",G:g}});p.end();const C=this.doc.ref({Type:"Pattern",PatternType:1,PaintType:1,TilingType:2,BBox:h,XStep:h[2],YStep:h[3],Resources:{ProcSet:["PDF","Text","ImageB","ImageC","ImageI"],Pattern:{Sh1:l},ExtGState:{Gs1:p}}});C.write("/Gs1 gs /Pattern cs /Sh1 scn"),C.end(h.join(" ")+" re f"),this.doc.page.patterns[this.id]=C}else this.doc.page.patterns[this.id]=l;return l}apply(e){const[r,n,i,a,o,s]=this.doc._ctm,[u,l,f,h,g,p]=this.transform,C=[r*u+i*l,n*u+a*l,r*f+i*h,n*f+a*h,r*g+i*p+o,n*g+a*p+s];(!this.embedded||C.join(" ")!==this.matrix.join(" "))&&this.embed(C),this.doc._setColorSpace("Pattern",e);const w=e?"SCN":"scn";return this.doc.addContent("/"+this.id+" "+w)}},AH=class cw extends Ug{constructor(e,r,n,i,a){super(e),this.x1=r,this.y1=n,this.x2=i,this.y2=a}shader(e){return this.doc.ref({ShadingType:2,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.x2,this.y2],Function:e,Extend:[!0,!0]})}opacityGradient(){return new cw(this.doc,this.x1,this.y1,this.x2,this.y2)}},fH=class Aw extends Ug{constructor(e,r,n,i,a,o,s){super(e),this.doc=e,this.x1=r,this.y1=n,this.r1=i,this.x2=a,this.y2=o,this.r2=s}shader(e){return this.doc.ref({ShadingType:3,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.r1,this.x2,this.y2,this.r2],Function:e,Extend:[!0,!0]})}opacityGradient(){return new Aw(this.doc,this.x1,this.y1,this.r1,this.x2,this.y2,this.r2)}};var hH={PDFGradient:Ug,PDFLinearGradient:AH,PDFRadialGradient:fH};const dH=["DeviceCMYK","DeviceRGB"];let gH=class{constructor(e,r,n,i,a){this.doc=e,this.bBox=r,this.xStep=n,this.yStep=i,this.stream=a}createPattern(){const e=this.doc.ref();e.end();const[r,n,i,a,o,s]=this.doc._ctm,[u,l,f,h,g,p]=[1,0,0,1,0,0],C=[r*u+i*l,n*u+a*l,r*f+i*h,n*f+a*h,r*g+i*p+o,n*g+a*p+s],w=this.doc.ref({Type:"Pattern",PatternType:1,PaintType:2,TilingType:2,BBox:this.bBox,XStep:this.xStep,YStep:this.yStep,Matrix:C.map(B=>+B.toFixed(5)),Resources:e});return w.end(this.stream),w}embedPatternColorSpaces(){dH.forEach(e=>{const r=this.getPatternColorSpaceId(e);if(this.doc.page.colorSpaces[r])return;const n=this.doc.ref(["Pattern",e]);n.end(),this.doc.page.colorSpaces[r]=n})}getPatternColorSpaceId(e){return"CsP"+e}embed(){this.id||(this
.notdef .notdef .notdef .notdef
.notdef .notdef .notdef .notdef
.notdef .notdef .notdef .notdef
.notdef .notdef .notdef .notdef
.notdef .notdef .notdef .notdef
.notdef .notdef .notdef .notdef
.notdef .notdef .notdef .notdef
space exclam quotedbl numbersign
dollar percent ampersand quotesingle
parenleft parenright asterisk plus
comma hyphen period slash
zero one two three
four five six seven
eight nine colon semicolon
less equal greater question
at A B C
D E F G
H I J K
L M N O
P Q R S
T U V W
X Y Z bracketleft
backslash bracketright asciicircum underscore
grave a b c
d e f g
h i j k
l m n o
p q r s
t u v w
x y z braceleft
bar braceright asciitilde .notdef
Euro .notdef quotesinglbase florin
quotedblbase ellipsis dagger daggerdbl
circumflex perthousand Scaron guilsinglleft
OE .notdef Zcaron .notdef
.notdef quoteleft quoteright quotedblleft
quotedblright bullet endash emdash
tilde trademark scaron guilsinglright
oe .notdef zcaron ydieresis
space exclamdown cent sterling
currency yen brokenbar section
dieresis copyright ordfeminine guillemotleft
logicalnot hyphen registered macron
degree plusminus twosuperior threesuperior
acute mu paragraph periodcentered
cedilla onesuperior ordmasculine guillemotright
onequarter onehalf threequarters questiondown
Agrave Aacute Acircumflex Atilde
Adieresis Aring AE Ccedilla
Egrave Eacute Ecircumflex Edieresis
Igrave Iacute Icircumflex Idieresis
Eth Ntilde Ograve Oacute
Ocircumflex Otilde Odieresis multiply
Oslash Ugrave Uacute Ucircumflex
Udieresis Yacute Thorn germandbls
agrave aacute acircumflex atilde
adieresis aring ae ccedilla
egrave eacute ecircumflex edieresis
igrave iacute icircumflex idieresis
eth ntilde ograve oacute
ocircumflex otilde odieresis divide
oslash ugrave uacute ucircumflex
udieresis yacute thorn ydieresis`.split(/\s+/);function kH(t){const e={attributes:{},glyphWidths:{},kernPairs:{}};let r="";for(let u of t.split(`
`)){var n,i;if(n=u.match(/^Start(\w+)/)){r=n[1];continue}else if(n=u.match(/^End(\w+)/)){r="";continue}switch(r){case"FontMetrics":n=u.match(/(^\w+)\s+(.*)/);var a=n[1],o=n[2];(i=e.attributes[a])?(Array.isArray(i)||(i=e.attributes[a]=[i]),i.push(o)):e.attributes[a]=o;break;case"CharMetrics":if(!/^CH?\s/.test(u))continue;var s=u.match(/\bN\s+(\.?\w+)\s*;/)[1];e.glyphWidths[s]=+u.match(/\bWX\s+(\d+)\s*;/)[1];break;case"KernPairs":n=u.match(/^KPX\s+(\.?\w+)\s+(\.?\w+)\s+(-?\d+)/),n&&(e.kernPairs[n[1]+n[2]]=parseInt(n[3]));break}}return e}class Gg{static open(e){throw new Error("AFMFont.open not available on browser build")}static fromJson(e){return new Gg(e)}constructor(e){typeof e=="string"?(this.contents=e,this.parse()):(this.attributes=e.attributes,this.glyphWidths=e.glyphWidths,this.kernPairs=e.kernPairs),this.charWidths=SH(0,255,!0).map(r=>this.glyphWidths[tv[r]]),this.bbox=Array.from(this.attributes.FontBBox.split(/\s+/)).map(r=>+r),this.ascender=+(this.attributes.Ascender||0),this.descender=+(this.attributes.Descender||0),this.xHeight=+(this.attributes.XHeight||0),this.capHeight=+(this.attributes.CapHeight||0),this.lineGap=this.bbox[3]-this.bbox[1]-(this.ascender-this.descender)}parse(){const e=kH(this.contents);this.attributes=e.attributes,this.glyphWidths=e.glyphWidths,this.kernPairs=e.kernPairs}encodeText(e){const r=[];for(let n=0,i=e.length,a=0<=i;a?n<i:n>i;a?n++:n--){let o=e.charCodeAt(n);o=ev[o]||o,r.push(o.toString(16))}return r}glyphsForString(e){const r=[];for(let n=0,i=e.length,a=0<=i;a?n<i:n>i;a?n++:n--){const o=e.charCodeAt(n);r.push(this.characterToGlyph(o))}return r}characterToGlyph(e){return tv[ev[e]||e]||".notdef"}widthOfGlyph(e){return this.glyphWidths[e]||0}getKernPair(e,r){return this.kernPairs[e+r]||0}advancesForGlyphs(e){const r=[];for(let n=0;n<e.length;n++){const i=e[n],a=e[n+1];r.push(this.widthOfGlyph(i)+this.getKernPair(i,a))}return r}}var RH=[{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.","Creation Date: Thu May 1 12:43:52 1997","UniqueID 43052","VMusage 37169 48194"],FontName:"Helvetica-Bold",FullName:"Helvetica Bold",FamilyName:"Helvetica",Weight:"Bold",ItalicAngle:"0",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-170 -228 1003 962 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"718",XHeight:"532",Ascender:"718",Descender:"-207",StdHW:"118",StdVW:"140"},{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.","Creation Date: Thu May 1 12:45:12 1997","UniqueID 43053","VMusage 14482 68586"],FontName:"Helvetica-BoldOblique",FullName:"Helvetica Bold Oblique",FamilyName:"Helvetica",Weight:"Bold",ItalicAngle:"-12",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-174 -228 1114 962",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"718",XHeight:"532",Ascender:"718",Descender:"-207",StdHW:"118",StdVW:"140"},{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.","Creation Date: Thu May 1 12:44:31 1997","UniqueID 43055","VMusage 14960 69346"],FontName:"Helvetica-Oblique",FullName:"Helvetica Oblique",FamilyName:"Helvetica",Weight:"Medium",ItalicAngle:"-12",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-170 -225 1116 931 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"718",XHeight:"523",Ascender:
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`;for(let[a,o]of this.unicode.entries()){const s=[];n.length>=100&&(i+=`
`+n.length+` beginbfchar
`+n.join(`
`)+`
endbfchar`,n=[]);for(let u of o)u>65535&&(u-=65536,s.push(od(u>>>10&1023|55296)),u=56320|u&1023),s.push(od(u));n.push("<"+od(a)+"><"+s.join(" ")+">")}return n.length&&(i+=`
`+n.length+` beginbfchar
`+n.join(`
`)+`
endbfchar
`),i+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`,r.end(i),r}};class n1{static open(e,r,n,i){let a;if(typeof r=="string"){if(nv.isStandardFont(r))return new nv(e,r,i);throw new Error("Can't open "+r+" in browser build")}else r instanceof Uint8Array?a=au(r,n):r instanceof ArrayBuffer?a=au(new Uint8Array(r),n):typeof r=="object"&&(a=r);if(a==null)throw new Error("Not a supported font format or standard PDF font.");return new GH(e,a,i)}encode(){throw new Error("Must be implemented by subclasses")}widthOfString(){throw new Error("Must be implemented by subclasses")}ref(){return this.dictionary!=null?this.dictionary:this.dictionary=this.document.ref()}finalize(){if(!(this.embedded||this.dictionary==null))return this.embed(),this.embedded=!0}embed(){throw new Error("Must be implemented by subclasses")}lineHeight(e,r){r==null&&(r=!1);const n=r?this.lineGap:0;return(this.ascender+n-this.descender)/1e3*e}}const nv=PH(n1),GH=UH(n1);var HH={initFonts(){return this._fontFamilies={},this._fontCount=0,this._fontSize=12,this._font=null,this._registeredFonts={},this.font("Helvetica")},font(t,e,r){let n,i;if(typeof e=="number"&&(r=e,e=null),typeof t=="string"&&this._registeredFonts[t]?(n=t,{src:t,family:e}=this._registeredFonts[t]):(n=e||t,typeof n!="string"&&(n=null)),r!=null&&this.fontSize(r),i=this._fontFamilies[n])return this._font=i,this;const a="F"+ ++this._fontCount;return this._font=n1.open(this,t,e,a),(i=this._fontFamilies[this._font.name])?(this._font=i,this):(n&&(this._fontFamilies[n]=this._font),this._font.name&&(this._fontFamilies[this._font.name]=this._font),this)},fontSize(t){return this._fontSize=t,this},currentLineHeight(t){return t==null&&(t=!1),this._font.lineHeight(this._fontSize,t)},registerFont(t,e,r){return this._registeredFonts[t]={src:e,family:r},this}};const{number:Ca}=Xi;var YH={initText(){return this._line=this._line.bind(this),this.x=0,this.y=0,this._lineGap=0},_text(t,e,r,n,i){n=this._initOptions(e,r,n),t=t==null?"":""+t,n.wordSpacing&&(t=t.replace(/\s{2,}/g," "));const a=()=>{n.structParent&&n.structParent.add(this.struct(n.structType||"P",[this.markStructureContent(n.structType||"P")]))};for(let o of t.split(`
`))a(),i(o,n);return this},text(t,e,r,n){return this._text(t,e,r,n,this._line)},widthOfString(t,e){return e===void 0&&(e={}),this._font.widthOfString(t,this._fontSize,e.features)+(e.characterSpacing||0)*(t.length-1)},_initOptions(t,e,r){t===void 0&&(t={}),r===void 0&&(r={}),typeof t=="object"&&(r=t,t=null);const n=Object.assign({},r);if(this._textOptions)for(let i in this._textOptions){const a=this._textOptions[i];i!=="continued"&&n[i]===void 0&&(n[i]=a)}return t!=null&&(this.x=t),e!=null&&(this.y=e),n.lineBreak!==!1&&(n.width==null&&(n.width=this.page.width-this.x-this.page.margins.right),n.width=Math.max(n.width,0)),n.columns||(n.columns=0),n.columnGap==null&&(n.columnGap=18),n},_line(t,e){return e===void 0&&(e={}),this._fragment(t,this.x,this.y,e),this.x+=this.widthOfString(t)},_fragment(t,e,r,n){if(t=(""+t).replace(/\n/g,""),t.length===0)return;const[i,a]=this._font.encode(t,n.features),o=this._font.ascender/1e3*this._fontSize;this._glyphs(i,a,e,r+o,n)},_glyphs(t,e,r,n,i){const a=[],o=this._fontSize/1e3;let s,u=0,l=!1;this.save(),this.transform(1,0,0,-1,0,this.page.height),n=this.page.height-n,this.page.fonts[this._font.id]==null&&(this.page.fonts[this._font.id]=this._font.ref()),this.addContent("BT"),this.addContent("1 0 0 1 "+Ca(r)+" "+Ca(n)+" Tm"),this.addContent("/"+this._font.id+" "+Ca(this._fontSize)+" Tf");const f=i.fill&&i.stroke?2:i.stroke?1:0;f&&this.addContent(f+" Tr");const h=p=>{if(u<p){const C=t.slice(u,p).join(""),w=e[p-1].xAdvance-e[p-1].advanceWidth;a.push("<"+C+"> "+Ca(-w))}return u=p},g=p=>{if(h(p),a.length>0)return this.addContent("["+a.join(" ")+"] TJ"),a.length=0};for(s=0;s<e.length;s++){const p=e[s];p.xOffset||p.yOffset?(g(s),this.addContent("1 0 0 1 "+Ca(r+p.xOffset*o)+" "+Ca(n+p.yOffset*o)+" Tm"),g(s+1),l=!0):(l&&(this.addContent("1 0 0 1 "+Ca(r)+" "+Ca(n)+" Tm"),l=!1),p.xAdvance-p.advanceWidth!==0&&h(s+1)),r+=p.xAdvance*o}return g(s),this.addContent("ET"),this.restore()}};const zH={1:"DeviceGray",3:"DeviceRGB",4:"DeviceCMYK"};let WH=class{constructor(e,r){if(this.data=e,this.label=r,this.orientation=1,this.data.readUInt16BE(0)!==65496)throw"SOI not found in JPEG";const n=bI.decode(this.data);for(let i=0;i<n.length;i+=1){const a=n[i];a.name==="EXIF"&&a.entries.orientation&&(this.orientation=a.entries.orientation),a.name==="SOF"&&(this.bits||(this.bits=a.precision),this.width||(this.width=a.width),this.height||(this.height=a.height),this.colorSpace||(this.colorSpace=zH[a.numberOfComponents]))}this.obj=null}embed(e){if(!this.obj)return this.obj=e.ref({Type:"XObject",Subtype:"Image",BitsPerComponent:this.bits,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode"}),this.colorSpace==="DeviceCMYK"&&(this.obj.data.Decode=[1,0,1,0,1,0,1,0]),this.obj.end(this.data),this.data=null}};class qH{constructor(e,r){this.label=r,this.image=new Cu(e),this.width=this.image.width,this.height=this.image.height,this.imgData=this.image.imgData,this.obj=null}embed(e){let r=!1;if(this.document=e,this.obj)return;const n=this.image.hasAlphaChannel,i=this.image.interlaceMethod===1;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 a=this.document.ref({Predictor:i?1:15,Colors:this.image.colors,BitsPerComponent:this.image.bits,Columns:this.width});this.obj.data.DecodeParms=a,a.end()}if(this.image.palette.length===0)this.obj.data.ColorSpace=this.image.colorSpace;else{const a=this.document.ref();a.end(fe.from(this.image.palette)),this.obj.data.ColorSpace=["Indexed","DeviceRGB",this.image.palette.length/3-1,a]}if(this.image.transparency.grayscale!=null){const a=this.image.transparency.grayscale;this.obj.data.Mask=[a,a]}else if(this.image.transparency.rgb){const{rgb:a}=this.image.transparency,o=[];for(let s of a)o.push(s,s);this.obj.data.Mask=o}else{if(this.image.transparency.indexed)return r=!0,this.loadIndexedAlphaChannel();if(n)return r=!0,this.splitAlphaChannel()}if(i&&!r)return this.decodeData();this.finalize()}finalize(){if(this.alphaChannel){const e=this.document.ref({Type:"XO
<?xpacket begin="\uFEFF" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
`}_closeTags(){this._metadata=this._metadata.concat(`
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>
`)}append(e,r){r===void 0&&(r=!0),this._metadata=this._metadata.concat(e),r&&(this._metadata=this._metadata.concat(`
`))}getXML(){return this._metadata}getLength(){return this._metadata.length}end(){this._closeTags(),this._metadata=this._metadata.trim()}}var nY={initMetadata(){this.metadata=new rY},appendXML(t,e){e===void 0&&(e=!0),this.metadata.append(t,e)},_addInfo(){this.appendXML(`
<rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/">
<xmp:CreateDate>`+(this.info.CreationDate.toISOString().split(".")[0]+"Z")+`</xmp:CreateDate>
<xmp:CreatorTool>`+this.info.Creator+`</xmp:CreatorTool>
</rdf:Description>
`),(this.info.Title||this.info.Author||this.info.Subject)&&(this.appendXML(`
<rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
`),this.info.Title&&this.appendXML(`
<dc:title>
<rdf:Alt>
<rdf:li xml:lang="x-default">`+this.info.Title+`</rdf:li>
</rdf:Alt>
</dc:title>
`),this.info.Author&&this.appendXML(`
<dc:creator>
<rdf:Seq>
<rdf:li>`+this.info.Author+`</rdf:li>
</rdf:Seq>
</dc:creator>
`),this.info.Subject&&this.appendXML(`
<dc:description>
<rdf:Alt>
<rdf:li xml:lang="x-default">`+this.info.Subject+`</rdf:li>
</rdf:Alt>
</dc:description>
`),this.appendXML(`
</rdf:Description>
`)),this.appendXML(`
<rdf:Description rdf:about="" xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
<pdf:Producer>`+this.info.Creator+"</pdf:Producer>",!1),this.info.Keywords&&this.appendXML(`
<pdf:Keywords>`+this.info.Keywords+"</pdf:Keywords>",!1),this.appendXML(`
</rdf:Description>
`)},endMetadata(){this._addInfo(),this.metadata.end(),this.version!=1.3&&(this.metadataRef=this.ref({length:this.metadata.getLength(),Type:"Metadata",Subtype:"XML"}),this.metadataRef.compress=!1,this.metadataRef.write(fe.from(this.metadata.getXML(),"utf-8")),this.metadataRef.end(),this._root.data.Metadata=this.metadataRef)}};const uv=t=>t[0].toUpperCase()+t.slice(1);class hw extends $6.Readable{constructor(e){switch(e===void 0&&(e={}),super(),this.options=e,e.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;break}this.compress=this.options.compress!=null?this.options.compress:!0,this._pageBuffer=[],this._pageBufferStart=0,this._offsets=[],this._waiting=0,this._ended=!1,this._offset=0;const r=this.ref({Type:"Pages",Count:0,Kids:[]}),n=this.ref({Dests:new CA});if(this._root=this.ref({Type:"Catalog",Pages:r,Names:n}),this.options.lang&&(this._root.data.Lang=new String(this.options.lang)),this.options.pageLayout&&(this._root.data.PageLayout=uv(this.options.pageLayout)),this.options.pageMode&&(this._root.data.PageMode=uv(this.options.pageMode)),this.page=null,this.initColor(),this.initVector(),this.initFonts(),this.initText(),this.initImages(),this.initOutline(),this.info={Producer:"PDFKit",Creator:"PDFKit",CreationDate:new Date},this.options.info)for(let i in this.options.info){const a=this.options.info[i];this.info[i]=a}this.options.displayTitle&&(this._root.data.ViewerPreferences=this.ref({DisplayDocTitle:!0})),this._id=uH.generateFileID(this.info),this._write("%PDF-"+this.version),this._write("%ÿÿÿÿ"),this.options.autoFirstPage!==!1&&this.addPage()}addPage(e){e==null&&({options:e}=this),this.options.bufferPages||this.flushPages(),this.page=new sH(this,e),this._pageBuffer.push(this.page);const r=this._root.data.Pages.data;return r.Kids.push(this.page.dictionary),r.Count++,this._ctm=[1,0,0,1,0,0],this.transform(1,0,0,-1,0,this.page.height),this}flushPages(){const e=this._pageBuffer;this._pageBuffer=[],this._pageBufferStart+=e.length;for(let r of Array.from(e))r.end()}addNamedDestination(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];n.length===0&&(n=["XYZ",null,null,null]),n[0]==="XYZ"&&n[2]!==null&&(n[2]=this.page.height-n[2]),n.unshift(this.page.dictionary),this._root.data.Names.data.Dests.add(e,n)}addNamedEmbeddedFile(e,r){this._root.data.Names.data.EmbeddedFiles||(this._root.data.Names.data.EmbeddedFiles=new CA({limits:!1})),this._root.data.Names.data.EmbeddedFiles.add(e,r)}addNamedJavaScript(e,r){this._root.data.Names.data.JavaScript||(this._root.data.Names.data.JavaScript=new CA);let n={JS:new String(r),S:"JavaScript"};this._root.data.Names.data.JavaScript.add(e,n)}ref(e){const r=new lw(this,this._offsets.length+1,e);return this._offsets.push(null),this._waiting++,r}_read(){}_write(e){return fe.isBuffer(e)||(e=fe.from(e+`
`,"binary")),this.push(e),this._offset+=e.length}addContent(e){return this.page.write(e),this}_refEnd(e){if(this._offsets[e.id-1]=e.offset,--this._waiting===0&&this._ended)return this._finalize(),this._ended=!1}end(){this.flushPages(),this._info=this.ref();for(let e in this.info){let r=this.info[e];typeof r=="string"&&(r=new String(r));let n=this.ref(r);n.end(),this._info.data[e]=n}this._info.end();for(let e in this._fontFamilies)this._fontFamilies[e].finalize();if(this.endOutline(),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._waiting===0)return this._finalize();this._ended=!0}_finalize(){const e=this._offset;this._write("xref"),this._write("0 "+(this._offsets.length+1)),this._write("0000000000 65535 f ");for(let n of Array.from(this._offsets))n=("0000000000"+n).slice(-10),this._write(n+" 00000 n ");const r={Size:this._offsets.length+1,Root:this._root,Info:this._info,ID:[this._id,this._id]};return this._write("trailer"),this._write(Xi.convert(r)),this._write("startxref"),this._write(""+e),this._write("%%EOF"),this.push(null)}toString(){return"[object PDFDocument]"}initColor(){}initVector(){}initFonts(){}initText(){}initImages(){}initOutline(){}transform(e,r,n,i,a,o){}endOutline(){}endAcroForm(){}}const Wn=t=>{Object.assign(hw.prototype,t)};Wn(nY);Wn(CH);Wn(_H);Wn(HH);Wn(YH);Wn(VH);Wn(JH);Wn(KH);Wn($H);Wn(XH);Wn(eY);var sd="(".charCodeAt(0),ld=")".charCodeAt(0),zc="'".charCodeAt(0),ud='"'.charCodeAt(0),cd="\\".charCodeAt(0),Qs="/".charCodeAt(0),Ad=",".charCodeAt(0),fd=":".charCodeAt(0),Wc="*".charCodeAt(0),iY="u".charCodeAt(0),aY="U".charCodeAt(0),oY="+".charCodeAt(0),sY=/^[a-f0-9?-]+$/i,lY=function(t){for(var e=[],r=t,n,i,a,o,s,u,l,f,h=0,g=r.charCodeAt(h),p=r.length,C=[{nodes:e}],w=0,B,D="",b="",Q="";h<p;)if(g<=32){n=h;do n+=1,g=r.charCodeAt(n);while(g<=32);o=r.slice(h,n),a=e[e.length-1],g===ld&&w?Q=o:a&&a.type==="div"?(a.after=o,a.sourceEndIndex+=o.length):g===Ad||g===fd||g===Qs&&r.charCodeAt(n+1)!==Wc&&(!B||B&&B.type==="function"&&B.value!=="calc")?b=o:e.push({type:"space",sourceIndex:h,sourceEndIndex:n,value:o}),h=n}else if(g===zc||g===ud){n=h,i=g===zc?"'":'"',o={type:"string",sourceIndex:h,quote:i};do if(s=!1,n=r.indexOf(i,n+1),~n)for(u=n;r.charCodeAt(u-1)===cd;)u-=1,s=!s;else r+=i,n=r.length-1,o.unclosed=!0;while(s);o.value=r.slice(h+1,n),o.sourceEndIndex=o.unclosed?n:n+1,e.push(o),h=n+1,g=r.charCodeAt(h)}else if(g===Qs&&r.charCodeAt(h+1)===Wc)n=r.indexOf("*/",h),o={type:"comment",sourceIndex:h,sourceEndIndex:n+2},n===-1&&(o.unclosed=!0,n=r.length,o.sourceEndIndex=n),o.value=r.slice(h+2,n),e.push(o),h=n+2,g=r.charCodeAt(h);else if((g===Qs||g===Wc)&&B&&B.type==="function"&&B.value==="calc")o=r[h],e.push({type:"word",sourceIndex:h-b.length,sourceEndIndex:h+o.length,value:o}),h+=1,g=r.charCodeAt(h);else if(g===Qs||g===Ad||g===fd)o=r[h],e.push({type:"div",sourceIndex:h-b.length,sourceEndIndex:h+o.length,value:o,before:b,after:""}),b="",h+=1,g=r.charCodeAt(h);else if(sd===g){n=h;do n+=1,g=r.charCodeAt(n);while(g<=32);if(f=h,o={type:"function",sourceIndex:h-D.length,value:D,before:r.slice(f+1,n)},h=n,D==="url"&&g!==zc&&g!==ud){n-=1;do if(s=!1,n=r.indexOf(")",n+1),~n)for(u=n;r.charCodeAt(u-1)===cd;)u-=1,s=!s;else r+=")",n=r.length-1,o.unclosed=!0;while(s);l=n;do l-=1,g=r.charCodeAt(l);while(g<=32);f<l?(h!==l+1?o.nodes=[{type:"word",sourceIndex:h,sourceEndIndex:l+1,value:r.slice(h,l+1)}]:o.nodes=[],o.unclosed&&l+1!==n?(o.after="",o.nodes.push({type:"space",sourceIndex:l+1,sourceEndIndex:n,value:r.slice(l+1,n)})):(o.after=r.slice(l+1,n),o.sourceEndIndex=n)):(o.after="",o.nodes=[]),h=n+1,o.sourceEndIndex=o.unclosed?n:h,g=r.charCodeAt(h),e.push(o)}else w+=1,o.after="",o.sourceEndIndex=h+1,e.push(o),C.push(o),e=o.nodes=[],B=o;D=""}else if(ld===g&&w)h+=1,g=r.charCodeAt(h),B.after=Q,B.sourceEndIndex+=Q.length,Q="",w-=1,C[C.length-1].sourceEndIndex=h,C.pop(),B=C[w],e=B.nodes;else{n=h;do g===cd&&(n+=1),n+=1,g=r.charCodeAt(n);while(n<p&&!(g<=32||g===zc||g===ud||g===Ad||g===fd||g===Qs||g===sd||g===Wc&&B&&B.
@react-pdf/stylesheet parsing error:
`+t+": "+e+`,
`+" ".repeat(t.length+2)+`^
Unsupported `+t+` value format
`)},$a=function(t){let{expandsTo:e,maxValues:r=1,autoSupported:n=!1}=t===void 0?{}:t;return(i,a)=>{const o=uY(""+a),s=[];for(let l=0;l<o.length;l++){const f=o[l];if(f.type==="function"||f.type==="string"||f.type==="div")return dd(i,a),{};if(f.type==="word")if(f.value==="auto"&&n)s.push(f.value);else{const h=dY(f.value);if(h&&qY.includes(h.unit))s.push(f.value);else return dd(i,a),{}}}if(s.length>r)return dd(i,a),{};const u=s[0];if(e){const l=s[1]||s[0],f=s[2]||s[0],h=s[3]||s[1]||s[0];return e({first:u,second:l,third:f,fourth:h})}return{[i]:u}}},jY=$a({expandsTo:t=>{let{first:e,second:r,third:n,fourth:i}=t;return{marginTop:e,marginRight:r,marginBottom:n,marginLeft:i}},maxValues:4,autoSupported:!0}),VY=$a({expandsTo:t=>{let{first:e,second:r}=t;return{marginTop:e,marginBottom:r}},maxValues:2,autoSupported:!0}),JY=$a({expandsTo:t=>{let{first:e,second:r}=t;return{marginRight:e,marginLeft:r}},maxValues:2,autoSupported:!0}),qc=$a({autoSupported:!0}),KY=/(-?\d+(\.\d+)?(px|in|mm|cm|pt|vw|vh|px)?)\s(\S+)\s(.+)/,ZY=t=>t.match(KY)||[],Hi=(t,e)=>{const r=ZY(""+e);if(r){const n=r[5]||e,i=r[4]||e,a=r[1]||e;return t.match(/(Top|Right|Bottom|Left)$/)?{[t+"Color"]:n,[t+"Style"]:i,[t+"Width"]:a}:t.match(/Color$/)?{borderTopColor:n,borderRightColor:n,borderBottomColor:n,borderLeftColor:n}:t.match(/Style$/)?{borderTopStyle:i,borderRightStyle:i,borderBottomStyle:i,borderLeftStyle:i}:t.match(/Width$/)?{borderTopWidth:a,borderRightWidth:a,borderBottomWidth:a,borderLeftWidth:a}:t.match(/Radius$/)?{borderTopLeftRadius:e,borderTopRightRadius:e,borderBottomRightRadius:e,borderBottomLeftRadius:e}:{borderTopColor:n,borderTopStyle:i,borderTopWidth:a,borderRightColor:n,borderRightStyle:i,borderRightWidth:a,borderBottomColor:n,borderBottomStyle:i,borderBottomWidth:a,borderLeftColor:n,borderLeftStyle:i,borderLeftWidth:a}}return e},$Y=$a({expandsTo:t=>{let{first:e,second:r,third:n,fourth:i}=t;return{paddingTop:e,paddingRight:r,paddingBottom:n,paddingLeft:i}},maxValues:4}),XY=$a({expandsTo:t=>{let{first:e,second:r}=t;return{paddingTop:e,paddingBottom:r}},maxValues:2}),ez=$a({expandsTo:t=>{let{first:e,second:r}=t;return{paddingRight:e,paddingLeft:r}},maxValues:2}),jc=$a(),tz=(t,e)=>{const r=(""+e).split(" ");return{objectPositionX:(r==null?void 0:r[0])||e,objectPositionY:(r==null?void 0:r[1])||e}},Av={top:!0,bottom:!0},rz=(t,e)=>Av[t]?1:Av[e]?-1:0,nz=t=>!t||t.length===0?["center","center"]:(t.length===1?[t[0],"center"]:t).sort(rz),iz=(t,e)=>{const r=(""+e).split(" "),n=nz(r);return{transformOriginX:n[0],transformOriginY:n[1]}},az=(t,e)=>{const r=(""+e).split(" ");return{rowGap:(r==null?void 0:r[0])||e,columnGap:(r==null?void 0:r[1])||e}},fv={flex:WY,gap:az,margin:jY,marginHorizontal:JY,marginVertical:VY,marginTop:qc,marginRight:qc,marginBottom:qc,marginLeft:qc,padding:$Y,paddingHorizontal:ez,paddingVertical:XY,paddingTop:jc,paddingRight:jc,paddingBottom:jc,paddingLeft:jc,border:Hi,borderTop:Hi,borderRight:Hi,borderBottom:Hi,borderLeft:Hi,borderColor:Hi,borderRadius:Hi,borderStyle:Hi,borderWidth:Hi,objectPosition:tz,transformOrigin:iz},oz=(t,e)=>fv[t]?fv[t](t,e):{[t]:e},sz=t=>{if(!t)return t;const e=Object.keys(t),r={};for(let n=0;n<e.length;n+=1){const i=e[n],a=t[i],o=oz(i,a),s=Object.keys(o);for(let u=0;u<s.length;u+=1){const l=s[u],f=o[l];r[l]=f}}return r},lz=t=>t.filter(Boolean),uz=t=>t.reduce((e,r)=>{const n=Array.isArray(r)?Yg(r):r;return Object.keys(n).forEach(i=>{n[i]!==null&&n[i]!==void 0&&(e[i]=n[i])}),e},{}),Yg=Sr(uz,lz,Qf),cz=t=>{const e=/^(-?\d*\.?\d+)(in|mm|cm|pt|vh|vw|px)?$/g.exec(t);return e?{value:parseFloat(e[1]),unit:e[2]||"pt"}:{value:t,unit:void 0}},Az=(t,e)=>{const r=cz(e),n=72,i=1/25.4*n,a=1/2.54*n;switch(r.unit){case"in":return r.value*n;case"mm":return r.value*i;case"cm":return r.value*a;case"vh":return r.value*(t.height/100);case"vw":return r.value*(t.width/100);default:return r.value}},fz=t=>/rgba?/g.test(t),hz=t=>/hsla?/g.test(t),dz=t=>{const e=cu.get.rgb(t);return cu.to.hex(e)},gz=t=>{const e=cu.get.hsl(t).map(Math.round);return IY(...e).toUpperCase()},bA=t=>fz(t)?dz(t):hz(t)?gz(t):t,pz=t=>{const e=t.trim().split(/\) |\)/);if(
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var mw={exports:{}};(function(t){(function(e,r){t.exports?t.exports=r():e.createHyphenator=r()})(Ei,function(){function e(I){var R="",k="",O=0,H=I();return function(L){for(;O<L.length;){R=L.charAt(O++),k=L.charAt(O);var G=H(R,k);if(G!==void 0)return G}}}var r=RegExp.prototype.test.bind(/\s|(?![\'])[\!-\@\[-\`\{-\~\u2013-\u203C]/);function n(){var I=!1;return function(R,k){return I?k[0]===">"&&(R(),I=!1):k[0]==="<"&&(!r(k[1])||k[1]==="/")&&(I=!0),I}}function i(I){var R=!1;return function(k,O){return R?!r(O[0])&&r(O[1])&&(k(),R=!1):!r(O[0])&&O[1]===I&&(R=!0),R}}function a(I,R){return function(){var k="",O="";function H(){k+=O,O=""}function L(G){return k="",O="",G}return function(G,K){O+=G;var ae=I.reduce(function(q,ne){return q||ne(H,[G,K])},!1);if(!ae&&(r(G)&&!r(K)&&H(),!r(G)&&r(K))){if(O.length>=R)return L([k,O]);H()}if(K==="")return(O.length<R||ae)&&H(),L([k,O])}}}function o(I){var R=0;function k(){return I[R++]}return k}function s(I){var R=0,k=I;function O(){if(k=I.slice(R++),!(k.length<3))return k}function H(){return R===2}return[O,H]}function u(I,R,k,O,H){for(var L=new Array(I.length+1),G=("."+I.toLocaleLowerCase()+".").split(""),K,ae,q,ne,oe,ue,ge=-1,me,_e,le,ie,J=L.length;J--;)L[J]=0;for(me=s(G),_e=me[0],le=me[1];K=_e();)for(ge++,le()&&ge--,q=k,ie=o(K);(ae=ie())&&(ne=q[ae])!==void 0;){switch(q={},oe=-1,Object.prototype.toString.call(ne)){case"[object Array]":q=ne[0],oe=ne[1];break;case"[object Object]":q=ne;break;case"[object Number]":oe=ne;break}if(!(oe<0)){R[oe].splice||(R[oe]=R[oe].slice("")),ue=R[oe];for(var $=0;$<ue.length;$++)L[ge+$]=Math.max(ue[$],L[ge+$])}}L[0]=L[1]=L[L.length-1]=L[L.length-2]=0;for(var Fe="",J=0;J<L.length;J++)Fe+=(L[J]%2===1?H:"")+I.charAt(J);return Fe}function l(I,R,k,O,H,L,G,K,ae){function q(){ge(ne)}var ne="",oe,ue=e(a((G?[n()]:[]).concat(i(L)),K)),ge=function(){};function me(){for(var _e=new Date;(!ae||new Date-_e<10)&&(oe=ue(I));){if(oe[1]){var le=oe[1].length?"~"+oe[1]:"";O[le]===void 0&&(O[le]=u(oe[1],R,k,H,L)),oe[1]=O[le]}ne+=oe[0]+oe[1]}oe?setTimeout(me):q()}return ae?(setTimeout(me),new Promise(function(_e){ge=_e})):(me(),ne)}var f=!1,h=!1,g=[],p=!0,C="­",w=5,B="async",D="debug",b="exceptions",Q="html",_="hyphenChar",y="minWordLength",M=typeof Ei=="object"?Ei:typeof window=="object"?window:typeof self=="object"?self:{};function N(I,R){I=I||{};for(var k in R)I[k]=R[k];return I}function P(I){return I instanceof Array}function T(I,R,k,O){return R in I&&(!O||O(I[R]))?I[R]:k}function j(I,R){return I.reduce(function(k,O){return k["~"+O.replace(/\-/g,"")]=O.replace(/\-/g,R),k},{})}function z(I,R){R=R||{};var k=T(R,B,f),O={},H=T(R,D,h),L={},G=T(R,_,C),K=I[0].split(","),ae=JSON.parse(I[1]),q=T(R,y,w)>>0,ne=T(R,Q,p),oe=T(R,b,g,P),ue=G+q;if(L[ue]={},I[2]&&(L[ue]=j(I[2],G)),oe&&oe.length&&(L[ue]=N(L[ue],j(oe,G))),O[ue]=N({},L[ue]),k&&!("Promise"in M))throw new Error("Failed to create hyphenator: Could not find global Promise object, needed for hyphenator to work in async mode");return function(ge,me){me=me||{};var _e=T(me,D,H),le=T(me,_,G),ie=T(me,y,q)>>0,J=T(me,b,g,P),$=le+ie;return!L[$]&&I[2]&&(L[$]=j(I[2],le),O[$]=N(O[$],L[$])),J&&J.length&&(L[$]=N(L[$],j(J,le)),O[$]=N(O[$],L[$])),l(ge,K,ae,O[$],_e,le,ne,ie,k)}}return z})})(mw);var Bz=mw.exports;const Dz=f0(Bz);var vw={exports:{}};(function(t){(function(e,r){t.exports?t.exports=r():e.hyphenationPatternsEnUs=r()})(Ei,function(){return["0004,004,001,003,005,0005,00005,000005,0002,002,0000005,0003,00003,00505,00034,0001,00055,00004,4,05,0055,04,42,03,02,2,404,3,044,01,0505,55,5,045,041,0033,000004,22,00504,5504,0042,1,21,41,402,405,4004,43,23,000054,303,3005,022,5004,000003,252,45,25,2004,000505,054,403,401,3002,0025,144,432,00054,34,12,234,0022,014,0304,012,143,503,0403,101,052,414,212,011,043,00002,0041,0024,05005,03003,00102,0404,04303,01004,0034,025,0044,00404,00025,0103,042,0205,412,104,54,344,433,5005,253,055,0402,3004,0043,204,505,454,0000004,00303,04004,552,201,4005,0255,52,444,14,44,02004,033,05004,00045,00013,0021,0405,00044,0054,50055,000303,00
`)+1;i>0;)r.push(js(n,i,e)),n=i,i=e.string.indexOf(`
`,i)+1;return n===0?r.push(e):n<e.string.length&&r.push(js(n,kw(e),e)),r}},Tw=function(e){return e.reduce(function(r,n){return r+(n.xAdvance||0)},0)},jg=function(e){return Tw(e.positions||[])},Vg=function(e){var r=function(i,a){return i+jg(a)};return e.runs.reduce(r,0)},FW=32,Jg=function(e){var r=(e==null?void 0:e.codePoints)||[];return r.includes(FW)},SW=function(e){var r=e.glyphs||[],n=e.positions||[],i=r.findIndex(function(a){return!Jg(a)});return n.slice(0,i)},kW=function(e){var r=SW(e);return r.reduce(function(n,i){return n+(i.xAdvance||0)},0)},RW=function(e){var r=e.runs||[];return kW(r[0])},wv=function(e){return[].concat(e).reverse()},TW=function(e){var r=wv(e.glyphs||[]),n=wv(e.positions||[]),i=r.findIndex(function(a){return!Jg(a)});return n.slice(0,i)},NW=function(e){var r=TW(e);return r.reduce(function(n,i){return n+(i.xAdvance||0)},0)},OW=function(e){var r=e.runs||[];return NW(ta(r))},LW=function(e){return Bu(0,e.end-e.start-1,e)},MW=function(e){var r=QF(e.string),n=bF(-1,LW,e.runs);return Object.assign({},e,{string:r,runs:n})},PW={center:.5,right:1},UW=function(e){return ta(e.string)===`
`?MW(e):e},GW=function(e){return RW(e)+(e.overflowLeft||0)},HW=function(e){return OW(e)+(e.overflowRight||0)},YW=function(e){var r=GW(e),n=HW(e),i=e.box.x-r,a=e.box.width+r+n,o=Object.assign({},e.box,{x:i,width:a});return Object.assign({},e,{box:o,overflowLeft:r,overflowRight:n})},zW=function(e,r,n){return function(i){var a=Vg(i),o=PW[n]||0,s=Math.max(0,i.box.width-a),u=n==="justify"||a>i.box.width,l=i.box.x+s*o,f=Object.assign({},i.box,{x:l}),h=Object.assign({},i,{box:f});return u?e.justification(r)(h):h}},WW=function(e){var r=0,n=0,i=0,a=0,o=e.runs.map(function(s){var u=Fw(s),l=i1(s),f=_w(s),h=jg(s);return i=Math.max(i,u),r=Math.max(r,l),n=Math.max(n,f),a+=h,Object.assign({},s,{height:u,ascent:l,descent:f,xAdvance:h})});return Object.assign({},e,{runs:o,height:i,ascent:r,descent:n,xAdvance:a})},qW=function(e,r){return e===void 0&&(e={}),function(n,i,a){var o,s,u=i===a.length-1,l=((o=n.runs)===null||o===void 0||(s=o[0])===null||s===void 0?void 0:s.attributes)||{},f=u?l.alignLastLine:l.align;return Sr(WW,e.textDecoration(r),zW(e,r,f),YW,UW)(n)}},jW=function(e,r){return function(n){var i=qW(e,r);return n.map(function(a){return a.map(i)})}},VW=65532,JW=function(e){return e.codePoints.includes(VW)},KW=function(e){var r;if(!e.positions)return e;var n=e.glyphs||[],i=((r=e.attributes)===null||r===void 0?void 0:r.attachment)||{},a=e.positions.map(function(o,s){var u=n[s];return i&&i.width&&JW(u)?Object.assign({},o,{xAdvance:i.width}):Object.assign({},o)});return Object.assign({},e,{positions:a})},ZW=function(){return function(e){var r=e.runs.map(KW);return Object.assign({},e,{runs:r})}},$W=function(e){return{align:e.align||(e.direction==="rtl"?"right":"left"),alignLastLine:e.alignLastLine||(e.align==="justify"?"left":e.align||"left"),attachment:e.attachment||null,backgroundColor:e.backgroundColor||null,bullet:e.bullet||null,characterSpacing:e.characterSpacing||0,color:e.color||"black",direction:e.direction||"ltr",features:e.features||[],fill:e.fill!==!1,font:e.font||null,fontSize:e.fontSize||12,hangingPunctuation:e.hangingPunctuation||!1,hyphenationFactor:e.hyphenationFactor||0,indent:e.indent||0,justificationFactor:e.justificationFactor||1,lineHeight:e.lineHeight||null,lineSpacing:e.lineSpacing||0,link:e.link||null,marginLeft:e.marginLeft||e.margin||0,marginRight:e.marginRight||e.margin||0,opacity:e.opacity,paddingTop:e.paddingTop||e.padding||0,paragraphSpacing:e.paragraphSpacing||0,script:e.script||null,shrinkFactor:e.shrinkFactor||0,strike:e.strike||!1,strikeColor:e.strikeColor||e.color||"black",strikeStyle:e.strikeStyle||"solid",stroke:e.stroke||!1,underline:e.underline||!1,underlineColor:e.underlineColor||e.color||"black",underlineStyle:e.underlineStyle||"solid",verticalAlign:e.verticalAlign||null,wordSpacing:e.wordSpacing||0,yOffset:e.yOffset||0}},XW=function(e){var r=$W(e.attributes);return Object.assign({},e,{attributes:r})},eq=function(){return function(e){var r=e.string||"",n=(e.runs||[]).map(XW);return{string:r,runs:n}}},tq=function(){return function(e){return e.runs.forEach(function(r){var n=r.attributes,i=n.verticalAlign;i==="sub"?n.yOffset=-.2:i==="super"&&(n.yOffset=.4)}),e}},rq=Wg(),nq=function(e){return e.reduce(function(r,n){var i=n.end-n.start,a=IC(n.attributes.bidiLevel,i);return r.concat(a)},[])},iq=function(){return function(e){var r=nq(e.runs),n="";return e.string.split("").forEach(function(i,a){var o=r[a]%2===1,s=o?rq.getMirroredCharacter(e.string.charAt(a)):null;n+=s||i}),Ln({},e,{string:n,levels:r})}},Nw=function(e){return function(r,n,i){i===void 0&&(i={});var a=Sr(vW(),ZW(),tq(),Sz(e,i),pW(),iq(),xW(e,i)),o=function(u){return u.map(a)};return Sr(jW(e,i),cW(),nW(e,i,n),o,_W(),eq())(r)}},aq=Wg(),Ow=function(){return function(e){for(var r,n=e.string,i=(r=e.runs[0])===null||r===void 0?void 0:r.attributes.direction,a=aq.getEmbeddingLevels(n,i),o=a.levels,s=null,u=0,l=0,f=[],h=0;h<o.length;h+=1){var g=o[h];g!==s&&(s!==null&&f.push({start:u,end:l,attributes:{bidiLevel:s}}),u=l,s=g),l+=1}return u<n.length&&f.push({start:u,end:n.length,attributes:{bidiLevel:s}}),{string:n,runs:f}}},bv=1e4,oq=function(e,r,n){
* @param {Object[]} nodes
* @param {number[]} lines
* @param {Object} settings
* @preserve Knuth and Plass line breaking algorithm in JavaScript
*
* Licensed under the new BSD License.
* Copyright 2009-2010, Bram Stein
* All rights reserved.
*/var qr=function t(e,r,n){var i={demerits:{line:n&&n.demerits&&n.demerits.line||10,flagged:n&&n.demerits&&n.demerits.flagged||100,fitness:n&&n.demerits&&n.demerits.fitness||3e3},tolerance:n&&n.tolerance||3},a=new BA,o={width:0,stretch:0,shrink:0},s=r,u=[],l={data:{demerits:1/0}};function f(C,w,B,D,b,Q,_){return{position:C,demerits:w,ratio:B,line:D,fitnessClass:b,totals:Q||{width:0,stretch:0,shrink:0},previous:_}}function h(C,w,B,D){var b=o.width-B.totals.width,Q=0,_=0,y=D<s.length?s[D-1]:s[s.length-1];return e[w].type==="penalty"&&(b+=e[w].width),b<y?(Q=o.stretch-B.totals.stretch,Q>0?(y-b)/Q:t.infinity):b>y?(_=o.shrink-B.totals.shrink,_>0?(y-b)/_:t.infinity):0}function g(C){for(var w={width:o.width,stretch:o.stretch,shrink:o.shrink},B=C;B<e.length;B+=1)if(e[B].type==="glue")w.width+=e[B].width,w.stretch+=e[B].stretch,w.shrink+=e[B].shrink;else if(e[B].type==="box"||e[B].type==="penalty"&&e[B].penalty===-t.infinity&&B>C)break;return w}function p(C,w,B){for(var D=a.first(),b=null,Q=0,_=0,y=[],M,N=0,P,T=0,j,z,I;D!==null;){for(y=[{demerits:1/0},{demerits:1/0},{demerits:1/0},{demerits:1/0}];D!==null&&(b=D.next,N=D.data.line+1,Q=h(D.data.position,w,D.data,N),(Q<-1||C.type==="penalty"&&C.penalty===-t.infinity)&&a.remove(D),Q>=-1&&Q<=i.tolerance&&(M=100*Math.pow(Math.abs(Q),3),C.type==="penalty"&&C.penalty>=0?_=Math.pow(i.demerits.line+M,2)+Math.pow(C.penalty,2):C.type==="penalty"&&C.penalty!==-t.infinity?_=Math.pow(i.demerits.line+M,2)-Math.pow(C.penalty,2):_=Math.pow(i.demerits.line+M,2),C.type==="penalty"&&B[D.data.position].type==="penalty"&&(_+=i.demerits.flagged*C.flagged*B[D.data.position].flagged),Q<-.5?T=0:Q<=.5?T=1:Q<=1?T=2:T=3,Math.abs(T-D.data.fitnessClass)>1&&(_+=i.demerits.fitness),_+=D.data.demerits,_<y[T].demerits&&(y[T]={active:D,demerits:_,ratio:Q})),D=b,!(D!==null&&D.data.line>=N)););for(P=g(w),j=0;j<y.length;j+=1)z=y[j],z.demerits<1/0&&(I=new BA.Node(f(w,z.demerits,z.ratio,z.active.data.line+1,j,P,z.active)),D!==null?a.insertBefore(D,I):a.push(I))}}if(a.push(new BA.Node(f(0,0,0,0,0,void 0,null))),e.forEach(function(C,w,B){C.type==="box"?o.width+=C.width:C.type==="glue"?(w>0&&B[w-1].type==="box"&&p(C,w,B),o.width+=C.width,o.stretch+=C.stretch,o.shrink+=C.shrink):C.type==="penalty"&&C.penalty!==t.infinity&&p(C,w,B)}),a.size()!==0){for(a.forEach(function(C){C.data.demerits<l.data.demerits&&(l=C)});l!==null;)u.push({position:l.data.position,ratio:l.data.ratio}),l=l.data.previous;return u.reverse()}return[]};qr.infinity=1e4;qr.glue=function(t,e,r,n){return{type:"glue",value:e,width:t,stretch:r,shrink:n}};qr.box=function(t,e,r){return r===void 0&&(r=!1),{type:"box",width:t,value:e,hyphenated:r}};qr.penalty=function(t,e,r){return{type:"penalty",width:t,penalty:e,flagged:r}};var uq=function(e,r){var n=r.start+e,i=r.end+e;return Object.assign({},r,{start:n,end:i})},cq=function(e){return e.end-e.start},Aq=function(e,r){var n=e.end+cq(r),i=(e.glyphs||[]).concat(r.glyphs||[]),a=(e.positions||[]).concat(r.positions||[]),o=Object.assign({},e.attributes,r.attributes),s=e.glyphIndices||[],u=ta(s)||0,l=(r.glyphIndices||[]).map(function(h){return h+u+1}),f=Cw(s.concat(l));return Object.assign({},e,{end:n,glyphs:i,positions:a,attributes:o,glyphIndices:f})},fq=function(e,r,n){if(!r)return n;var i=Bu(0,e,n),a=Bu(e,1/0,n);return Aq(bw(r,i),a)},hq=function(e,r,n){var i=qg(n),a=yw(r)?ww(r,i):r;return fq(e,a,n)},dq=function(e,r){return c2(e,r.runs)},gq=function(e,r,n){var i=dq(e,n);if(i===-1)return Dw(r,n);var a=(r==null?void 0:r.codePoints)||[],o=n.string.slice(0,e)+Bw(a)+n.string.slice(e),s=n.runs.map(function(u,l){return l===i?hq(e-u.start,r,u):l>i?uq(a.length,u):u});return Object.assign({},n,{string:o,runs:s})},pq=function(e,r,n){var i=n.start||0,a=Math.max(0,cf(e-i,n)),o=Math.max(0,cf(r-i,n)),s=(n.positions||[]).slice(a,o);return Tw(s)},mq=function(e,r,n){var i=Iw(e,r,n.runs);return i.reduce(function(a,o){return a+pq(e,r,o)},0)},vq=45,Eq=5,Cq=50,Jc={width:3,stretch:6,shrink:9},Iq=function(e,r,n){var i=0,a=null,o=n.reduce(function(s,u){var l=r[u.position],f=r[u.position-1];if(u.position===r.length-1)return s;var h;return l.typ
`+W.replace(/^Error(:[^\n]*)?\n/,""))});return Y.prototype=Object.create(F.prototype),Y.prototype.constructor=Y,Y.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},Y}var ie=void 0;function J(x){throw new ie(x)}var $=x=>(x||J("Cannot use deleted val. handle = "+x),me[x].value),Fe=x=>{switch(x){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var F=_e.length?_e.pop():me.length;return me[F]={fa:1,value:x},F}},Se=void 0,He=void 0;function ke(x){for(var F="";b[x];)F+=He[b[x++]];return F}var et=[];function ze(){for(;et.length;){var x=et.pop();x.L.Z=!1,x.delete()}}var ce=void 0,Oe={};function Je(x,F){for(F===void 0&&J("ptr should not be undefined");x.P;)F=x.aa(F),x=x.P;return F}var De={};function $e(x){x=vr(x);var F=ke(x);return r0(x),F}function Le(x,F){var Y=De[x];return Y===void 0&&J(F+" has unknown type "+$e(x)),Y}function Pe(){}var Ye=!1;function pt(x){--x.count.value,x.count.value===0&&(x.S?x.T.V(x.S):x.O.M.V(x.N))}function We(x,F,Y){return F===Y?x:Y.P===void 0?null:(x=We(x,F,Y.P),x===null?null:Y.ma(x))}var dt={};function Lt(x,F){return F=Je(x,F),Oe[F]}var bt=void 0;function O0(x){throw new bt(x)}function qt(x,F){return F.O&&F.N||O0("makeClassHandle requires ptr and ptrType"),!!F.T!=!!F.S&&O0("Both smartPtrType and smartPtr must be specified"),F.count={value:1},jt(Object.create(x,{L:{value:F}}))}function jt(x){return typeof FinalizationRegistry>"u"?(jt=F=>F,x):(Ye=new FinalizationRegistry(F=>{pt(F.L)}),jt=F=>{var Y=F.L;return Y.S&&Ye.register(F,{L:Y},F),F},Pe=F=>{Ye.unregister(F)},jt(x))}var tt={};function xt(x){for(;x.length;){var F=x.pop();x.pop()(F)}}function l0(x){return this.fromWireType(y[x>>2])}var e0={},J0={};function Bt(x,F,Y){function W(ye){ye=Y(ye),ye.length!==x.length&&O0("Mismatched type converter count");for(var Qe=0;Qe<x.length;++Qe)L0(x[Qe],ye[Qe])}x.forEach(function(ye){J0[ye]=F});var te=Array(F.length),Ae=[],pe=0;F.forEach((ye,Qe)=>{De.hasOwnProperty(ye)?te[Qe]=De[ye]:(Ae.push(ye),e0.hasOwnProperty(ye)||(e0[ye]=[]),e0[ye].push(()=>{te[Qe]=De[ye],++pe,pe===Ae.length&&W(te)}))}),Ae.length===0&&W(te)}function Vt(x){switch(x){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+x)}}function L0(x,F,Y={}){if(!("argPackAdvance"in F))throw new TypeError("registerType registeredInstance requires argPackAdvance");var W=F.name;if(x||J('type "'+W+'" must have a positive integer typeid pointer'),De.hasOwnProperty(x)){if(Y.ta)return;J("Cannot register type '"+W+"' twice")}De[x]=F,delete J0[x],e0.hasOwnProperty(x)&&(F=e0[x],delete e0[x],F.forEach(te=>te()))}function Or(x){J(x.L.O.M.name+" instance already deleted")}function K0(){}function Lr(x,F,Y){if(x[F].R===void 0){var W=x[F];x[F]=function(){return x[F].R.hasOwnProperty(arguments.length)||J("Function '"+Y+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+x[F].R+")!"),x[F].R[arguments.length].apply(this,arguments)},x[F].R=[],x[F].R[W.Y]=W}}function Mr(x,F){a.hasOwnProperty(x)?(J("Cannot register public name '"+x+"' twice"),Lr(a,x,x),a.hasOwnProperty(void 0)&&J("Cannot register multiple overloads of a function with the same number of arguments (undefined)!"),a[x].R[void 0]=F):a[x]=F}function M0(x,F,Y,W,te,Ae,pe,ye){this.name=x,this.constructor=F,this.W=Y,this.V=W,this.P=te,this.oa=Ae,this.aa=pe,this.ma=ye,this.ia=[]}function v0(x,F,Y){for(;F!==Y;)F.aa||J("Expected null or instance of "+Y.name+", got an instance of "+F.name),x=F.aa(x),F=F.P;return x}function Xr(x,F){return F===null?(this.da&&J("null is not a valid "+this.name),0):(F.L||J('Cannot pass "'+gr(F)+'" as a '+this.name),F.L.N||J("Cannot pass deleted object as a pointer of type "+this.name),v0(F.L.N,F.L.O.M,this.M))}function hr(x,F){if(F===null){if(this.da&&J("null is not a valid "+this.name),this.ca){var Y=this.ea();return x!==null&&x.push(this.V,Y),Y}return 0}if(F.L||J('Cannot pass "'+gr(F)+'" as a '+this.name),F.L.N||J("Cannot pass deleted object as a pointer of type "+this.name),!this.ba&&F.L.O.ba&&J("Cannot convert argument of ty
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/var Kq=50;Ee.TYPED_ARRAY_SUPPORT=Qv.TYPED_ARRAY_SUPPORT!==void 0?Qv.TYPED_ARRAY_SUPPORT:!0;Af();function Af(){return Ee.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function $i(t,e){if(Af()<e)throw new RangeError("Invalid typed array length");return Ee.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=Ee.prototype):(t===null&&(t=new Ee(e)),t.length=e),t}function Ee(t,e,r){if(!Ee.TYPED_ARRAY_SUPPORT&&!(this instanceof Ee))return new Ee(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return $g(this,t)}return Kw(this,t,e,r)}Ee.poolSize=8192;Ee._augment=function(t){return t.__proto__=Ee.prototype,t};function Kw(t,e,r,n){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?Xq(t,e,r,n):typeof e=="string"?$q(t,e,r):ej(t,e)}Ee.from=function(t,e,r){return Kw(null,t,e,r)};Ee.TYPED_ARRAY_SUPPORT&&(Ee.prototype.__proto__=Uint8Array.prototype,Ee.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&Ee[Symbol.species]);function Zw(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function Zq(t,e,r,n){return Zw(e),e<=0?$i(t,e):r!==void 0?typeof n=="string"?$i(t,e).fill(r,n):$i(t,e).fill(r):$i(t,e)}Ee.alloc=function(t,e,r){return Zq(null,t,e,r)};function $g(t,e){if(Zw(e),t=$i(t,e<0?0:Xg(e)|0),!Ee.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}Ee.allocUnsafe=function(t){return $g(null,t)};Ee.allocUnsafeSlow=function(t){return $g(null,t)};function $q(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!Ee.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=$w(e,r)|0;t=$i(t,n);var i=t.write(e,r);return i!==n&&(t=t.slice(0,i)),t}function d2(t,e){var r=e.length<0?0:Xg(e.length)|0;t=$i(t,r);for(var n=0;n<r;n+=1)t[n]=e[n]&255;return t}function Xq(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return r===void 0&&n===void 0?e=new Uint8Array(e):n===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,n),Ee.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=Ee.prototype):t=d2(t,e),t}function ej(t,e){if(_i(e)){var r=Xg(e.length)|0;return t=$i(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer<"u"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||Ej(e.length)?$i(t,0):d2(t,e);if(e.type==="Buffer"&&Jw(e.data))return d2(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Xg(t){if(t>=Af())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Af().toString(16)+" bytes");return t|0}Ee.isBuffer=Cj;function _i(t){return!!(t!=null&&t._isBuffer)}Ee.compare=function(e,r){if(!_i(e)||!_i(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};Ee.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};Ee.concat=function(e,r){if(!Jw(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return Ee.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=Ee.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(!_i(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(i,a),a+=o.length}return i};function $w(t,e){if(_i(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return f
object-assign
(c) Sindre Sorhus
@license MIT
*/var Kv=Object.getOwnPropertySymbols,gZ=Object.prototype.hasOwnProperty,pZ=Object.prototype.propertyIsEnumerable;function mZ(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function vZ(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(a){return e[a]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var EZ=vZ()?Object.assign:function(t,e){for(var r,n=mZ(t),i,a=1;a<arguments.length;a++){r=Object(arguments[a]);for(var o in r)gZ.call(r,o)&&(n[o]=r[o]);if(Kv){i=Kv(r);for(var s=0;s<i.length;s++)pZ.call(r,i[s])&&(n[i[s]]=r[i[s]])}}return n};const CZ=f0(EZ);var Zb={exports:{}},$b={};/** @license React v0.17.0
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(t){Object.defineProperty(t,"__esModule",{value:!0});var e,r,n,i,a;if(typeof window>"u"||typeof MessageChannel!="function"){var o=null,s=null,u=function(){if(o!==null)try{var ge=t.unstable_now();o(!0,ge),o=null}catch(me){throw setTimeout(u,0),me}},l=Date.now();t.unstable_now=function(){return Date.now()-l},e=function(ge){o!==null?setTimeout(e,0,ge):(o=ge,setTimeout(u,0))},r=function(ge,me){s=setTimeout(ge,me)},n=function(){clearTimeout(s)},i=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,h=window.Date,g=window.setTimeout,p=window.clearTimeout,C=window.requestAnimationFrame,w=window.cancelAnimationFrame;if(typeof console<"u"&&(typeof C!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof w!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),typeof f=="object"&&typeof f.now=="function")t.unstable_now=function(){return f.now()};else{var B=h.now();t.unstable_now=function(){return h.now()-B}}var D=!1,b=null,Q=-1,_=5,y=0;i=function(){return t.unstable_now()>=y},a=function(){},t.unstable_forceFrameRate=function(ge){0>ge||125<ge?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):_=0<ge?Math.floor(1e3/ge):33.33};var M=new MessageChannel,N=M.port2;M.port1.onmessage=function(){if(b!==null){var ge=t.unstable_now();y=ge+_;try{b(!0,ge)?N.postMessage(null):(D=!1,b=null)}catch(me){throw N.postMessage(null),me}}else D=!1},e=function(ge){b=ge,D||(D=!0,N.postMessage(null))},r=function(ge,me){Q=g(function(){ge(t.unstable_now())},me)},n=function(){p(Q),Q=-1}}function P(ge,me){var _e=ge.length;ge.push(me);e:for(;;){var le=Math.floor((_e-1)/2),ie=ge[le];if(ie!==void 0&&0<z(ie,me))ge[le]=me,ge[_e]=ie,_e=le;else break e}}function T(ge){return ge=ge[0],ge===void 0?null:ge}function j(ge){var me=ge[0];if(me!==void 0){var _e=ge.pop();if(_e!==me){ge[0]=_e;e:for(var le=0,ie=ge.length;le<ie;){var J=2*(le+1)-1,$=ge[J],Fe=J+1,Se=ge[Fe];if($!==void 0&&0>z($,_e))Se!==void 0&&0>z(Se,$)?(ge[le]=Se,ge[Fe]=_e,le=Fe):(ge[le]=$,ge[J]=_e,le=J);else if(Se!==void 0&&0>z(Se,_e))ge[le]=Se,ge[Fe]=_e,le=Fe;else break e}}return me}return null}function z(ge,me){var _e=ge.sortIndex-me.sortIndex;return _e!==0?_e:ge.id-me.id}var I=[],R=[],k=1,O=null,H=3,L=!1,G=!1,K=!1;function ae(ge){for(var me=T(R);me!==null;){if(me.callback===null)j(R);else if(me.startTime<=ge)j(R),me.sortIndex=me.expirationTime,P(I,me);else break;me=T(R)}}function q(ge){if(K=!1,ae(ge),!G)if(T(I)!==null)G=!0,e(ne);else{var me=T(R);me!==null&&r(q,me.startTime-ge)}}function ne(ge,me){G=!1,K&&(K=!1,n()),L=!0;var _e=H;try{for(ae(me),O=T(I);O!==null&&(!(O.expirationTime>me)||ge&&!i());){var le=O.callback;if(le!==null){O.callback=null,H=O.priorityLevel;var ie=le(O.expirationTime<=me);me=t.unstable_now(),typeof ie=="function"?O.callback=ie:O===T(I)&&j(I),ae(me)}else j(I);O=T(I)}if(O!==null)var J=!0;else{var $=T(R);$!==null&&r(q,$.startTime-me),J=!1}return J}finally{O=null,H=_e,L=!1}}function oe(ge){switch(ge){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var ue=a;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(ge,me){switch(ge){case 1:case 2:case 3:case 4:case 5:break;default:ge=3}var _e=H;H=ge;try{return me()}finally{H=_e}},t.unstable_next=function(ge){switch(H){case 1:case 2:case 3:var me=3;break;default:me=H}var _e=H;H=me;try{return ge()}finally{H=_e}},t.unstable_scheduleCallback=function(ge,me,_e){var le=t.unstable_now();if(typeof _e=="object"&&_e!==null){var ie=_e.delay;ie=typeof ie=="number"&&0<ie?le+ie:le,_e=typeof _e.timeout=="number"?_e.timeout:oe(ge)}else _e=oe(ge),ie=le;return _e=ie+_e,ge={id:k++,callback:me,priorityLevel:ge,startTime:ie,expirationTime:_e,so
* react-reconciler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(t){t.exports=function e(r){var n=CZ,i=QB,a=BZ;function o(A){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+A,d=1;d<arguments.length;d++)c+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+A+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;s.hasOwnProperty("ReactCurrentDispatcher")||(s.ReactCurrentDispatcher={current:null}),s.hasOwnProperty("ReactCurrentBatchConfig")||(s.ReactCurrentBatchConfig={suspense:null});var u=typeof Symbol=="function"&&Symbol.for,l=u?Symbol.for("react.element"):60103,f=u?Symbol.for("react.portal"):60106,h=u?Symbol.for("react.fragment"):60107,g=u?Symbol.for("react.strict_mode"):60108,p=u?Symbol.for("react.profiler"):60114,C=u?Symbol.for("react.provider"):60109,w=u?Symbol.for("react.context"):60110,B=u?Symbol.for("react.concurrent_mode"):60111,D=u?Symbol.for("react.forward_ref"):60112,b=u?Symbol.for("react.suspense"):60113,Q=u?Symbol.for("react.suspense_list"):60120,_=u?Symbol.for("react.memo"):60115,y=u?Symbol.for("react.lazy"):60116,M=typeof Symbol=="function"&&Symbol.iterator;function N(A){return A===null||typeof A!="object"?null:(A=M&&A[M]||A["@@iterator"],typeof A=="function"?A:null)}function P(A){if(A._status===-1){A._status=0;var c=A._ctor;c=c(),A._result=c,c.then(function(d){A._status===0&&(d=d.default,A._status=1,A._result=d)},function(d){A._status===0&&(A._status=2,A._result=d)})}}function T(A){if(A==null)return null;if(typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case h:return"Fragment";case f:return"Portal";case p:return"Profiler";case g:return"StrictMode";case b:return"Suspense";case Q:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case w:return"Context.Consumer";case C:return"Context.Provider";case D:var c=A.render;return c=c.displayName||c.name||"",A.displayName||(c!==""?"ForwardRef("+c+")":"ForwardRef");case _:return T(A.type);case y:if(A=A._status===1?A._result:null)return T(A)}return null}function j(A){var c=A,d=A;if(A.alternate)for(;c.return;)c=c.return;else{A=c;do c=A,c.effectTag&1026&&(d=c.return),A=c.return;while(A)}return c.tag===3?d:null}function z(A){if(j(A)!==A)throw Error(o(188))}function I(A){var c=A.alternate;if(!c){if(c=j(A),c===null)throw Error(o(188));return c!==A?null:A}for(var d=A,v=c;;){var E=d.return;if(E===null)break;var S=E.alternate;if(S===null){if(v=E.return,v!==null){d=v;continue}break}if(E.child===S.child){for(S=E.child;S;){if(S===d)return z(E),A;if(S===v)return z(E),c;S=S.sibling}throw Error(o(188))}if(d.return!==v.return)d=E,v=S;else{for(var U=!1,Ie=E.child;Ie;){if(Ie===d){U=!0,d=E,v=S;break}if(Ie===v){U=!0,v=E,d=S;break}Ie=Ie.sibling}if(!U){for(Ie=S.child;Ie;){if(Ie===d){U=!0,d=S,v=E;break}if(Ie===v){U=!0,v=S,d=E;break}Ie=Ie.sibling}if(!U)throw Error(o(189))}}if(d.alternate!==v)throw Error(o(190))}if(d.tag!==3)throw Error(o(188));return d.stateNode.current===d?A:c}function R(A){if(A=I(A),!A)return null;for(var c=A;;){if(c.tag===5||c.tag===6)return c;if(c.child)c.child.return=c,c=c.child;else{if(c===A)break;for(;!c.sibling;){if(!c.return||c.return===A)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}}return null}function k(A){if(A=I(A),!A)return null;for(var c=A;;){if(c.tag===5||c.tag===6)return c;if(c.child&&c.tag!==4)c.child.return=c,c=c.child;else{if(c===A)break;for(;!c.sibling;){if(!c.return||c.return===A)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}}return null}var O=r.getPublicInstance,H=r.getRootHostContext,L=r.getChildHostContext,G=r.prepareForCommit,K=r.resetAfterCommit,ae=r.createInstance,q=r.appendInitialChild,ne=r.finalizeInitialChildren,oe=r.prepareUpdate,ue=r.shouldSetTextContent,ge=r.shouldDeprioritizeSubtree,me=r.createTextInstance,_e=r.setTimeout,le=r.clearTimeout,ie=r.noTimeout,J=r.isPrimaryRenderer,$=r.supportsMutation,Fe=r.supportsPersistence,Se=r.supportsHydration,He=r.appendChild,ke=r.appendChildToContainer,et=r.commitTextUpdate,ze=r.commitMount,ce=
in `+(v||"Unknown")+S}c+=d,A=A.return}while(A);return c}var Xr=[],hr=-1;function Mt(A){0>hr||(A.current=Xr[hr],Xr[hr]=null,hr--)}function mt(A,c){hr++,Xr[hr]=A.current,A.current=c}var D0={},$t={current:D0},vt={current:!1},Q0=D0;function E0(A,c){var d=A.type.contextTypes;if(!d)return D0;var v=A.stateNode;if(v&&v.__reactInternalMemoizedUnmaskedChildContext===c)return v.__reactInternalMemoizedMaskedChildContext;var E={},S;for(S in d)E[S]=c[S];return v&&(A=A.stateNode,A.__reactInternalMemoizedUnmaskedChildContext=c,A.__reactInternalMemoizedMaskedChildContext=E),E}function Kt(A){return A=A.childContextTypes,A!=null}function x0(A){Mt(vt),Mt($t)}function dr(A){Mt(vt),Mt($t)}function gr(A,c,d){if($t.current!==D0)throw Error(o(168));mt($t,c),mt(vt,d)}function pr(A,c,d){var v=A.stateNode;if(A=c.childContextTypes,typeof v.getChildContext!="function")return d;v=v.getChildContext();for(var E in v)if(!(E in A))throw Error(o(108,T(c)||"Unknown",E));return n({},d,{},v)}function en(A){var c=A.stateNode;return c=c&&c.__reactInternalMemoizedMergedChildContext||D0,Q0=$t.current,mt($t,c),mt(vt,vt.current),!0}function bn(A,c,d){var v=A.stateNode;if(!v)throw Error(o(169));d?(c=pr(A,c,Q0),v.__reactInternalMemoizedMergedChildContext=c,Mt(vt),Mt($t),mt($t,c)):Mt(vt),mt(vt,d)}var tn=a.unstable_runWithPriority,t0=a.unstable_scheduleCallback,p0=a.unstable_cancelCallback,Z0=a.unstable_shouldYield,nr=a.unstable_requestPaint,$0=a.unstable_now,mr=a.unstable_getCurrentPriorityLevel,Me=a.unstable_ImmediatePriority,Pr=a.unstable_UserBlockingPriority,rn=a.unstable_NormalPriority,ir=a.unstable_LowPriority,nn=a.unstable_IdlePriority,qn={},an=nr!==void 0?nr:function(){},C0=null,ar=null,vr=!1,Bn=$0(),r0=1e4>Bn?$0:function(){return $0()-Bn};function on(){switch(mr()){case Me:return 99;case Pr:return 98;case rn:return 97;case ir:return 96;case nn:return 95;default:throw Error(o(332))}}function oa(A){switch(A){case 99:return Me;case 98:return Pr;case 97:return rn;case 96:return ir;case 95:return nn;default:throw Error(o(332))}}function x(A,c){return A=oa(A),tn(A,c)}function F(A,c,d){return A=oa(A),t0(A,c,d)}function Y(A){return C0===null?(C0=[A],ar=t0(Me,te)):C0.push(A),qn}function W(){if(ar!==null){var A=ar;ar=null,p0(A)}te()}function te(){if(!vr&&C0!==null){vr=!0;var A=0;try{var c=C0;x(99,function(){for(;A<c.length;A++){var d=c[A];do d=d(!0);while(d!==null)}}),C0=null}catch(d){throw C0!==null&&(C0=C0.slice(A+1)),t0(Me,W),d}finally{vr=!1}}}var Ae=3;function pe(A,c,d){return d/=10,1073741821-(((1073741821-A+c/10)/d|0)+1)*d}function ye(A,c){return A===c&&(A!==0||1/A===1/c)||A!==A&&c!==c}var Qe=typeof Object.is=="function"?Object.is:ye,Be=Object.prototype.hasOwnProperty;function Re(A,c){if(Qe(A,c))return!0;if(typeof A!="object"||A===null||typeof c!="object"||c===null)return!1;var d=Object.keys(A),v=Object.keys(c);if(d.length!==v.length)return!1;for(v=0;v<d.length;v++)if(!Be.call(c,d[v])||!Qe(A[d[v]],c[d[v]]))return!1;return!0}function Ue(A,c){if(A&&A.defaultProps){c=n({},c),A=A.defaultProps;for(var d in A)c[d]===void 0&&(c[d]=A[d])}return c}var it={current:null},Pt=null,lt=null,h0=null;function I0(){h0=lt=Pt=null}function Er(A,c){var d=A.type._context;J?(mt(it,d._currentValue),d._currentValue=c):(mt(it,d._currentValue2),d._currentValue2=c)}function X0(A){var c=it.current;Mt(it),A=A.type._context,J?A._currentValue=c:A._currentValue2=c}function jn(A,c){for(;A!==null;){var d=A.alternate;if(A.childExpirationTime<c)A.childExpirationTime=c,d!==null&&d.childExpirationTime<c&&(d.childExpirationTime=c);else if(d!==null&&d.childExpirationTime<c)d.childExpirationTime=c;else break;A=A.return}}function er(A,c){Pt=A,h0=lt=null,A=A.dependencies,A!==null&&A.firstContext!==null&&(A.expirationTime>=c&&($n=!0),A.firstContext=null)}function P0(A,c){if(h0!==A&&c!==!1&&c!==0)if((typeof c!="number"||c===1073741823)&&(h0=A,c=1073741823),c={context:A,observedBits:c,next:null},lt===null){if(Pt===null)throw Error(o(308));lt=c,Pt.dependencies={expirationTime:0,firstContext:c,responders:null}}else lt=lt.next=c;return J?A._currentValue:A._currentValue2}var Cr=!1;function Xa(A){return{baseSt
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`+v0(E))}F0!==D1&&(F0=z5),S=y1(S,E),Ce=v;do{switch(Ce.tag){case 3:U=S,Ce.effectTag|=4096,Ce.expirationTime=c;var ee=G5(Ce,U,c);eo(Ce,ee);break e;case 1:U=S;var he=Ce.type,Ge=Ce.stateNode;if(!(Ce.effectTag&64)&&(typeof he.getDerivedStateFromError=="function"||Ge!==null&&typeof Ge.componentDidCatch=="function"&&(ha===null||!ha.has(Ge)))){Ce.effectTag|=4096,Ce.expirationTime=c;var Ze=H5(Ce,U,c);eo(Ce,Ze);break e}}Ce=Ce.return}while(Ce!==null)}ct=$5(ct)}catch(Ut){c=Ut;continue}break}while(1)}function J5(){var A=ac.current;return ac.current=Xu,A===null?Xu:A}function K5(A,c){A<Li&&2<A&&(Li=A),c!==null&&A<xl&&2<A&&(xl=A,cc=c)}function vc(A){A>_l&&(_l=A)}function hB(){for(;ct!==null;)ct=Z5(ct)}function dB(){for(;ct!==null&&!Z0();)ct=Z5(ct)}function Z5(A){var c=e3(A.alternate,A,br);return A.memoizedProps=A.pendingProps,c===null&&(c=$5(A)),Y5.current=null,c}function $5(A){ct=A;do{var c=ct.alternate;if(A=ct.return,ct.effectTag&2048){if(c=iB(ct),c!==null)return c.effectTag&=2047,c;A!==null&&(A.firstEffect=A.lastEffect=null,A.effectTag|=2048)}else{e:{var d=c;c=ct;var v=br,E=c.pendingProps;switch(c.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:Kt(c.type)&&x0();break;case 3:d0(),dr(),E=c.stateNode,E.pendingContext&&(E.context=E.pendingContext,E.pendingContext=null),(d===null||d.child===null)&&ec(c)&&Xn(c),Ql(c);break;case 5:_0(c);var S=Ur(xn.current);if(v=c.type,d!==null&&c.stateNode!=null)tc(d,c,v,E,S),d.ref!==c.ref&&(c.effectTag|=128);else if(E){if(d=Ur(Ir.current),ec(c)){if(E=c,!Se)throw Error(o(175));d=L0(E.stateNode,E.type,E.memoizedProps,S,d,E),E.updateQueue=d,d=d!==null,d&&Xn(c)}else{var U=ae(v,E,S,d,c);Dl(U,c,!1,!1),c.stateNode=U,ne(U,v,E,S,d)&&Xn(c)}c.ref!==null&&(c.effectTag|=128)}else if(c.stateNode===null)throw Error(o(166));break;case 6:if(d&&c.stateNode!=null)rc(d,c,d.memoizedProps,E);else{if(typeof E!="string"&&c.stateNode===null)throw Error(o(166));if(d=Ur(xn.current),S=Ur(Ir.current),ec(c)){if(d=c,!Se)throw Error(o(176));(d=Or(d.stateNode,d.memoizedProps,d))&&Xn(c)}else c.stateNode=me(E,d,S,c)}break;case 11:break;case 13:if(Mt(Rt),E=c.memoizedState,c.effectTag&64){c.expirationTime=v;break e}E=E!==null,S=!1,d===null?c.memoizedProps.fallback!==void 0&&ec(c):(v=d.memoizedState,S=v!==null,E||v===null||(v=d.child.sibling,v!==null&&(U=c.firstEffect,U!==null?(c.firstEffect=v,v.nextEffect=U):(c.firstEffect=c.lastEffect=v,v.nextEffect=null),v.effectTag=8))),E&&!S&&c.mode&2&&(d===null&&c.memoizedProps.unstable_avoidThisFallback!==!0||Rt.current&1?F0===so&&(F0=sc):((F0===so||F0===sc)&&(F0=lc),_l!==0&&Yr!==null&&(ho(Yr,br),r3(Yr,_l)))),Fe&&E&&(c.effectTag|=4),$&&(E||S)&&(c.effectTag|=4);break;case 7:break;case 8:break;case 12:break;case 4:d0(),Ql(c);break;case 10:X0(c);break;case 9:break;case 14:break;case 17:Kt(c.type)&&x0();break;case 19:if(Mt(Rt),E=c.memoizedState,E===null)break;if(S=(c.effectTag&64)!==0,U=E.rendering,U===null){if(S)nc(E,!1);else if(F0!==so||d!==null&&d.effectTag&64)for(d=c.child;d!==null;){if(U=io(d),U!==null){for(c.effectTag|=64,nc(E,!1),d=U.updateQueue,d!==null&&(c.updateQueue=d,c.effectTag|=4),E.lastEffect===null&&(c.firstEffect=null),c.lastEffect=E.lastEffect,d=v,E=c.child;E!==null;)S=E,v=d,S.effectTag&=2,S.nextEffect=null,S.firstEffect=null,S.lastEffect=null,U=S.alternate,U===null?(S.childExpirationTime=0,S.expirationTime=v,S.child=null,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null):(S.childExpirationTime=U.childExpirationTime,S.expirationTime=U.expirationTime,S.child=U.child,S.memoizedProps=U.memoizedProps,S.memoizedState=U.memoizedState,S.updateQueue=U.updateQueue,v=U.dependencies,S.dependencies=v===null?null:{expirationTime:v.expirationTime,firstContext:v.firstContext,responders:v.responders}),E=E.sibling;mt(Rt,Rt.current&1|2),c=c.child;break e}d=d.sibling}}else{if(!S)if(d=io(U),d!==null){if(c.effectTag|=64,S=!0,d=d.updateQueue,d!==null&&(c.updateQueue=d,c.effectTag|=4),nc(E,!0),E.tail===null&&E.tailMode==="hidden"){c=c.lastEffect=E.lastEf